From e23c30462a7ff7b4c07738b2008c00640715e589 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Mon, 7 Nov 2022 15:07:59 -0500 Subject: [PATCH] Use proper key aliases in mappings. --- vim/after/syntax/cplusplus.vim | 1 + vim/vimrc.keymaps | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vim/after/syntax/cplusplus.vim b/vim/after/syntax/cplusplus.vim index 68eb392..f3b2cd4 100644 --- a/vim/after/syntax/cplusplus.vim +++ b/vim/after/syntax/cplusplus.vim @@ -3,6 +3,7 @@ if exists("b:current_syntax") endif syn include @cxxInDoxygen syntax/cpp.vim +syn include @cxxInComment syntax/cpp.vim unlet b:current_syntax diff --git a/vim/vimrc.keymaps b/vim/vimrc.keymaps index f1ac587..ad9939f 100644 --- a/vim/vimrc.keymaps +++ b/vim/vimrc.keymaps @@ -9,8 +9,8 @@ map Y y$ map zz zM -map [2~ :cp -map [3~ :cn +map :cp +map :cn "map _ :1,$!/opt/local/bin/clang-format-mp-3.9 -style=file :1,$!/opt/local/bin/uncrustify -q -lCPP -c ~/adamformat/adam.format.cfg map _ :1,$!uncrustify -q -lCPP -c ~/adamformat/adam.format.cfg