In some of the codes(not c/c++). The first column of each line
is reserved as signal mark.
For example.
..
# If 1= 2 then
2 a = 2
1 else
# b =2;
..
How can I only show the lines with first column as '#' in vim?
I know vim has folding feature. But it may be helpful?
Thanks.
n**m 发帖数: 255
2
got it myself
Still a question here. I get put the first set into vimrc. However about
the 2nd one. the '#' can be any character, and I don't want to type the
whole line every time.
Can I mapping some shortcut for 2nd set? thanks