Keybinds

Filter by:

Tmux

split vertical
Ctrl+b,%
split horizontal
Ctrl+b,"
resize vertical pane
Ctrl+b,Ctrl+Left/Right
Hold Ctrl and arrow keys
resize horizontal pane
Ctrl+b,Ctrl+Up/Down
Hold Ctrl and arrow keys
focus left pane
Ctrl+b,Left
focus right pane
Ctrl+b,Right
focus up pane
Ctrl+b,Up
focus down pane
Ctrl+b,Down
close pane
Ctrl+b,x
create new tab
Ctrl+b,c
Creates new window (tab)
navigate to next tab
Ctrl+b,n
Next window
navigate to previous tab
Ctrl+b,p
Previous window
move pane to new tab
Ctrl+b,!
Break pane into its own window

Neovim

split vertical
Ctrl+w,v
split horizontal
Ctrl+w,s
resize vertical pane
Ctrl+w,</>
Decrease/increase width
resize horizontal pane
Ctrl+w,-/+
Decrease/increase height
focus left pane
Ctrl+w,h
focus right pane
Ctrl+w,l
focus up pane
Ctrl+w,k
focus down pane
Ctrl+w,j
close pane
Ctrl+w,q
Or use :q
create new tab
:tabnew
Or use :tabe filename
navigate to next tab
gt
Or use :tabnext
navigate to previous tab
gT
Or use :tabprevious

Netrw

create new file
%
Press % then type filename and press Enter
create new dir
d
Press d (lowercase) then type directory name and press Enter
rename file
R
Move cursor to file, press R (uppercase), type new name and press Enter
rename dir
R
Move cursor to directory, press R (uppercase), type new name and press Enter
copy file
mf,mt
In netrw buffer: mark file with mf, navigate to destination, paste with mt
copy dir
mf,mt
In netrw buffer: mark directory with mf, navigate to destination, paste with mt
move file
mf,mm
In netrw buffer: mark file with mf, navigate to destination, move with mm
move dir
mf,mm
In netrw buffer: mark directory with mf, navigate to destination, move with mm
delete file
D
Move cursor to file and press D (uppercase), confirm with y
delete dir
D
Move cursor to directory and press D (uppercase), recursively deletes contents
open file
Enter
Enter directory or read file under cursor
go up directory
-
Go up one directory level
refresh listing
Ctrl+l
Refresh the directory listing
toggle hidden files
gh
Quick hide/unhide dot-files
show help
F1
Display netrw help
make current dir
c
Make browsing directory the current directory
cycle listing style
i
Cycle between thin, long, wide and tree listings
toggle display mode
a
Toggle between normal, hiding and showing files
mark file
mf
Mark a file for operations
unmark all files
mu
Unmark all marked files
copy marked files
mc
Copy marked files to marked-file target directory
move marked files
mm
Move marked files to marked-file target directory
set target directory
mt
Current browsing directory becomes marked-file target
bookmark directory
mb
Bookmark current directory
go to bookmark
gb
Go to previous bookmarked directory
list bookmarks
qb
List bookmarked directories and history
open in new window horizontal
o
Open file/directory in new horizontal split
open in new window vertical
v
Open file/directory in new vertical split
open in new tab
t
Open file/directory in new tab
preview file
p
Preview the file in split window
show file info
qf
Display information on file
change sorting order
s
Select sorting style: by name, time or file size
reverse sort
r
Reverse current sorting order
go back in history
u
Change to recently-visited directory
go forward in history
U
Change to subsequently-visited directory
execute file
x
View file with associated program
edit marked files
me
Place marked files on arg list and edit them
diff marked files
md
Apply diff to marked files (up to 3)
compress marked files
mz
Compress/decompress marked files
print marked files
mp
Print marked files

Sway

split vertical
Mod+v
split horizontal
Mod+h
resize vertical pane
Mod+r,Left/Right
Enter resize mode first
resize horizontal pane
Mod+r,Up/Down
Enter resize mode first
focus left pane
Mod+h
focus right pane
Mod+l
focus up pane
Mod+k
focus down pane
Mod+j
close pane
Mod+Shift+q