KevinSilvester / wezterm-config

My WezTerm Config
MIT License
434 stars 127 forks source link
lua wezterm wezterm-config

My WezTerm Config

Stargazers Issues Build

screenshot


Features


Getting Started

 

 


All Key Bindings

Most of the key bindings revolve around a SUPER and SUPER_REV(super reversed) keys.

To avoid confusion when switching between different OS and to avoid conflicting
with OS's built-in keyboard shortcuts.

Miscellaneous/Useful

Keys Action
F1 ActivateCopyMode
F2 ActivateCommandPalette
F3 ShowLauncher
F4 ShowLauncher (tabs only)
F5 ShowLauncher (workspaces only)
F11 ToggleFullScreen
F12 ShowDebugOverlay
SUPER+f Search Text
SUPER_REV+u Open URL

 

Copy+Paste

Keys Action
Ctrl+Shift+c Copy to Clipboard
Ctrl+Shift+v Paste from Clipboard

 

Cursor Movements

Keys Action
SUPER+LeftArrow Move cursor to Line Start
SUPER+RightArrow Move cursor to Line End
SUPER+Backspace Clear Line (does not work in PowerShell or cmd)

 

Tabs

Tabs: Spawn+Close
Keys Action
SUPER+t SpawnTab (DefaultDomain)
SUPER_REV+f SpawnTab (WSL:Ubuntu)
SUPER_REV+w CloseCurrentTab
Tabs: Navigation
Keys Action
SUPER+[ Next Tab
SUPER+] Previous Tab
SUPER_REV+[ Move Tab Left
SUPER_REV+] Move Tab Right
Tabs: Title
Keys Action
SUPER+9 Toggle tab bar
Tabs: Toggle Tab-bar
Keys Action
SUPER+0 Rename Current Tab
SUPER_REV+0 Undo Rename

 

Windows

Keys Action
SUPER+n SpawnWindow
SUPER+= Increase Window Size
SUPER+- Decrease Window Size

 

Panes

Panes: Split Panes
Keys Action
SUPER+\ SplitVertical (CurrentPaneDomain)
SUPER_REV+\ SplitHorizontal (CurrentPaneDomain)
Panes: Zoom+Close Pane
Keys Action
SUPER+Enter TogglePaneZoomState
SUPER+w CloseCurrentPane
Panes: Navigation
Keys Action
SUPER_REV+k Move to Pane (Up)
SUPER_REV+j Move to Pane (Down)
SUPER_REV+h Move to Pane (Left)
SUPER_REV+l Move to Pane (Right)
SUPER_REV+p Swap with selected Pane
Panes: Scroll Pane
Keys Action
SUPER+u Scroll Lines up 5 lines
SUPER+d Scroll Lines down 5 lines
PageUp Scroll Page up
PageDown Scroll Page down

 

Background Images

Keys Action
SUPER+/ Select Random Image
SUPER+, Cycle to next Image
SUPER+. Cycle to previous Image
SUPER_REV+/ Fuzzy select Image
SUPER+b Toggle background focus mode

 

Key Tables

See: https://wezfurlong.org/wezterm/config/key-tables.html

Keys Action
LEADER+f resize_font
LEADER+p resize_pane
Key Table: resize_font
Keys Action
k IncreaseFontSize
j DecreaseFontSize
r ResetFontSize
q PopKeyTable (exit)
Esc PopKeyTable (exit)
Key Table: resize_pane
Keys Action
k AdjustPaneSize (Direction: Up)
j AdjustPaneSize (Direction: Down)
h AdjustPaneSize (Direction: Left)
l AdjustPaneSize (Direction: Right)
q PopKeyTable (exit)
Esc PopKeyTable (exit)

References/Inspirations