Vim常用命令案例记录
-
Run bash(e.g. ls) in vim
:!ls -
Window's movement
Ctrl-w + h/j/k/lmove the cursor to the left, below, above, or right window respectivelyCtrl-w + ←/↓/↑/→jusk like last item
- Compare diff of two text
vimdiff <(echo "str1") <(echo "str2")

浙公网安备 33010602011771号