diff --git a/vimrc b/vimrc index 42a159c..6bc5183 100644 --- a/vimrc +++ b/vimrc @@ -377,6 +377,8 @@ vnoremap p "_dP " Use Marked.app to preview Markdown files... nnoremap pp :silent !open -a Marked.app '%:p' +" Switch between C++ source and header files +map v :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp, "//////////////////////////////////////////////////////////////// " MULTIPURPOSE TAB KEY