Hi Dwigt,
On Wed, 25 Dec 2013 11:24:52 -0800 (PST)
DwigtArmyOfChampions <dwightarmyofchampions@hotmail.com> wrote:
> So many tutorials tell me how to record a macro and how to run it. But
> nowhere does it say what I'm supposed to do with them. I don't understand
> what kinds of commands usually get recorded in macros? What are some examples
> of really good, efficient, time-saving macros?
>
well, this may be the "If you have to ask what Jazz is, you'll never know"
syndrome, but I'll try anyway. Some of the macros I use are:
1.
map <F8> :cn<CR>
map <F7> :cp<CR>
This is for moving to next or previous results in the quickfix window, where I
find the Vim built-in commands tedious, and am much more comfortable pressing a
single key
2. http://quicktask.aaronbieber.com/ makes a convenient use of macros.
3. I have:
map <C-W><C-Right> <C-W><Right>
map <C-W><C-Left> <C-W><Left>
to fix a constant annoyance.
4. I also have «map <F6> <ESC>:Ack -ai <C-R><C-W> t2 lib<CR>
»
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Selina Mandrake - The Slayer (Buffy parody) - http://shlom.in/selina
An apple a day will keep Chuck Norris away. But not for long.
— http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
--
--
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/groups/opt_out.
Wednesday, December 25, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment