vim-macros Questions
2
Solved
I'm using evil-mode, after moving over from Vim about a year ago. I've made a number of customisations, but not yet worked out how to save vim-style keyboard macros.
I can define and run them in e...
Another asked 2/4, 2014 at 16:7
2
Solved
I know how to repeat the last command in Vim. I use ..
But how can I repeat the last macro? It's a little non-comfortable to press @q everytime I want to repeat it.
I tried with . but it just rep...
Sciolism asked 26/12, 2013 at 13:44
1
Sometimes when my vim macros become too long, there are small mistakes. But without being able to execute the macro step by step, it's really hard to find the problem.
Is there a possibility to st...
Strictly asked 14/8, 2014 at 21:16
2
Solved
In a VIM macro, how are the conditional actions handled?
if condition is true
do this
else
do something else
Basic example
File content:
_
abcdefg
The macro will do:
G^
if letter is one...
Schizophyceous asked 6/6, 2014 at 16:33
4
Solved
I have a file with a bunch of lines. I have recorded a macro that performs an operation on a single line. I want to repeat that macro on all of the remaining lines in the file. Is there a quick way...
Pontianak asked 23/12, 2008 at 21:51
15
Solved
I have just installed Ctags (to help with C++ development) with my Vim (or rather gVim), and would like to find out your favorite commands, macros, shortcuts, tips that go along with it......
Backstay asked 19/2, 2009 at 1:37
3
Solved
Sometimes I need to insert some similar lines in a file which differ only in a sequence number. For example,
print "func 1";
print "func 2";
print "func 3";
print "func 4";
print "func 5";
Using...
Scansion asked 21/10, 2010 at 6:48
1
© 2022 - 2024 — McMap. All rights reserved.