aboutsummaryrefslogtreecommitdiffstats
path: root/_config/ranger
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-12-08 14:15:30 +0800
committerAaron LI <aly@aaronly.me>2018-12-08 14:15:30 +0800
commit354ef323fc6c684e85520af53385056fdd58b24a (patch)
tree45ede4a592afa90c99d013df59185a2fce8d4f68 /_config/ranger
parentd4a99498acb4d92067704880b12c04d569f7a8c6 (diff)
downloaddotfiles-354ef323fc6c684e85520af53385056fdd58b24a.tar.bz2
ranger: Add basic config file
Diffstat (limited to '_config/ranger')
-rw-r--r--_config/ranger/rc.conf75
1 files changed, 75 insertions, 0 deletions
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
+# ===================================================================
+