From 354ef323fc6c684e85520af53385056fdd58b24a Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 8 Dec 2018 14:15:30 +0800 Subject: ranger: Add basic config file --- _config/ranger/rc.conf | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 _config/ranger/rc.conf diff --git a/_config/ranger/rc.conf b/_config/ranger/rc.conf new file mode 100644 index 0000000..d8209ef --- /dev/null +++ b/_config/ranger/rc.conf @@ -0,0 +1,75 @@ +# +# ~/.config/ranger/rc.conf +# + +# =================================================================== +# == Options +# =================================================================== + +# Which files should be hidden? (regular expression) +set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$ + +# Show hidden files? You can toggle this by typing 'zh' +set show_hidden false + +# Be aware of version control systems and display information. +set vcs_aware false +set vcs_backend_git local + +# Use the external preview script or display simple plain text or image previews? +set use_preview_script true + +# Use one of the supported image preview protocols +set preview_images false +set preview_images_method w3m + +# Use a unicode "..." character to mark cut-off filenames? +set unicode_ellipsis true + +# Which colorscheme to use? +set colorscheme solarized + +# Preview files on the rightmost column? +# And collapse (shrink) the last column if there is nothing to preview? +set preview_files true +set preview_directories true +set collapse_preview true + +# Avoid previewing files larger than this size, in bytes. Use a value of 0 to +# disable this feature. +set preview_max_size 10000000 + +# Abbreviate $HOME with ~ in the titlebar (first line) of ranger? +set tilde_in_titlebar true + +# Additional sorting options +set sort_case_insensitive false +set sort_directories_first true +set sort_unicode false + + +# =================================================================== +# == Command Aliases in the Console +# =================================================================== + + +# =================================================================== +# == Define keys for the browser +# =================================================================== + + +# =================================================================== +# == Define keys for the console +# =================================================================== +# Note: Unmapped keys are passed directly to the console. + + +# =================================================================== +# == Pager Keybindings +# =================================================================== + + +# =================================================================== +# == Taskview Keybindings +# =================================================================== + -- cgit v1.2.2