vim: fix ,u; re-add shift-tab
This commit is contained in:
8
vimrc
8
vimrc
@@ -297,9 +297,9 @@ noremap <C-G> 2<C-G>
|
|||||||
" endif
|
" endif
|
||||||
|
|
||||||
" Re-source and edit vimrc, respectively
|
" Re-source and edit vimrc, respectively
|
||||||
nnoremap ,u :source <C-R>=vimrc<CR><CR>
|
nnoremap ,u :source $MYVIMRC<CR>
|
||||||
" nnoremap ,v :edit <C-R>=vimrc<CR><CR>
|
nnoremap ,v :edit $MYVIMRC<CR>
|
||||||
nnoremap ,v :vsplit $MYVIMRC<CR>
|
" nnoremap ,v :vsplit $MYVIMRC<CR>
|
||||||
|
|
||||||
nn ,s :mks! Session.vim<CR>
|
nn ,s :mks! Session.vim<CR>
|
||||||
|
|
||||||
@@ -571,6 +571,8 @@ endif
|
|||||||
" <Tab> and <S-Tab> indent and unindent code
|
" <Tab> and <S-Tab> indent and unindent code
|
||||||
nmap <Tab> :><CR>
|
nmap <Tab> :><CR>
|
||||||
vmap <Tab> :><CR>
|
vmap <Tab> :><CR>
|
||||||
|
nmap <S-Tab> :<<CR>
|
||||||
|
vmap <S-Tab> :<<CR>
|
||||||
nnoremap <leader>f :Ag <C-R>=expand("<cword>")<CR><CR>
|
nnoremap <leader>f :Ag <C-R>=expand("<cword>")<CR><CR>
|
||||||
|
|
||||||
" these "Ctrl mappings" work well when Caps Lock is mapped to Ctrl
|
" these "Ctrl mappings" work well when Caps Lock is mapped to Ctrl
|
||||||
|
|||||||
Reference in New Issue
Block a user