Thursday, October 23, 2014

Re: shortcuts for long filenames

On Thursday, October 23, 2014 9:06:50 AM UTC-5, Tim Chase wrote:
>
> A couple ideas in addition to Jürgen's good suggestions:
>
> - you can use tab-completion, so you could type
>
> :e /v<tab>/www/h<tab>/si<tab>/all/m<tab>/jq<tab>
>
> or something like that
>

To expand on this: recursive directory search in tab completion!

:e /var/**/modules/jq<tab>

Or, add a path to Vim, and use ":find" (which also has tab completion):

:set path+=/var/www/html/sites/all/modules
:find jq<tab>

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: