1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 19:40:29 +01:00

Small fix for annoying interfering taglisttoo window with opening file via FufFile

This commit is contained in:
2010-05-04 20:16:09 +02:00
parent 598bdab32c
commit ea245563e7
2 changed files with 8 additions and 3 deletions

4
.vimrc
View File

@@ -208,7 +208,7 @@ map <Leader>wp <Plug>VimwikiPrevWord
map ]b :call OpenInFirefox()<cr>
"make displaying tags easy
nmap <Leader>t :Tlist<CR>
nmap <Leader>t :TlistToo<CR>
"aswell minibufexplorer
"map <Leader>b :TMiniBufExplorer<CR><CR>
"eclim Buffer shortcut
@@ -220,7 +220,7 @@ nmap ,cn :silent call <SID>CopyFileName(1)<CR>
nmap ,cs :silent call <SID>CopyFileName(0)<CR>
"FuzzyFinder plugin. Keys for file fuf
map <C-F> :FufFile **/<CR>
map <C-F> :TlistToo!<CR>:FufFile **/<CR>
" }}}
" FUNCTIONS: usefull functions for all of th files {{{
"Sessions

View File

@@ -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(<bang>-1)
"And also have a command for explicit close
command! TlistTooOpen :call s:Taglist(1)
endif
" }}}