vim - Fix keymapping conflict
authorPeng Li <seudut@gmail.com>
Thu, 30 Jun 2016 12:24:49 +0000 (20:24 +0800)
committerPeng Li <seudut@gmail.com>
Thu, 30 Jun 2016 12:24:49 +0000 (20:24 +0800)
vim/vimrc

index f9aa421..b8277b3 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -376,8 +376,9 @@ endfunction
 "endif
 " }}}
 " NerdTree ---------------------------------------------------------------- {{{
 "endif
 " }}}
 " NerdTree ---------------------------------------------------------------- {{{
-" TODO check if this is already using in plugins
-"nmap <Leader>n        :NERDTreeToggle<CR>
+" Fix keymapping conflict
+nmap <unique> <Leader>, <Plug>MarkClear
+nmap <Leader>n :NERDTreeToggle<CR>
 nmap <Leader>N :NERDTreeFind<CR>
 " }}}
 " AutoClose --------------------------------------------------------------- {{{
 nmap <Leader>N :NERDTreeFind<CR>
 " }}}
 " AutoClose --------------------------------------------------------------- {{{