diff --git a/.vimrc b/.vimrc index fd26b34..dc43bf5 100644 --- a/.vimrc +++ b/.vimrc @@ -208,7 +208,7 @@ map wp VimwikiPrevWord map ]b :call OpenInFirefox() "make displaying tags easy -nmap t :Tlist +nmap t :TlistToo "aswell minibufexplorer "map b :TMiniBufExplorer "eclim Buffer shortcut @@ -220,7 +220,7 @@ nmap ,cn :silent call CopyFileName(1) nmap ,cs :silent call CopyFileName(0) "FuzzyFinder plugin. Keys for file fuf -map :FufFile **/ +map :TlistToo!:FufFile **/ " }}} " FUNCTIONS: usefull functions for all of th files {{{ "Sessions diff --git a/plugin/taglisttoo.vim b/plugin/taglisttoo.vim index c820ed4..e85089b 100644 --- a/plugin/taglisttoo.vim +++ b/plugin/taglisttoo.vim @@ -92,7 +92,12 @@ endif " Command Declarations {{{ if !exists(":Tlist") && !exists(":TlistToo") - command TlistToo :call s:Taglist() + "command TlistToo :call s:Taglist() + "I want to have possibility to explicit close the taglist by passing bang to + "the command. gryf + command! -bang -nargs=? TlistToo :call s:Taglist(-1) + "And also have a command for explicit close + command! TlistTooOpen :call s:Taglist(1) endif " }}}