Dvorak
外觀
From Wikipedia:
- Dvorak 是被 August Dvorak 和 William Dealey 於 1936 申請專利的鍵盤佈局, 和事實標準的 QWERTY 佈局有很大不同. Dvorak 的支持者聲稱這種佈局需要更少的手指運動,可以間很少錯誤率、增加打字速度、減少重複導致的疲勞或就是比 QWERTY 用得舒服。
本文是一個快速參考手冊,可以設置你的鍵盤映射從qwerty轉換到Dvorak.
設置 Dvorak 鍵盤佈局[編輯 | 編輯原始碼]
虛擬終端中的 dvorak 和區域鍵盤被合併成一個鍵盤映射。但是 Xorg 將 dvorak 作為區域鍵盤的變體。
虛擬終端中的 us
Dvorak 鍵盤映射為:
dvorak
, 標準dvorak-l
, 左手佈局dvorak-r
, 右手佈局dvorak-programmer
, 程式設計師 Dvorak
Xorg 的 us
Dvorak 鍵盤映射為:
dvorak
, 標準dvorak-l
, 左手佈局dvorak-r
, 右手佈局dvp
, 程式設計師 Dvorakdvorak-intl
, 國際 Dvorakdvorak-classic
dvorak-alt-intl
下面佈局可以同時在終端和 Xorg 中使用:
dvorak
, 標準 Dvorakdvorak-l
, 左手佈局dvorak-r
, 右手佈局
注意: 終端有單獨的鍵盤映射,但是 Xorg 有
us
佈局變體,需要傳遞給 XkbVariant
變量,參考 Keyboard configuration in Xorg#Setting keyboard layout。國際用户[編輯 | 編輯原始碼]
Franch[編輯 | 編輯原始碼]
法文變體為 Bépo,有單獨的文章介紹。
Swedish[編輯 | 編輯原始碼]
Swedish 用户可以選擇使用 swedish "dvorak 版本",被稱為 svorak,要將 X 切換到 svorak,並不需要從 www.aoeu.info 下載額外文件。
Spanish[編輯 | 編輯原始碼]
要使用西班牙 dvorak 變體,使用 dvorak-es
替換 dvorak
。
在 Xorg 中將 XkbLayout
設置為 es
, XkbVariant
設置為 dvorak
.
United Kingdom[編輯 | 編輯原始碼]
In console, specify dvorak-ukp
(available from dvorak-ukpAUR) instead of dvorak
to use the United Kingdom dvorak variant with ISO/IEC 9995-1 punctuation.
In Xorg, specify gb
as XkbLayout
and dvorakukp
as XkbVariant
.
特定程序的重新綁定[編輯 | 編輯原始碼]
下面是一些以鍵盤為中心程序的重新綁定方式,因為 Dvorak 使用了更多的右側鍵盤,這裏使用 htns
作為主要按鍵.
Vim[編輯 | 編輯原始碼]
~/.vimrc
noremap h <left> noremap t <down> noremap n <up> noremap s <right> noremap l n noremap L N
注意: 這裏 n 表示 n search repeat command,而不是 按鍵 n . See
:help n
如果追求極限配置,請參考 Vim Wiki.
Mutt[編輯 | 編輯原始碼]
~/.config/mutt/muttrc
bind index t next-entry bind index n previous-entry bind index s display-message bind index G last-entry bind index gg first-entry bind pager,attach h exit bind pager t next-line bind pager n previous-line bind pager s view-attachments bind browser h goto-parent bind pager,browser gg top-page bind pager,browser G bottom-page
Less[編輯 | 編輯原始碼]
~/.lesskey
t forw-line n back-line l repeat-search L reverse-search
需要運行 lesskey
之後才能生效。
Zathura[編輯 | 編輯原始碼]
~/.config/zathura/zathurarc
map h scroll left map t scroll down map n scroll up map s scroll right map l search forward map L search backward
Qutebrowser[編輯 | 編輯原始碼]
~/.config/qutebrowser/config.py
config.bind('h', 'scroll left') config.bind('t', 'scroll down') config.bind('n', 'scroll up') config.bind('s', 'scroll right') config.bind('H', 'back') config.bind('T', 'tab-prev') config.bind('N', 'tab-next') config.bind('S', 'forward') config.bind('l', 'search-next') config.bind('L', 'search-prev') config.bind('e', 'hint all')