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:
4
.vimrc
4
.vimrc
@@ -208,7 +208,7 @@ map <Leader>wp <Plug>VimwikiPrevWord
|
|||||||
map ]b :call OpenInFirefox()<cr>
|
map ]b :call OpenInFirefox()<cr>
|
||||||
|
|
||||||
"make displaying tags easy
|
"make displaying tags easy
|
||||||
nmap <Leader>t :Tlist<CR>
|
nmap <Leader>t :TlistToo<CR>
|
||||||
"aswell minibufexplorer
|
"aswell minibufexplorer
|
||||||
"map <Leader>b :TMiniBufExplorer<CR><CR>
|
"map <Leader>b :TMiniBufExplorer<CR><CR>
|
||||||
"eclim Buffer shortcut
|
"eclim Buffer shortcut
|
||||||
@@ -220,7 +220,7 @@ nmap ,cn :silent call <SID>CopyFileName(1)<CR>
|
|||||||
nmap ,cs :silent call <SID>CopyFileName(0)<CR>
|
nmap ,cs :silent call <SID>CopyFileName(0)<CR>
|
||||||
|
|
||||||
"FuzzyFinder plugin. Keys for file fuf
|
"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 {{{
|
" FUNCTIONS: usefull functions for all of th files {{{
|
||||||
"Sessions
|
"Sessions
|
||||||
|
|||||||
@@ -92,7 +92,12 @@ endif
|
|||||||
|
|
||||||
" Command Declarations {{{
|
" Command Declarations {{{
|
||||||
if !exists(":Tlist") && !exists(":TlistToo")
|
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
|
endif
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user