vim


  • Shortcut key for right click mouse to insert copied content

     Shift + Insert


  •     How to searach a line begin with a number end with 970 space?

   "/^[0-9].*970 " and enter, don't forget the . before *!!



  • Search across line?

Search patterns that contains szeroext in two consecutive lines:
zeroext.*\(\_s.*\)\{0,3\}\_szeroext.*

Search pattern across lines like:
... szeroext...
... szeroext...
.... rem...
zeroext.*\(\_s.*\)\{0,1\}\_szeroext.*\_s.*rem.*




  • Set vim to show lines?

:set number

Comments

Popular posts from this blog

gdb

Unix/Linux