##Ranger ####Moving around
- j = Move down
- k = Move up
- h = Move to parent directory
- gg = Go to the top of the list
- G = Go to the bottom of the list
<ctrl>
-f = Page down<ctrl>
-b = Page up- J = Page down 1/2 page
- K = Page up 1/2 page
- H = Go back through navigation history
- L = Go forward through navigation history
####Directories
- **gh = cd ~**
- ge = cd /etc
- gu = cd /usr
- gd = cd /dev
- go = cd /opt
- gv = cd /var
- gm = cd /media
- gM = cd /mnt
- gs = cd /srv
- gr = cd /
- gR = cd to ranger's global configuration directory
####Working with Files
- i = Display file (useful if you'd like to view a text file in a pager instead of editing it)
- l or E = Open file (opens file in default file-handler)
- r = Open file with… (allows you to choose program to use)
- o = Change sort order (follow by character in menu selection)
- z = Change settings (commonly used toggle settings)
- zh = View hidden files
<space>
= Select current file- t = Tag file (you can perform actions on tagged files)
- cw = Rename current file
- / = Search for files
- n = Jump to next match
- N = Jump to previous match
- yy = Yank (copy) file
- dd = Mark file for cut operation
<delete>
= Delete selected file
####Tabbed Browsing
<ctrl>
n = Create new tab<ctrl>
w = Close current tab<tab>
= Next tab<shift><tab>
= Previous tab
####General Commands
- ? = View ranger man page
- 1? = Keybindings help
- 2? = Command help
- 3? = Settings help
- R = Reload current directory
- Q = Quit
####Commands
- ! = Execute a command from the shell (non-ranger commands)
- : = Execute a ranger command
- du = Measure disk usage of current directory
- chmod = Change permissions of current file
####Comand flags
- -s = Discard the output of the current command.
- -d = Detach the process and run in the background
- -p = Return the output in ranger's file pager
- -w = Do not return immediately after command execution. Hang until "Enter" is pressed
- -c = Perform command on current file, not the selected files
####File substituting
- %f = Substitute highlighted file
- %d = Substitute current directory
- %s = Substitute currently selected files
- %t = Substitute currently tagged files
####Example for substitution
- :bulkrename %s
##Vim ####Moving
<crtl>
f = move down<crtl>
b = move up- :qa = quit all
- F4 = crtlP
- F5 = Ack
- gf = goes to file under cursor
<ctrl>
ww = switch splits
##Tmux ####Moving
- leader =
<ctrl><space>
<leader>
c = create new window
##I3 ####Moving
<alt> ->
: next<alt> <-
: previous<alt><shift>
q : kill window:w
##Git ####Regular command
- git status
- git for-each-ref --sort=-committerdate refs/heads/ : show branches