default keybindings request thread
aaronjanse opened this issue · comments
Aaron Janse commented
default keybindings request thread
Arjun Vikram commented
Suggestion: add i3-like Alt+H and Alt+V to turn a terminal into a container and set it's split direction.
Aaron Janse commented
That's a good idea. Unless there are any objections, I'll include that in v1.0
Pavel Kolesnikov commented
(Also very subjective, but) In my practice of using i3wm I've found next hotkeys very useful:
HOTKEY | FUNCTION | NOTES |
---|---|---|
<MOD> |
Win key | This key is universally found on dominant number of keyboards; almost never shadows any hotkeys not on Windows... |
<MOD>+Enter |
Launch new terminal, splitting by current orientation | Default split orientation is vertical line |
<MOD>+Escape |
Kill focused panel | Better then ALT+F4 (which is hard to press with one hand). ❓ should it be possible to kill last panel? |
<MOD>+<Arrow> |
Move focus in <Arrow> direction |
|
<MOD>+Shift+<Arrow> |
Move currently focused pane in <Arrow> direction |
(optional crazy idea: make new pane behind if there is no panes ahead, effectively work like split 😆) |
<MOD>+<Number> |
Switch to screen <Number> |
Will make the screen if necessary; Press same <MOD>+<Number> to return to previous screen, effectively works as quick switch between screens |
<MOD>+Shift+<Number> |
Move focused pane to screen <Number> |
Do not switch to that screen. |
<MOD>+R |
Enter RESIZE mode | Key events are not transmitted to apps inside panes |
Escape |
Exit active RESIZE mode | Will not trigger Escape behavior inside the focused pane. |
<MOD>+ <Arrow> |
Move <Arrow> -side edge in <Arrow> direction |
<Mod>+⬆ will move current pane's top edge up if possible |
<MOD>+Shift+<Arrow> |
Move <Arrow> -side edge in <Arrow> -opposite direction |
<Mod>+Shift+⬆ will move current pane's top edge down if possible |
<MOD>+Shift+R |
Reload configuration | |
<MOD>+V |
Next splits will be by vertical edge | |
<MOD>+H |
Next splits will be by horizontal edge |
Pavel Kolesnikov commented
Also, ALT
key usage is high, so there is high chance of nasty conflicts. Think of F10
interception in Gnome's VTE-based terminals. Midnight Commander
and sisters cries. Or Ctrl-O
of Midnight Commander
--- nano
cries 😭