vi/vim hints (was: RE: [olug] Unix Tip: STOP ASKING QUESTIONS)
Daniel G. Linder
dlinder at iprevolution.com
Tue Mar 25 16:14:06 UTC 2003
andrew [mailto:olug at einer.org] wrote:
> My (current) favorite vim-ism:
> ctrl-w v
> splits window vertically
> ctrl-w [l | h]
> switches to the left or right pane
On a related note, most distributions have "vimdiff", a very nice vi based editor that uses the above split screen to view two files side-by-side and highlight the differences. Handy when needing to manually copy changes from one config file to another...
Dan
More information about the OLUG
mailing list