Quantcast
Channel: Shortcut to open file in Vim - Stack Overflow
Browsing all 20 articles
Browse latest View live

Answer by Samantha for Shortcut to open file in Vim

In GVIM, The file can be browsed using open / read / write dialog;:browse {command}{command} - open / read / writeopen - Opens the fileread - Appends the filewrite - SaveAs dialog

View Article



Answer by Wonil for Shortcut to open file in Vim

With Exuberant ctags, you can create tag files with file information:ctags --extra=+f -R *Then, open file from VIM with :tag filenameYou can also use <tab> to autocomplete file name.

View Article

Answer by Alexey for Shortcut to open file in Vim

Consider using CtrlP plug-in.It is included in Janus Distributive.Allows you to find files in the current directory, open buffers or most recently used files using "fuzzy matching" or regular expression.

View Article

Answer by bronson for Shortcut to open file in Vim

There's also command-t which I find to be the best of the bunch (and I've tried them all). It's a minor hassle to install it but, once it's installed, it's a dream to...

View Article

Answer by mattwarren for Shortcut to open file in Vim

:find is another option.I open vim from the root of my project and have the path set to there.Then, I can open files located anywhere in the tree using::find **/filena< tab >Tab will autocomplete...

View Article


Answer by Nathan Fellman for Shortcut to open file in Vim

This isn't exactly what you're looking for, but it's good in many cases (though not all). If you VIM open and there's a name of a file in the buffer, you can put the cursor on that filename and type...

View Article

Answer by Ethan for Shortcut to open file in Vim

I installed FuzzyFinder. However, the limitation is that it only finds files in the current dir. One workaround to that is to add FuzzyFinderTextmate. However, based on the docs and commentary, that...

View Article

Answer by Naseer for Shortcut to open file in Vim

FuzzyFinder has been mentioned, however I love the textmate like behaviour of the FuzzyFinderTextmate plugin which extends the behaviour to include all subdirs.Make sure you are using version 2.16 of...

View Article


Answer by dkretz for Shortcut to open file in Vim

What I normally do is e . (e-space-dot) which gives me a browsable current directory - then I can / - search for name fragments, just like finding a word in a text file. I find that generally good...

View Article


Answer by Luc Hermitte for Shortcut to open file in Vim

I know three plugins that permit to open files, support auto-completion, and don't require to enter the full path name of the file(s) to open (as long as the files are under one of the directories from...

View Article

Answer by Himadri Choudhury for Shortcut to open file in Vim

I use a couple of shortcuts in my .vimrc file (exact syntax below).They are based on the fact that in 90% of the cases, I want to open another file in the same directory as the file that I am currently...

View Article

Answer by rampion for Shortcut to open file in Vim

If you're editing files in a common directory, you can :cd to that directory, then use :e on just the filename.For example, rather than::e...

View Article

Answer by Rook for Shortcut to open file in Vim

you can use (set wildmenu)you can use tab to autocomplete filenamesyou can also use matching, for example :e p*.dat or something like that (like in old' dos)you could also :browse confirm e (for a...

View Article


Answer by f3lix for Shortcut to open file in Vim

I recently fell in love with fuzzyfinder.vim... :-):FuzzyFinderFile will let you open files by typing partial names or patterns.

View Article

Answer by Paul Tomblin for Shortcut to open file in Vim

If you've got tags (and you should), you can open a file from the command line just by the name of the class or method or c function, with "vim -t DBPlaylist", and within vim with ":tag ShowList".

View Article


Answer by alex2k8 for Shortcut to open file in Vim

I like the :FuzzyFinderTextMate (or Ctrl+F) on my setup.See http://weblog.jamisbuck.org/2008/10/10/coming-home-to-vim

View Article

Answer by strager for Shortcut to open file in Vim

You can search for a file in the current path by using **::tabe **/header.hHit tab to see various completions if there is more than one match.

View Article


Answer by Ian P for Shortcut to open file in Vim

unless I'm missing something, :e filename is the fastest way I've found.You can use tab to autocomplete the filename as well.

View Article

Answer by dirkgently for Shortcut to open file in Vim

Use tabs, they work when inputting file paths in vim escape mode!

View Article

Shortcut to open file in Vim

I want to open a file in Vim like in Eclipse using Ctrl+Shift+R, or via the Ctrl+N option of autofill. Invoke a keyboard shortcut, type the file name/pattern, and choose from all the matching files...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images