vim: tidy vimrc remaps
This commit is contained in:
12
vimrc
12
vimrc
@@ -337,21 +337,13 @@ noremap <C-G> 2<C-G>
|
||||
|
||||
" ===================================================================
|
||||
" VIM - Editing and updating the vimrc:
|
||||
" As I often make changes to this file I use these commands
|
||||
" to start editing it and also update it:
|
||||
" Redundant - replaced by $MYVIMRC
|
||||
" if has("unix")
|
||||
" let vimrc='~/.vimrc'
|
||||
" else
|
||||
" " ie: if has("dos16") || has("dos32") || has("win32")
|
||||
" let vimrc='$VIM\_vimrc'
|
||||
" endif
|
||||
|
||||
" Re-source and edit vimrc, respectively
|
||||
nnoremap ,u :source $MYVIMRC<CR>
|
||||
nnoremap ,v :edit $MYVIMRC<CR>
|
||||
" nnoremap ,v :vsplit $MYVIMRC<CR>
|
||||
nnoremap ,v :vsplit $MYVIMRC<CR>
|
||||
nnoremap ,i :PlugInstall<CR>
|
||||
|
||||
|
||||
nn ,s :mks! Session.vim<CR>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user