dotfiles

My dotfiles used for LARBS
Log | Files | Refs | README | LICENSE

luke_ranger_readme.md (3305B)


      1 # Luke's ranger setup
      2 
      3 ## Basic Ranger shortcuts
      4 
      5 These are the basic key binds in ranger, even outside of my configs. Note that they are mostly vim-based.
      6 
      7 + h/j/k/l -- Move left/down/up/right (where left moves up in the directory structure, right moves into a folder)
      8 + Space -- select/highlight file
      9 + dd -- cut selected files
     10 + yy -- copy/yank selected files
     11 + pp -- paste/move cut/copied files
     12 + / -- search, when (n/N) next/previos result
     13 + zh or CTRL-h -- show hidden files
     14 + Renaming files:
     15 	+ cw -- rename file from scratch
     16 	+ A -- rename file adding to the end
     17 	+ aa -- rename file appending before the extension
     18 	+ I -- rename file adding at the beginning
     19 
     20 ## Shortcuts
     21 
     22 As I say in the main readme, there are shortcut commands generated for ranger
     23 based on what bookmarked directories and files you give it. For directory
     24 shortcuts, here are the "verbs":
     25 
     26 + g -- "go or cd"
     27 + t -- "new tab"
     28 + m -- "move file"
     29 + Y -- "yank or copy file"
     30 
     31 These "verbs" take "nouns" or "arguments," like these:
     32 
     33 + d -- "~/Documents"
     34 + D -- "~/Downloads"
     35 + cf -- "~/.config"
     36 + And many others, including those you add to `~/.bmdirs`.
     37 
     38 Press any "verb" followed by any "argument" to perform a folder operation. "gd" will cd to ~/Documents, for example. "mD" will move the selected file(s) to ~/Downloads. "tcf" will create a new tab in ~/.config, etc. etc.
     39 
     40 ## Many little additions!
     41 
     42 + Basic additions:
     43 	+ V -- Make a new file and edit it in vim
     44 	+ cW -- rename *all* selected files, editing in your text editor
     45 	+ mkd -- Make a directory/folder
     46 	+ sc -- Makes a link/shortcut (ln -sT)
     47 	+ D -- delete selected file
     48 	+ X -- Extract a zip/rar/tar.gz, whatever. Runs a script that picks the right command for the right archive.
     49 	+ Z -- zips a folder up into a .tar.gz archive.
     50 	+ CTRL-f -- Fuzzy find a file
     51 	+ CTRL-l -- Fuzzy locate a file
     52 + Document manipulation:
     53 	+ p1s -- print this file on the default printer, one-sided (lpr)
     54 	+ p2s -- print this file on the default printer, double-sided (lpr)
     55 	+ MP -- convert to a .pdf with pandoc (I use this to convert markdown, etc.)
     56 	+ MX -- compile selected document in XeLaTeX
     57 	+ ML -- compile selected document in LaTeX
     58 	+ TC -- clear all non-visible TeX build files in this directory
     59 	+ Txa -- copy article template to new file
     60 	+ Txs -- copy slideshow/beamer template to new file
     61 	+ Txh -- copy handout template to new file
     62 + Image commands:
     63 	+ bg -- (for i3 users) makes an image your background (assuming i3 is looking at ~/.config/wall.png for your background)
     64 	+ bw -- runs Pywal on the selected image, making it your background and generating a color scheme based off of it.
     65 	+ C -- rotates an image (requires imagemagick)
     66 	+ F -- flips an image (requires imagemagick)
     67 	+ TR -- add transparency to image file
     68 + mpd/mpc shortcuts
     69 	+ MS -- Start mpd
     70 	+ MK -- kill mpd
     71 	+ MN -- Start playing selected song/folder now
     72 	+ Ma -- Enqueue selected song/folder
     73 	+ Mp -- Pause
     74 	+ Mn -- Next track
     75 	+ Mb -- Previous track
     76 	+ Mo -- Restart track
     77 + Audio tagging with eye3D:
     78 	+ Ta -- change artist name
     79 	+ TA -- change album name
     80 	+ Tb -- change album artist
     81 	+ Tt -- change title
     82 	+ Tn -- change track number
     83 + Downloading:
     84 	+ ytv -- Download online video (paste in url) (requires youtube-dl)
     85 	+ yta -- Download audio of online video (paste in url) (requires youtube-dl)