vimdiff
a powerful file comparison tool (edit two or three versions of a file with Vim and show differences)
Two important window commands to close windows while performing vimdiff on multiple files. (Also applicable when you open multiple files using :split or :vsplit)
ctrl-w c - Close this window
ctrl-w o - close all Other windows (mnemonic - Only)
Two of vimdiff important commands:
do - (diff-obtain) obtain differences from other window into this one
dp - (diff-put) push differences in current window to the other window
Dedicated to all BASH newbies and Linux one liner lovers. Useful AWK,SED,BASH one liners.
Tuesday, July 7, 2009
Close all windows in vimdiff - vi tip
Labels:
Bash,
bash shell newbie,
vi editor tips,
vi handy commands,
VIM,
vimdiff
Subscribe to:
Post Comments (Atom)
© Jadu Saikia http://unstableme.blogspot.com


0 comments:
Post a Comment