diff options
-rw-r--r-- | ranger/data/config_examples/rc.conf | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ranger/data/config_examples/rc.conf b/ranger/data/config_examples/rc.conf index 0e046a72..b9bdd260 100644 --- a/ranger/data/config_examples/rc.conf +++ b/ranger/data/config_examples/rc.conf @@ -18,43 +18,43 @@ # # Here are some examples: -# go to common directories (this overrides some default keybindings) +## go to common directories (this overrides some default keybindings) #map gt cd /tmp #map gc cd ~/.config #map gp cd /usr/portage #map gb cd /boot -# Unbind "q" so you don't accidentally close ranger +## Unbind "q" so you don't accidentally close ranger #unmap q -# Edit files with the lowercase "e". By default, uppercase "E" is used. +## Edit files with the lowercase "e". By default, uppercase "E" is used. #copymap E e -# Add a key for searching files with a given string in their name +## Add a key for searching files with a given string in their name #map F console shell -p find . | grep -Iir --color -# Find all files in this directory, shuffle them and view in mplayer +## Find all files in this directory, shuffle them and view in mplayer #map M shell find . | shuf | xargs -d \\n mplayer -fs -# Add some keys to edit configuration files +## Add some keys to edit configuration files #map ,r chain shell vim ~/.config/ranger/rc.conf; source_cmdlist ~/.config/ranger/rc.conf #map ,a shell vim ~/.config/ranger/apps.py #map ,c shell vim ~/.config/ranger/commands.py #map ,o shell vim ~/.config/ranger/options.py -# And some keys to view defaults +## And some keys to view defaults #map ,R shell vim %rangerdir/defaults/rc.conf #map ,A shell vim %rangerdir/defaults/apps.py #map ,C shell vim %rangerdir/defaults/commands.py #map ,O shell vim %rangerdir/defaults/options.py #map ,n shell vim %rangerdir/core/actions.py -# You might want to scroll up/down with u/d like in a pager +## You might want to scroll up/down with u/d like in a pager #copymap d D #copymap u U #map d down=0.8 pages=True #map u up=0.8 pages=True -# Or scroll up/down with ^P/^N: +## Or scroll up/down with ^P/^N: #copymap <down> <C-N> #copymap <up> <C-P> |