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

查看:20
本文介绍了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?

鼓励解释!

推荐答案

我用的比较多的一个common 推荐键绑定:

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'
  • 下一个窗口 -also- 'N'
  • 交换窗口 -also- '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天全站免登陆