Vim 快捷键的英语助记符 [英] English mnemonics to Vim's shortcuts
本文介绍了Vim 快捷键的英语助记符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我意识到 Vim 的主要作者是荷兰人,所以我也会满足于这些.我很感兴趣,Vim 的控制键"在英语中有对应的吗?您知道,Ctrl-O 表示打开,Ctrl-N 表示新建等等.
I realize that Vim's main author is Dutch, so I'll settle for those as well. I'm interested, do Vim's "control keys" have equivalents in the english language? You know, Ctrl-O for Open, Ctrl-N for New and so on.
Vim 的一些控制键"可以被赋予一些含义
Some of Vim's "control keys" could be assigned some meanings
(a) append / (i) insert
(w) word / b (back one word)
这些只是我想到的那些.
These are just those that I thought off the top of my head.
它们都有意义吗(:e ?)
Do they all have some meaning (:e ?)
如果我知道它们有什么意义,我会更容易记住它们;它们不仅仅是随机使用的密钥.
推荐答案
普通模式:
a
:追加b
:开始(当前或前一个词)c
:改变d
:删除e
:结束(当前词)f
:查找(当前行的下一个给定字符)g
:go(用作许多命令的领导者")h
:左(仅在 vi 的作者使用的键盘上有意义,对于jkl
也是如此)i
:插入j
:向下k
:向上l
:对m
:标记n
:下一个(上次搜索的出现次数)o
:打开(当前行下方的新行)p
:放置(粘贴)q
:报价?(在给定的寄存器中记录一个宏)r
:替换s
:替代t
:朝向(当前行的下一个给定字符)u
:撤销v
:(进入)视觉模式w
:(下一个)词x
:x-out(删除单个字符)y
:猛拉z
:折叠(它是视觉的,看起来像一张折叠的纸)
a
: appendb
: beginning (of current or previous word)c
: changed
: deletee
: end (of current word)f
: find (next given character on current line)g
: go (used as "leader" for many commands)h
: left (only makes sense on the keyboard used by vi's author, same forjkl
)i
: insertj
: downk
: upl
: rightm
: markn
: next (occurrence of last search)o
: open (new line below current line)p
: put (paste)q
: quote? (record a macro in given register)r
: replaces
: substitutet
: toward (next given character on current line)u
: undov
: (enter) visual modew
: (next) wordx
: x-out (delete a single character)y
: yankz
: fold (it's visual, it looks like a folded sheet of paper)
这篇关于Vim 快捷键的英语助记符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文