Closed mckellyln closed 6 years ago
Isn't this already provided? I.e., t
on a file entry opens it in a new tab?
Hi. Yes 't' works - but I have other plugins that open things in tabs with C-t and so I wanted to do the same. I can go thru the plugin code to add this, but I was wondering if there was a configuration change I could make in my .vimrc to get this more simply. thx again
Short of writing a whole bunch of logic to support configurable key maps, you might want to consider setting let g:filebeagle_buffer_legacy_key_maps=1
in your .vimrc
. This will give you the C-T
mapping you want, but comes at the cost of overturning the entire key mapping scheme with it (basically, it more or less follows NERDTree rather than more or less Ctrl-P).
I decided to add this line to the plugin:
nmap <buffer> <silent> <C-t> <Plug>(FileBeagleBufferTabVisitTarget)
I'll just have to merge it into updates manually Thx again for your work.
Closing
Hi, Thank you for filebeagle, it is great. Is it possible, as a configuration option, to add to filebeagle for opening file in a new tab (just like 't') ?
But do this mapping only in filebeagle windows ?
Or would I have to edit the .vim plugin/autoload ?
thank you,
mark