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

placeholder mapping

2014-10-23 Thread Josef Fortier
Does vim provide a placeholder key mapping construct, i.e. one that cannot be invoked from the keyboard? Something like nnoremap cannot_be_pressed[KEY] [STOCK_MAPPING] It's probably not clear why I'm asking. I was trying to add ]c [c mappings for non-diff files without stepping on the

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

Re: How to set vim to not display filename info when saving

2014-10-23 Thread Romel Khan
Here is what is happening: different users are actually running a program called myedit. So user are running say 'myedit file1'. The myedit program is actually running vim in it and editing a different file file2. People who run myedit edits the file using normal vi commands thinking they are

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

Re: How to set vim to not display filename info when saving

2014-10-23 Thread Christian Brabandt
Hi Romel, (please don't top poste) On Do, 23 Okt 2014, Romel Khan wrote: Here is what is happening: different users are actually running a program called myedit. So user are running say 'myedit file1'. The myedit program is actually running vim in it and editing a different file file2.

Re: Focus returns to Vim's taglist window every time I execute the GDB `next` command in Conque GDB window

2014-10-23 Thread Andreas Lynge
Den lørdag den 27. september 2014 22.40.53 UTC+2 skrev Lone Learner: I'll walk you through all the steps I used to install required software and setup my Vim with tagist and Conque GDB plugins and then explain my issue. ### What I installed ... I had Vim installed already. I