[vim]indent in .vimrc is now all 8spaces

This commit is contained in:
Mathieu Maret 2015-02-27 16:38:02 +01:00 committed by Mathieu Maret
parent 6ec7ecf12d
commit 534d9217cb

4
.vimrc
View File

@ -2,7 +2,8 @@
" SHORTCUTS " " SHORTCUTS "
""""""""""""" """""""""""""
" F1 help " F1 help
" F2 open file " F2 open file in a new tab
" S-F2 Split and open file
" F3 autotags Update " F3 autotags Update
" S-F3 autotags Add " S-F3 autotags Add
" F4 open include file " F4 open include file
@ -294,6 +295,7 @@ endif
if has("autocmd") if has("autocmd")
autocmd QuickFixCmdPost * cw autocmd QuickFixCmdPost * cw
endif endif
" open a file in the same directory as the current file with F2 and split with shift+F2 " open a file in the same directory as the current file with F2 and split with shift+F2
map <F2> :tabe <C-R>=expand("%:h") . "/"<CR> map <F2> :tabe <C-R>=expand("%:h") . "/"<CR>
nmap <S-F2> :split <C-R>=expand("%:h") . "/"<CR> nmap <S-F2> :split <C-R>=expand("%:h") . "/"<CR>