Using Vim as a Diff Tool command vim -d file1.txt file2.txt or vimdiff file1.txt file2.txt Switching Between Diff Windows: Ctrl-w + Ctrl-w Changing Split Window Orientation ctrl-w + K key combination to change …
1 minute
Using Vim as a Diff Tool command vim -d file1.txt file2.txt or vimdiff file1.txt file2.txt Switching Between Diff Windows: Ctrl-w + Ctrl-w Changing Split Window Orientation ctrl-w + K key combination to change …
Vim Tips - Edit Remote Files With Vim On Linux Edit remote files with Vim on Linux $ vim scp://sk@192.168.225.22/info.txt user@remotesystem:port (E.g. sk@192.168.225.22) Single slash (/) - If you want to edit …
vimrc Configuration Guide :set nu Show line numbers: useful for debugging. :set ai Auto-indent: if the previous line has two tab widths, pressing Enter keeps those two tab widths on the next line. :set …