Current setup:
- OS: Arch Linux
- Window Manager: dwm
- Shell: zsh
- Terminal: alacritty
- Terminal Multiplexer: tmux
- Editor: neovim
- Browser: firefox
- Music player: ncmpcpp + mopidy
- Mail: neomutt
- Chat: weechat + bitblee (IRC+XMPP+Twitter+Telegram) + weechat-matrix (Matrix)
- dwm
cmd+1,2,3,4,5,6,7,8,9
- switch tags/workspacecmd+Shift+1,2,3,4,5,6,7,8,9
- move window to selected workspacescmd+tab
- Switch to last used workspace (and back)cmd+period
- switch to right monitorcmd+comma
- switch to left monitorcmd+Shift+period
- switch to right monitorcmd+Shift+comma
- switch to left monitorcmd+space
- Launcher (rofi)cmd+enter
- Put window in focus/master areacmd+Shift+enter
- New terminalcmd+j|k
- cycle window focuscmd+l|h
- resize master windowcmd+s
- toggle stickycmd+Shift+backspace
- Quit dwm (auto restarts)cmd+Escape
- Lockcmd+Shift+Escape
- Suspend- Layouts:
cmd+t
- Switch to tiling layoutcmd+m
- Monocle layoutcmd+apostrophe
- cycle layoutscmd+Shift+apostrophe
- toggle floating
- Timetracker:
cmd+slash
- Timetrackercmd+Shift+slash
- Timetracker 15 minutes backcmd+Ctrl+Shift+slash
- Timetracker 60 minutes back
- tmux
alt+left/right/up/down
- Switch panealt+pageup/pagedown
- Switch windowctrl+a
(prefix)(number)
- Switch windowc
- New window"
- New pane (horizontal split)%
- New pane (vertical split)ctrl+a
- Switch to last window (and back);
- Switch to last pane (and back)space
- Switch pane layout (cycles through a few), good for turning vertical panes horizontal and vice versa,
- Rename window/
- Flip/swapx
- Kill panez
- zoom pane!
- Break pane (to its own window)l
- Clear historyr
- reloadv
- copy mode- VI bindings (v,y,w,/,hjkl etc..)
P
- paste bufferY
- copy existing buffer to X clipboard and~/.vbuf
I
- Paste from~/.vbuf
(mnemonic: Insert from vim)O
- Paste from X clipboardW
- Swap windowQ
- Swap paneM
- Move pane (to another window or tmux)F
- Fingers mode
- vim
- leader is space or comma
- fzf - fuzzy matcher
- type
:Maps
to see all custom keymaps and search ctrl-p
or,o
- git filesctrl-f
or,O
- all filesctrl-m
- marksctrl-b
or,b
- buffersctrl-g
- git commits,n
- lines (buffer),N
- lines (all),r
- tags
- type
- buffers
,=
orctrl-right
- next,-
orctrl-left
- previous,1
- buffer 1, etc..,,
- last buffer<space><space>
- last buffer,e
- reload current buffer,x
- close current buffer,E
- reload all buffers
- building
F4
- Build and preview (syncronously) (tex, markdown); pip install . (python)F5
- Build and preview (asyncronously) (tex, markdown); pip install . (python)
- git (tpope/fugitive)
F9
- CommitF10
- Push
- documentation/navigation
,K
- keyword documentation,ga
- Goto assignment (jedi/python),gd
- Goto definition (jedi/python),gu
- Show usages (places where it is used) (jedi/python)
- editing
,_
- strip trailing whitespace- tpope/surround.vim
cs
XY - change surround tag X to Y (understand XML tags too)ds
X - delete surround tag X
- visual mode
,s
- sort
- copy/paste
,y
- yank selection (to ~/.vbuf and X clipboard),p
- paste,P
- paste before
- toggle plugins
,t
- Toggle tagbar,f
- Toggle file browser (nerdTree),ig
- Toggle Indentation Guidesga
- show (unicode) character information
- coc.nvim
K
- documentation,d
- open diagnostic window,c
- next diagnostic,C
- previous diagnosticgd
- goto definitiongy
- goto type definitiongi
- goto implementationgr
- goto references,a
- codeaction on selection,F
- (re)format
- miscellaneous
,L
- Lost where you are in a file? Show a context clue
- weechat
ctrl+s
orctrl+u
- Set unread marker on all windowsctrl+n
- Switch to next bufferctrl+p
- Switch to previous bufferalt+a
- Switch to buffer with activityalt+0..9
- Switch to bufferF9/F10
- Scroll buffer titleF11/F12
- Scroll nick listctrl+r
- Search- Enter,
ctrl+j
,ctrl+m
- Stop search
- Enter,
alt+=
- Disabled filters (hide/join) (alt+-
for current buffer)/filter add irc_smart * irc_smart_filter *
- Smart hide/join/filter
alt+t
- Toggle nick list/key bind meta-t /bar toggle nicklist
/mob
- Mobile layout/desk
- Desktop layout
- sxiv
ctrl+x
and:e
- Edit in the Gimpr
- Rotate 90 degrees clockwiseR
- Rotate 90 degrees clockwised
- Delete (asks confirmation)n
- Copy to nettmpt
- Copy to shared/transferT
- Copy to /tmp