Vim 快捷键的英语助记符 [英] English mnemonics to Vim's shortcuts

查看:25
本文介绍了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: append
  • b: beginning (of current or previous word)
  • c: change
  • d: delete
  • e: 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 for jkl)
  • i: insert
  • j: down
  • k: up
  • l: right
  • m: mark
  • n: next (occurrence of last search)
  • o: open (new line below current line)
  • p: put (paste)
  • q: quote? (record a macro in given register)
  • r: replace
  • s: substitute
  • t: toward (next given character on current line)
  • u: undo
  • v: (enter) visual mode
  • w: (next) word
  • x: x-out (delete a single character)
  • y: yank
  • z: fold (it's visual, it looks like a folded sheet of paper)

这篇关于Vim 快捷键的英语助记符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆