Open file to edit with vim at desire line
November 9th, 2006 Posted in Text Manipulation, vim | Hits: 21083 | 5 Comments »
You know that you can open a file with the desire line the curser will stop at
for example, when you get some error message say the code have error at line 3 of file text1,
you can use the +
to specify you curser starting point.
vim text1 +3







November 9th, 2006 at 7:11 pm
Wow! great tips! Its really helps the software developer while tracing or debugging the source code.
November 10th, 2006 at 10:22 pm
Alternatively, you can call
:make
from within vim. Then scroll to next error/warning with
:cn
and look at the error/warning message with
:cc
or jump back to previous error/warning with
:cp
November 19th, 2006 at 7:51 pm
[...] Refers back to Open file to edit with vim at desire line, here is another short tips of vim. [...]
February 10th, 2007 at 1:22 pm
[...] If you have search for vim tips at here, you may remember to go to the desire line while opening file with vim is like this [...]
November 15th, 2011 at 3:27 am
hi: i am trying to install openfiler on VMwork station, and my IP is “192.168.2.114″, i set my openfiler IP as “192.168.2.123″ (which is available) but when i ping it , i got reply from “192.168.2.114″ saying destination-host-unreachable. why is that?
my gateway is “192.168.2.1″.
i pinged “192.168.2.114″, no problems,
i pinged “192.168.2.1″, no problems.
but when i ping “192.168.2.123″, i got reply from” 192.168.2.114″ saying service unreachable .
my gateway is “192.168.2.1″.
i pinged “192.168.2.114″, no problems,
i pinged “192.168.2.1″, no problems.
but when i ping “192.168.2.123″, i got reply from” 192.168.2.114″ saying service unreachable .
my gateway is “192.168.2.1″.
i pinged “192.168.2.114″, no problems,
i pinged “192.168.2.1″, no problems.
but when i ping “192.168.2.123″, i got reply from” 192.168.2.114″ saying service unreachable .