Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim - command - T

I have made the move from TextMate to VIM. I can not use macvim, policy at work does not allow me to install it. I have tried installing command-t to give me "go to file" functionality. However as I am using VIM with the osx terminal, when I press command-t it opens a new tab.

I have now decided to try FuzzyFinder but can not figure out how to search across a directory recursively for a file with it, could anyone show me how to go to a file like command-t but using FuzzyFinder. :-/

like image 309
RailsSon Avatar asked Jul 26 '26 16:07

RailsSon


2 Answers

Command-T describes its intended use inside MacVim. If you want to use it inside terminal Vim, use the default binding <Leader>t (by default, <Leader> is the backslash key). You can remap this in your Vim config if you'd rather use a modifier key binding.

like image 199
Lucas Willett Avatar answered Jul 28 '26 04:07

Lucas Willett


Fuzzy finder is not under active development. You're way better off with the awesome Command-t. The problem is terminal Vim does support it because terminal Vim needs to be built with Ruby support. It's fairly straightforward to build Vim from source to enable this.

http://brilliantcorners.org/2011/02/building-vim-on-osx-snow-leopard/

Guide for Snow Leopard but works for Lion too. You'll need to have XCode installed, not just the GCC compiler.

like image 22
Tim Fletcher Avatar answered Jul 28 '26 06:07

Tim Fletcher



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!