I would like to do the following with the Command-T plugin for VIM: Make opening files be in a new tab by default, instead of having to hit CTRL-T when a file is selected. I would like [Enter] to open the selected file in a new tab. I can't find anything in the options about this behavior.
You can add this to your .vimrc file to avoid editing the controller.rb file.
let g:CommandTAcceptSelectionMap = '<C-t>'
let g:CommandTAcceptSelectionTabMap = '<CR>'
This basically switches the two mappings so that Enter opens the selected file in a tab and CTRL-T opens in the same tab.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With