由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - A display question for VIM
相关主题
A question about show diff on vim请问VIM在SSH里面能用不同的颜色highlight syntax
How to do that using "sort" command?请教如何在两个打开VIM的SSH窗口之间拷贝文本。
Re: Vim on win32: How to change bg color ??水木清华开了个VIM版
Help, Simple stupid Vi questionkey map in solaris
where can I find VIM UNIX to install如何在Soalris 7里装VIM?
问一个土问题Strange font rendering in gVIM 7.3 in Unix?
在solaris下编译VIM失败an unixquestions, Please help!
Wim Mac (or Win) startup problemDisplay line number in EMACS??????
相关话题的讨论汇总
话题: vim话题: column话题: question话题: display话题: first
进入Unix版参与讨论
1 (共1页)
n**m
发帖数: 255
1
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
1 (共1页)
进入Unix版参与讨论
相关主题
Display line number in EMACS??????where can I find VIM UNIX to install
shell programming problems问一个土问题
how to print the last 2 columns of a text file?在solaris下编译VIM失败
sort problemWim Mac (or Win) startup problem
A question about show diff on vim请问VIM在SSH里面能用不同的颜色highlight syntax
How to do that using "sort" command?请教如何在两个打开VIM的SSH窗口之间拷贝文本。
Re: Vim on win32: How to change bg color ??水木清华开了个VIM版
Help, Simple stupid Vi questionkey map in solaris
相关话题的讨论汇总
话题: vim话题: column话题: question话题: display话题: first