Add a way to switch between cpp source and header file
This commit is contained in:
parent
bce6381ea7
commit
cfe9eb1707
2
vimrc
2
vimrc
|
@ -377,6 +377,8 @@ vnoremap p "_dP
|
||||||
" Use Marked.app to preview Markdown files...
|
" Use Marked.app to preview Markdown files...
|
||||||
nnoremap <leader>pp :silent !open -a Marked.app '%:p'<cr>
|
nnoremap <leader>pp :silent !open -a Marked.app '%:p'<cr>
|
||||||
|
|
||||||
|
" Switch between C++ source and header files
|
||||||
|
map <leader>v :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp,<CR>
|
||||||
|
|
||||||
"////////////////////////////////////////////////////////////////
|
"////////////////////////////////////////////////////////////////
|
||||||
" MULTIPURPOSE TAB KEY
|
" MULTIPURPOSE TAB KEY
|
||||||
|
|
Loading…
Reference in New Issue
Block a user