我的 vim 帮助
vim 手册笔记, vimrc 配置
sanjiaowuhuan
这个作者很懒,什么都没留下…
展开
-
第二十四章 Inserting quickly
usr_24 Inserting quickly24.1 Making corrections# delete a wordctrl-w# delete linectrl-u24.2 Showing matches:set showmatch :set matchtime24.3 Completionctrl-pctrl-noptionscompleteignorecaseinfercaseCOMPLETING SPECIFIC ITEMS C原创 2020-12-30 20:04:00 · 131 阅读 · 0 评论 -
第十章 Making big changes
usr_09 Using the GUII don’t want to use guiusr_10 Making big changes10.1 Record and playback commandsThe “.” command repeats the preceding change.recordingThe “q{register}” command starts recording keystrokes into the register named {register}.T原创 2020-12-24 23:45:14 · 129 阅读 · 0 评论 -
第八章 Splitting windows
usr_08 Splitting windows08.1 Split a windowopen a new window:splitclose the window:closeclosing all other windows:only08.2 Split a window on another fileopens a second window and starts editing the given file::split two.copen a wind原创 2020-12-24 16:02:31 · 160 阅读 · 1 评论 -
第七章 Editing more than one file
usr_07 Editing more than one file07.1 Edit another file:edit foo.txt07.2 A list of filesvim one.c two.c three.c:next:wnextWHERE AM I? :argsMOVING TO OTHER ARGUMENTS :previous :wprevious :last :first原创 2020-12-24 06:43:55 · 106 阅读 · 0 评论 -
第六章 Using syntax highlighting
usr_06 Using syntax highlighting06.1 Switching it on:syntax enable原创 2020-12-23 16:36:19 · 121 阅读 · 2 评论 -
第五章 Set your settings
usr_05 Set your settings05.1 The Vimrc fileedit vimrc file:edit $MYVIMRCThe “:version” command mentions the name of the “user vimrc file”.~/.vimrcThe vimrc file contain all the commands that you type after a colon.set incsearch05.2 The example v原创 2020-12-22 18:01:58 · 229 阅读 · 0 评论 -
我自己的 tmux-cheatsheet
tmux 使用教程基本使用启动与退出启动tmux退出exitCtrl+d前缀键Ctrl+b, 所有快捷键都要通过前缀键唤起。Ctrl+b ? or tmux list-keys 帮助esc 或 q 退出帮助会话管理新建会话tmux new -s 新建会话并起名分离会话Ctrl+b dtmux detach 当前会话与窗口分离tmux ls 查看当前所有的Tmux会话tmux list-session or Ctrl+b s 也能列出所有会话原创 2020-11-30 13:07:57 · 169 阅读 · 0 评论 -
第四章 Making small changes
usr_04 Making small changes04.1 Operators and motionsTo err is human. To really foul up you need a computer. ~ ------------------> d4w To err is human. you need a computer. ~ --------> d2e To err is human.原创 2020-12-21 12:52:00 · 185 阅读 · 0 评论 -
vim 用户手册第三章 moving around
usr_03 Moving around03.1 Word movementThis is a line with example text --->-->->-----------------> w w w 3w This is a line with example text <----<--<-<---------<--- b b b 2b b This is a line w原创 2020-12-20 04:41:54 · 397 阅读 · 2 评论 -
我自己的 vimrc 配置
我自己 vimrc 配置" 行号set nu" 背景为黑色set bg=dark" 取消搜索高亮set nohls" 颜色方案为 desertcolorscheme desert" 自动格式化选项,选项意思自己 :help fo-tableset formatoptions=tcqmM" 映射回车为空白行nmap <CR> o<Esc>" 下面5行为为方便一键缩进 gg=G ,set smartindentset tabstop=4set shiftw原创 2020-11-29 18:33:37 · 164 阅读 · 0 评论 -
vim用户手册第一二章
usr_01usr_01.1 Two manualsThe User manualThe Reference manualJUMPING AROUNDPress CTRL-] to jump to a subject under the cursor.Press CTRL-O to jump back.usr_01.2 Vim installedif you start Vim now , the ‘compatible’ option should be off.:!cp -i $V原创 2020-12-08 22:30:03 · 120 阅读 · 0 评论