Vim Advanced - Day 6
- 2020-3-3
- C-n In the native Vim, we can use this shortcut to achieve keyword completion. But in the VSCodeVim the behavior is something different because completion is the killer feature equipped with VSCode that you don't need to type any extra keys to open completion window. So C-n here means toggling cursor among all available candidates.
- The Vim supports
scp
protocol and you can usevim scp://aliyun/Downloads/app.js
to editapp.js
file under~/Downloads
directory in your remotealiyun
machine. - Local Bookmarks Management
:marks [a-zA-Z]
List all bookmarks (or specified bookmarks only)- m+a-z Create a local bookmark
- m+A-Z Create a global bookmark
- `+a-zA-Z Jump to the bookmark
- '+a-zA-Z Jump to the bookmark (stop at the beginning of your bookmarked line)
Ref: Why I love Vim: It’s the lesser-known features that make it so amazing