Copy and Paste with vim-nox

If you use a non-clipboard enabled vim

( it is not enabled if “:echo has('clipboard') returns 0 )

edit this file:

/etc/vim/vimrc.local

and add this:

"" disable special mouse handling
au BufReadPost,BufNewFile * set mouse=

Here is a sample vimrc.local file with other useful options:

"" disable special mouse handling
au BufReadPost,BufNewFile * set mouse=
"" enable syntax highlighting
syntax on
"" Show (partial) command in status line.
set showcmd
"" Show matching brackets.
set showmatch
"" Do case insensitive matching
set ignorecase
"" Do smart case matching
set smartcase
"" Incremental search
set incsearch
"" Highlight search
set hlsearch
"" default colorscheme
colorscheme desert