Vim Dvorak键盘绑定(重新绑定:) [英] Vim Dvorak keybindings (rebindings :)

查看:100
本文介绍了Vim Dvorak键盘绑定(重新绑定:)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管我之前曾玩过它,但我终于开始使用 Dvorak(简体)经常.我与Vim保持稳定的关系已有好几年了,我正在尝试找出重新映射键绑定以适合我的新Dvorak技能的最佳方法.

Although I played with it before, I'm finally starting to use Dvorak (Simplified) regularly. I've been in a steady relationship with Vim for several years now, and I'm trying to figure out the best way to remap the key bindings to suit my newfound Dvorak skills.

如何重新映射Vim的键绑定以使其与Dvorak最佳配合?

How do you remap Vim's key bindings to best work with Dvorak?

鼓励解释!

推荐答案

我使用了更多的常见建议之一按键绑定:

Dvorak it!
no d h
no h j
no t k
no n l
no s :
no S :
no j d
no l n
no L N
Added benefits
no - $
no _ ^
no N <C-w><C-w>
no T <C-w><C-r>
no H 8<Down>
no T 8<Up>
no D <C-w><C-r>

移动键位于同一位置.其他更改:

Movement keys stay in the same location. Other changes:

  • 删除'd'->垃圾'j'
  • 下一个'n'->看'l'
  • 上一个'N'->回头'L'

为熟悉起见,还进行了一些更改,'s'/'S'可用于访问命令模式(:的旧位置,该位置仍然有效).

There were also some changes for familiarity, 's'/'S' can be used to access command mode (the old location of the :, which still works).

附加利益

  • 行尾'$'-也-'-'
  • 行'^'-也-'_'
  • 的开头
  • 上移8个"T"
  • 下移8个"H"
  • 下一个窗口<C-w><C-w>-还-'N'
  • 交换窗口<C-w><C-r>-还-'D'
  • End of line '$' -also- '-'
  • Beginning of line '^' -also- '_'
  • Move up 8 'T'
  • Move down 8 'H'
  • Next window <C-w><C-w> -also- 'N'
  • Swap windows <C-w><C-r> -also- 'D'

-亚当

这篇关于Vim Dvorak键盘绑定(重新绑定:)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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