apart form using i3wm to navigate windows and spaces (i can’t imagine my life without this, read more here), i get frustrated when apps overlook keyboard shortcuts. i usually switch to alternatives if they’re not available.
but some apps do implement to the core. here are my favorite ones.
vim
most of the time to edit text quicky, i use vim. i’m not advance in it, but i do find myself using some keybindings every now and then.
- basic
hjkl
navigation I
andA
to move to beginning and end of linegg
andG
to move to beginning and end of filew
andb
to move forward and backward word- combinations of
v
to select line, block of text, etc - using
%y
to yank whole file
vscode
there are lot of keybindings i use in vscode. here are few i can think of at the moment.
- tab switching with
opt + number
ctrl + b
to toggle sidebarctrl + shift + e
for explorerctrl + shift + f
for searchctrl + shift + g
for git viewctrl + \
to split editor
for cumbersome git commands, i’ve got aliases in fish like gp
, gc
, etc but while i’m working in editor, i use these neat keybindings:
ctrl+g p
to pushctrl+g shift+p
to pullctrl+g c
to checkoutctrl+g l
to stash pop latestctrl+g s
to stashctrl+g space
to commitctrl+g u
to undo commit
and lot more. check out my dotfiles.
firefox
similar to vscode, firefox too have similar keybindings.
- switching tabs with
opt + number
ctrl + b
to toggle bookmarks sidebarctrl + t
to open new tabctrl + shift + t
to get back last closed tabctrl + l
for quick searchctrl + shift + r
to hard reloadopt + left/right
to go back and forward
vlc
when i’m listening to audio book or watching a movie in vlc, these keybindings are super handy to adjust playback.
left/right
to jump just 10 secs backctrl + left/right
to jump 10 mins backup/down
to adjust volume]/[
to adjust speedctrl + l
to toggle playlist
end note
thank you to all devs for devoting your time to make keyboard shortcuts and make apps more accessible.
you have my utmost respect.