非英语键盘vim用户轻松键入 [英] Easy typing for non-english keyboards vim users

查看:66
本文介绍了非英语键盘vim用户轻松键入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在英式或美式键盘中,很容易键入 \ / [] 等键只有一个按键.对于非英语键盘,通常是不一样的.

In English or US keyboards keys like \, /, [ and ] are very easily typed with only one key stroke. Usually is not the same for non-english keyboards.

是否有一种方法可以使这些类型的键盘具有相同的打字简便性?
如果是mapping keys的问题,可以请您明确地进行说明吗? (欢迎使用西班牙版式示例)

Is there a way to achieve the same easiness of typing for these type of keyboards?
If it is a matter of mapping keys can you please put clear instructions to do it? (Spanish layout example is welcome)

编辑:非常欢迎使用不同语言的示例!

EDIT: Examples by distinct languages are very welcome!

推荐答案

我已经在评论中提出了一些建议.现在,就简单的映射而言,对于普通模式,您始终可以对主键进行简单的重新映射.

I've suggested something already in the comments. Now, as far as simple mappings go, for normal mode you can always do the simple remapping of main keys.

nnoremap : >>
nnoremap ; >>

例如,为了缩进(我在这里使用克罗地亚语键盘布局...在<>字符所在的位置,我有;: ...我确定您了解这个例子).您可以类似地用括号,方括号或任何其他必需字符来重新映射所有本地字符.

for example, for indent (I'm on Croatian keyboard layout here ... where the < and > characters are, I have ; and : ... I'm sure you understand the example). You can analogly remap all your local characters with parenthesis, brackets or any other essential characters.

这篇关于非英语键盘vim用户轻松键入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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