From 332756282a71d6743f811278fc553de52b591550 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sat, 7 Jun 2008 13:57:02 +1200 Subject: [PATCH] add :ClearAllMarks --- plugin/NERD_tree.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 0d402a9..029af6d 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -2448,6 +2448,7 @@ function! s:BindMappings() command! -buffer -complete=customlist,s:FindMarks -nargs=1 RecallMark :call RecallMark('') command! -buffer -complete=customlist,s:FindMarks -nargs=1 OpenMark :call OpenMark('') command! -buffer -complete=customlist,s:FindMarks -nargs=+ ClearMarks call ClearMarks('') + command! -buffer -nargs=0 ClearAllMarks let t:NERDTreeMarks = {} call RenderView() endfunction "FUNCTION: s:CheckForActivate() {{{2