This commit is contained in:
light 2018-10-23 15:14:18 +08:00
parent 9b26a88098
commit 974c3b91ea

View File

@ -9,7 +9,7 @@ Plugin 'scrooloose/nerdcommenter'
Plugin 'https://github.com/tpope/vim-fugitive.git'
Plugin 'https://github.com/plytophogy/vim-virtualenv.git'
let g:virtualenv_directory = '/home/light/workspace/tens/'
let g:virtualenv_directory = '~/.virtualenv'
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'
@ -180,8 +180,8 @@ set backspace=2
" 允许backspace和光标键跨越行边界
set whichwrap+=<,>,h,l
" 可以在buffer的任何地方使用鼠标类似office中在工作区双击鼠标定位
map <space>ma :set mouse=a<CR>:set nu<CR>
map <space>mc :set mouse=c<CR>:set nu!<CR>
map <space>ma :set mouse=a<CR>:set nu<CR>:set nopaste<CR>
map <space>mc :set mouse=c<CR>:set nu!<CR>:set paste<CR>
set mouse=a
set selection=exclusive
set selectmode=mouse,key