# First, apt install vim-gtk3 vim --version # ensure clipboard feature added, # then copy to system clipboard, "+y # Paste from system clipboard, <Ctrl+R>+ # content of all registers :reg :marks :version :set nocindent :set noexpandtab :set paste # record macro to register a, press q if end qa # replay macro from register a @a # open folder containing current file :Ex # Replace return, space and return chars in a series with one return char, entire file. :%s/\n\ \n/\r/ # In insert mode, # add char like above the cursor <Ctrl+Y> # add char like below the cursor <Ctrl+E> # till after " T" # till before " t" # exchange current window position with others <Ctrl+W>r # or <Ctrl+W>x :all :vertical all :only |
Plugins,
SrcExpl https://www.vim.org/scripts/script.php?script_id=2179 https://github.com/wenlongche/SrcExpl taglist.vim https://www.vim.org/scripts/script.php?script_id=273 https://github.com/yegappan/taglist |
refer to:
https://www.imooc.com/wenda/detail/588162
https://www.cnblogs.com/bwangel23/p/4421957.html
https://blog.csdn.net/Coppa/article/details/108026080