computingFreedom | Build | Picolisp | Picolisp Machine | Pil Sources | Linux | BASH | C-Programmming | Operating Systems | Javascipt | Emacs | vim | Pharo Smalltalk | Computer Security | Python | The Compiler | Identifiers | Literals | storage_linkage | emacs | computing | vim notes

Goto line Vim

You your program crashes on line 282, how do you get there quickly?
If your in the file already use:
method 1
282G
method 2
282gg
method 3
:282<CR>
If you need to open the file on the command line, use:
$ vim +282 file
you can even try
$ vim +/symbolName file
and it will get you to the first place symbolName is found in the file.


  back to vim notes

http:///wiki/?gotolinevim

27jun17   admin