2023-12-07 04:04:03 +03:00
# Navigation.
Navigation principles are shared between Gnome, Tmux and Nvim. The only difference is the *"Leader"* key. Gnome uses *Super* key, Tmux uses *Meta (alt)* key and Nvim uses *Space* . The rest somewhat repeats itself.
## Gnome
Key|Action
---|---
`Super+Esc` |Lauch Terminal emulator.
`Super+q` |Switch to the left workspace.
`Super+e` |Switch to the right workspace.
`Super+Q` |Move window to the left workspace.
`Super+E` |Move window to the right workspace.
`Super+w` |Toggle window maximize.
`Super+s` |Minimize window.
`Super+a` |Snap window to the left.
`Super+d` |Snap window to the right.
`Super+z` |Lock session.
2023-12-28 20:39:23 +03:00
`Super+Z` |Power off.
2023-12-07 04:04:03 +03:00
`Super+x` |Close window.
`Super+c` |Minimize all windows.
`Super+v` |Take a screenshot.
`Super+f` |Toggle window fullscreen.
2023-12-14 00:13:26 +03:00
`Super+\\` |None.
`Super+-` |None.
`Super+=` |None.
`Super+h` |None.
`Super+j` |None.
`Super+k` |None.
`Super+l` |None.
2024-01-06 05:39:21 +03:00
`Super+p` |None.
`Super+n` |None.
2024-01-23 15:55:40 +03:00
`Super+g` |None.
`Super+9` |None.
`Super+0` |None.
2023-12-07 04:04:03 +03:00
## Tmux.
Key|Action
---|---
`Meta+Esc` , `Meta+t` |New window. `Meta+t` is for the Termux Android app as it can't send the `Meta+Esc` combo.
`Meta+q` |Switch to the left window.
`Meta+e` |Switch to the right window.
`Meta+Q` |Move window to the left.
`Meta+E` |Move window to the right.
`Meta+w` |Switch to the above split.
`Meta+s` |Switch to the below split.
`Meta+a` |Switch to the left split.
`Meta+d` |Switch to the right split.
`Meta+z` |Detach from session.
2023-12-28 20:39:23 +03:00
`Meta+Z` |Detach all other clients from session.
2023-12-07 04:04:03 +03:00
`Meta+x` |Close window.
2023-12-28 20:39:23 +03:00
`Meta+x` |Close all other windows.
2023-12-07 04:04:03 +03:00
`Meta+c` |Close split.
2023-12-28 20:39:23 +03:00
`Meta+c` |Close all other splits.
2023-12-07 04:04:03 +03:00
`Meta+v` |Visual selection. `y` to copy.
`Meta+f` |None.
2023-12-14 00:13:26 +03:00
`Meta+\\` |Split vertically.
`Meta+-` |Split horizontally.
`Meta+=` |Equalize splits.
`Meta+h` |Resize split to the left.
`Meta+j` |Resize split to the down.
`Meta+k` |Resize split to the up.
`Meta+l` |Resize split to the right.
2024-01-06 05:39:21 +03:00
`Meta+p` |Scroll up.
`Meta+n` |Scroll down.
2024-01-23 15:55:40 +03:00
`Meta+g` |Switch sessions.
`Meta+9` |Switch to the previous session.
`Meta+0` |Switch to the next session.
2023-12-07 04:04:03 +03:00
## Nvim.
Key|Action
---|---
`Space+Esc` |None.
`Space+q` |Switch to the left buffer.
`Space+e` |Switch to the right buffer.
`Space+Q` |Move buffer to the left.
`Space+E` |Move buffer to the right.
`Space+w` |Switch to the above split.
`Space+s` |Switch to the below split.
`Space+a` |Switch to the left split.
`Space+d` |Switch to the right split.
`Space+z` |Save all and exit.
`Space+x` |Close buffer.
`Space+c` |Close split.
`Space+v` |Visual selection (or just default `v` ).
`Space+f` |None.
2023-12-14 00:13:26 +03:00
`Space+\|` |Split vertically.
`Space+-` |Split horizontally.
`Space+=` |Equalize splits.
`Space+h` |Resize split to the left.
`Space+j` |Resize split to the down.
`Space+k` |Resize split to the up.
`Space+l` |Resize split to the right.
2024-01-06 05:39:21 +03:00
`Space+p` |None.
`Space+n` |None.
2024-01-23 15:55:40 +03:00
`Space+g` |None.
`Space+9` |None.
`Space+0` |None.
2023-12-07 04:04:03 +03:00
2023-12-17 23:54:49 +03:00
More info in [Nvim doc. ](Nvim.md )