ienter insert mode (escape to exit)insertMode rreload the current tabreloadTab gRreload the current tab + local cachereloadTabUncached ;<*>create mark <*>setMark ''go to last scroll positionlastScrollPosition <C-o>go to previous scroll positionpreviousScrollPosition ...
i enter insert mode (escape to exit) insertMode r reload the current tab reloadTab gR reload the current tab + local cache reloadTabUncached ;<*> create mark <*> setMark '' go to last scroll position lastScrollPosition <C-o> go to previous scroll position previousScrollPosition <C-i>...
i enter insert mode (escape to exit) insertMode r reload the current tab reloadTab gR reload the current tab + local cache reloadTabUncached ;<*> create mark <*> setMark '' go to last scroll position lastScrollPosition <C-o> go to previous scroll position previousScrollPosition <C-i>...
%; NH; M; NL; Ngo; :[range]go[to] [off]; 标记(using tags)(未完成) :ta[g][!] {tag}; :[count]ta[g][!]; CTRL-]; —— jump to the tag under cursor; :ts[elect][!] [tag]; :tj[ump][!] [tag]; :lt[ag][!] [tag]; :tags; N CTRL-T; :[count]po[p][!]; :[...
^ current cursor position # 2. after pressing d$ (no content) Here is ano ^ current cursor position 注意:执行d$后,原光标所在的字符也将被同时删除。 2.3 推广3:大写的D 在Vim中,大写的D,即Shift+D,等效于D$,即删除当前光标及其后面所有的内容(在同一行上) ...
CTRL-o -> 回到上一次的jump (go back) CTRL-i -> 跳回下一个 (go forward) :ju -> 显示所有的可以跳跃的地方 (print jump list) 重做/回复 u -> undo CTRL-r -> redo vim的undo是树结构的,你可以回到这个结构中的任何地方 :undo 2 -> undo 到结构的2层 (undo to tree 2) ...
exmap tabprev obcommand pane-relief:go-prev nmap gT :tabprev " Same as CMD+\ nmap g\ :tabnext 光标跳转到上次编辑的位置 另外一个常用的功能是光标快速回退到上次编辑的位置,在 Obsidian 官方论坛里也有用户提出需求「Hotkey jump to previous caret position」,找到一个很巧妙的实现,nmap g; u<C-r...
5. Now that the line is correct, go on to lesson1.4. NOTE: As you go through this tutor,donot try to memorize, learn by usage. ~~~ Lesson1.4: TEXT EDITING-INSERTION ** Press i to insert text. ** 1. Move the cursor to the first line below...
If you find yourself editing a file that is larger than one screen, you will appreciate the functionality provided bymarks. You can think of a mark invimas a bookmark – once you place it somewhere, you can go back to it quickly and easily. ...
764 #define SEARCH_REV 0x01 /* go in reverse of previous dir. */ 765 #define SEARCH_ECHO 0x02 /* echo the search command and handle options */ 766 #define SEARCH_MSG 0x0c /* give messages (yes, it's not 0x04) */ 767 #define SEARCH_NFMSG 0x08 /* give all messages exce...