vim键盘操作
Thursday, December 13, 2018
12:40 PM
> 行 首 缩 进 CERI—E/-Y : 上 滚 / 下 滚 , ( 4 ) ZZ 保 存 退 屮 , ZQ 不 保 存 退 出 后 跟 字 符 参 数 块 可 视 模 式 (vim only) ( 5 ) zt : 移 动 光 标 所 在 行 至 屏 幕 顶 端 , 可 视 模 式 : b 底 端 , “ : 中 间 w e b 命 令 ( 6 〕 gg : 文 首 (vimonly) , 漫 游 后 对 选 中 的 区 域 执 行 操 作 (vim only) 小 写 ( b ) : 动 河 . 打 廾 光 标 处 的 文 件 名 (vimonly) 大 与 ( B ) : 4 〗 原 图 . 、、飞、、V.、茄emu.com 翻 译 . . (linuxsir 丿” class=”align-none”>![Esc Normal Sept 20" Best ti extern fi vim -a 7,3. version Vim Cheat Sheet for Programmers : http:ffmnvvim.org/scri index.php 2 aest scr den tile r 3 4 & repeat s 7 5 find char 6 8 D del — a append S Subst 9 man page cmd identifier goto CIA Dup Shift t Ctrl-Q - 6 is L end: Code •Exya Register (0-9+zA-Z) Motion act between cursor & dst Command Command and enter insert mode Cursor defines range op Search ( •v = forward) dagg dif's / folding Code h.matting, whitespace, etc, Extended functimality; req. extra chars save r file switch to quit w/o edit file new buffer CmdS in Cur file do cmd list active tags jump to restore cursor before jump Complete m rd manual j'mp to tag before dol.'copy\paste to use register OJI to sßem reg '+' • paste trom system clipboard NLmber before any action repeats it 2P paste twice repeat th rice Repeat op to act on current line Start Of Line O Start of Line S End Of Line copy line line dd del line indent line Char arg req. Nom al Visual Op pen ding Command Line highlight wryds cursry move O % page I e scroll line goto line • move COI •y scroll line Og end or file o end of file ed y goto line 123 edit at tag 'F cmd: find start GUI 12 Ghi fold remove o foZ open 1 all educe g• stal recording stop recording save & quit quit save center cursor Ane in window scro" left scroll top Of tile scroll right gg begin this func ( begin :set oto mtching { ) [ ] find w/ Ba . .all nstances on line apply to file , cur line, cur line lines of • > end allow join lines width for ai toggle lis indent mode 10 open file under under cursor (Dec Hex) # (Dec / Hex) stala •new" search mode next indent • & edit c cpp sh make perl dos or mu then w Convert tab stop every toggle hard/sott tabs toggle whitespace visible right 511 - tilename completion dictionary paste register 8m ken Keys ctrl-I = Tab, Esc is tø ctrL1. etc. last + block comment filename toggle nu toggle linewrap display high lite m atching uncomment Ides file'b next file close n I e ; milch :split mcweto win win SPIN "indo mark a' goto *bal 'A' prev location one of b"](/uploads/projects/wsbo@ekqhd3/1db6bca33836d8becdc436d56e65d2d9.png)
已使用 Microsoft OneNote 2016 创建。
