Keybinds - pwnlog/Minima GitHub Wiki
Keyboard shortcuts for managing BSPWM process:
-
windows/super+alt+q: Quit BSPWM -
windows/super+alt+r: Restart BSPWM -
windows/super+w: Close window -
windows/super+shift+w: Kill window -
windows/super+m: Alternate between tiled and monocle layout -
windows/super+y: Send the newest marked node to the newest preselected node -
windows/super+g: Swap the current node and the biggest window
Launchers for powermenu, programs, and other:
-
alt+shift+x: Activate lockscreen -
windows/super+q: Open rofi powermenu -
windows/super+d: Open rofi to launch programs -
windows/super+enter: Open kitty terminal emulator -
windows/super+ctrl+return: Open qterminal emulator -
windows/super+ctrl+d: Open rofi as sudo
Context menu:
-
alt+right mouse: Open context menu
Focus or swap windows:
-
windows/super+shift+Left,Down,Up,Right: Focus the node in the given direction -
windows/super+shift+h,j,k,l: Focus the node in the given direction -
windows/super+shift+c: Focus the next/previous window in the current desktop -
windows/super+bracket{left,right}: Focus the next/previous desktop in the current monitor -
windows/super+h,l: Focus the next/previous desktop in the current monitor -
windows/super+{grave,Tab}: Focus the last node/desktop -
windows/super+o,i: Focus the older or newer node in the focus history -
windows/super+shift+1-9,0: Focus or send to the given desktop
Change the mode of the windows:
-
windows/super+t: Set tiled layout -
windows/super+s: Set floating layout -
windows/super+f: Set full screen layout -
windows/super+ctrl+m,x,y,z: Set the node flags
Preselect the spawning location of a window:
-
windows/super+ctrl+Left,Down,Up,Right: Preselect left, down, up, right window -
windows/super+ctrl+h,j,k,l: Preselect left, down, up, right window -
windows/super+ctrl+1-9: Preselect the ratio -
windows/super+ctrl+space: Cancel the preselection for the focused node -
windows/super+ctrl+shift+space: Cancel preselection of windows
Move and/or resize a window:
-
windows/super+Left,Down,Up,Right: Move floating window left, down, up, right window -
windows/super+h,j,k,l: Move floating window left, down, up, right window -
windows/super+alt+Left,Down,Up,Right: Resize left, down, up, right window -
windows/super+alt+h,j,k,l: Resize left, down, up, right window
Activate UI features of Minima:
-
alt+windows/super+b: Change clients/windows corners to square or rounded -
alt+windows/super+l: Activate Light theme -
alt+windows/super+d: Activate Dark theme -
alt+windows/super+c: Activate Colorful theme -
alt+windows/super+e: Open wallpaper selector -
alt+windows/super+w: Change wallpapers on the fly -
windows/super+q: Open rofi powermenu
The mapping configuration uses the nvim name shortcuts as:
-
<C>-> Ctrl -
<leader>-> Space -
<A>-> alt -
<S>-> shift
Commands:
-
:w: Write a file -
:q!: Quit a file -
:view: View the file in read-only mode without the ability to change it -
:splitor:sp: Open the file in an horizontal split screen -
:vsplitor:vsp: Open the file in a vertical split screen -
:tabedit: Open the file in a new tab
Open the cheat sheet when in NORMAL mode:
-
space+c+h: Open or close the cheat sheet
Text editor navigation when in NORMAL mode:
-
ctrl+b: Go to the beginning of the line -
ctrl+e: Go to the end of the line -
ctrl+h: Move one character to the left -
ctrl+l: Move one character to the right -
ctrl+j: Go to the next line -
ctrl+k: Go to the previous line
Change the line numbers in a file when in NORMAL mode:
-
space+n: Standard line numbers -
space+r+n: Relative line numbers
Move through tabs when in NORMAL mode:
-
tab: Cycle through the buffers / tabs -
shift+tab: Cycle through the buffers / tabs in reverse order -
space+x: Close a buffer / tab
Terminal tools in Neovim when in NORMAL mode:
-
space+h: Open a terminal in horizontal window -
space+v: Open a terminal in vertical window
Open the file tree when in NORMAL mode:
-
ctrl+n: Open NvimTree to browse files
Find files in your file system when in NORMAL mode:
-
space+ff: Search for files in the system -
space+f+b: Search within opened files/buffers
Theming Neovim current instance when in NORMAL mode:
-
space+t+h: Open the theme selector of NvChad
Text selection in the editor when in VISUAL mode:
-
ctrl+v: Enter the V-BLOC (Visual Block) mode to select and highlight the text -
y: Copy the selected text -
d: Delete the selected text -
p: Pase the selected text when in NORMAL mode
Search in COMMMAND mode:
-
/: Open the search box-
n: Next search match -
?: Previous search match
-
Tmux uses prefix keys to active key bindings:
-
<prefix>= Ctrl + a or Ctrl + b -
<prefix> c= Ctrl + a or Ctrl + b followed by c -
<prefix> C-c= Ctrl + a or Ctrl + b followed by Ctrl + c
Tmux configuration related shortcuts:
-
<prefix> e: Opens the.localcustomization file copy with the editor defined by the$EDITORenvironment variable -
<prefix> r: Reloads the tmux configuration
Tmux history shortcut:
-
C-l: Clears both the screen and the tmux history
Tmux sessions related shortcuts:
-
<prefix> C-c: Creates a new session -
<prefix> C-f: Lets you switch to another session by name
Tmux navigation in windows:
-
<prefix> C-hand<prefix> C-l: Let you navigate windows (default<prefix> nand<prefix> pare unbound
Tmux windows related shortcuts:
-
<prefix> c: Create a new window -
<prefix> x: Close current window -
<prefix> <number>: Move to the window number -
<prefix> ,: Rename current window -
<prefix> Tab: Brings you to the last active window
Tmux split panes:
-
<prefix> -: Splits the current pane vertically -
<prefix> _: Splits the current pane horizontally
Tmux navigate panes:
-
<prefix> h: Navigate left or right -
<prefix> j: Navigate up or down -
<prefix> k: Navigate up or down -
<prefix> l: Navigate left or right
Note: When mouse mode is on, you can navigate the pane with the mouse left-click.
Tmux resize panes:
-
<prefix> H: Resize to left -
<prefix> J: Resize from up to down -
<prefix> K: Resize from down to up -
<prefix> L: Resize to right
Note: When mouse mode is on, you can navigate the pane with the mouse left-click (hold) and drag.
Tmux swap panes:
-
<prefix> <: Swap pane to left -
<prefix> >: Swap pane to right
Tmux pane zoom:
-
<prefix> +: Maximizes the current pane to a new window -
<prefix z: Toggle full screen or minimize current pane
Tmux activate mouse mode:
-
<prefix> m: Toggles mouse mode on or off
Tmux activate copy mode:
-
<prefix> Enter: Enters copy-mode
Copy-paste steps within Tmux:
- Enable copy-mode and then hit
Ctrl+Shift+Cand paste to another terminal withCtrl+Shift+Vor if using a GUI app useCtrl+V
Exit copy-mode:
-
Esc: Hit theEscapekey to exit copy-mode
Tmux scroll mode:
-
prefix [: Activate scroll mode
Note: When mouse mode is on, you can turn on scroll mode by using the mouse wheel.
Exit scroll-mode:
-
Esc: Hit theEscapekey to exit scroll-mode
Tmux buffer related shortcuts:
-
<prefix> b: Lists the paste-buffers -
<prefix> p: Pastes from the top paste-buffer -
<prefix> P: Lets you choose the paste-buffer to paste from