Non-modal keymap for text editors.
- Non-modal editing
- Every shortcut should be available without mode change.
- Every shortcut can be used with a single stroke with modifiers
- Use alt key mainly
- Since every alt key can be pressed with thumbs, prevent RSI...
- Most common shortcuts are not using alt key. Live together with them...!
- Easy to move cursor without moving hands from qwerty area.
- Use
hjkl
for cursor movement, as vim does. - Use
yuio,.<>
, which are near tohjkl
for additional cursor movement.
- Use
- Selection without arrow key
- All cursor movement shortcuts use left alt and right Alphabet keys.
- Just press shift additionaly to select range.
- Inherit common shortcuts
- For example,
C-z
,C-x
,C-c
,C-v
,C-a
,C-f
from common apps. - Palette shortcuts
C-p
andC-S-p
from Atom, VSCode, zed, etc.
- For example,
- Pane shortcuts
- Use
A-\
,A-'
,A-|
for pane toggle.
- Use
See key-list.md
Open each editors and append the contents of keymap file.