Re: shortcuts for long filenames

2014-10-24 Thread Ben Fritz
On Thursday, October 23, 2014 1:02:03 PM UTC-5, B. Elijah Griffin wrote: DwigtArmyOfChampions wrote: Oftentimes I'm opening really long filenames in command mode, for example: :e /var/www/html/sites/all/modules/jqueryui_theme/jqueryui_theme.module Is there a way to create aliases for

shortcuts for long filenames

2014-10-23 Thread DwigtArmyOfChampions
Oftentimes I'm opening really long filenames in command mode, for example: :e /var/www/html/sites/all/modules/jqueryui_theme/jqueryui_theme.module Is there a way to create aliases for this file? Or if not the whole file, how about part of the path, like everything up to and including modules?

Re: shortcuts for long filenames

2014-10-23 Thread Jürgen Krämer
Hi, DwigtArmyOfChampions schrieb am 23.10.2014 um 14:58: Oftentimes I'm opening really long filenames in command mode, for example: :e /var/www/html/sites/all/modules/jqueryui_theme/jqueryui_theme.module Is there a way to create aliases for this file? Or if not the whole file, how about

Re: shortcuts for long filenames

2014-10-23 Thread Tim Chase
On 2014-10-23 05:58, DwigtArmyOfChampions wrote: Oftentimes I'm opening really long filenames in command mode, for example: :e /var/www/html/sites/all/modules/jqueryui_theme/jqueryui_theme.module Is there a way to create aliases for this file? Or if not the whole file, how about part of

Re: shortcuts for long filenames

2014-10-23 Thread DwigtArmyOfChampions
Thanks! These are great! Second question: Is there an easy way to delete a word after pasting that text? Suppose I want to delete modules/. Is there a quick way to do that without deleting each character through backspace? -- -- You received this message from the vim_use maillist. Do not

Re: shortcuts for long filenames

2014-10-23 Thread Jürgen Krämer
Hi, DwigtArmyOfChampions schrieb am 23.10.2014 um 16:24: Thanks! These are great! Second question: Is there an easy way to delete a word after pasting that text? Suppose I want to delete modules/. Is there a quick way to do that without deleting each character through backspace? just

Re: shortcuts for long filenames

2014-10-23 Thread Ben Fritz
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 /vtab/www/htab/sitab/all/mtab/jqtab or something like that To expand on this: recursive directory search

Re: shortcuts for long filenames

2014-10-23 Thread B. Elijah Griffin
DwigtArmyOfChampions wrote: Oftentimes I'm opening really long filenames in command mode, for example: :e /var/www/html/sites/all/modules/jqueryui_theme/jqueryui_theme.module Is there a way to create aliases for this file? Or if not the whole file, how about part of the path, like everything

shortcuts for long filenames

2014-10-23 Thread John Little
You could define an environment variable before you start vim, f.ex. :e $JQ/filename Would also be useful if you have to work in that directory at a shell prompt. Regards, John Little -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text