summaryrefslogtreecommitdiff
path: root/rc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'rc.conf')
-rwxr-xr-xrc.conf20
1 files changed, 14 insertions, 6 deletions
diff --git a/rc.conf b/rc.conf
index d852824..8e608fb 100755
--- a/rc.conf
+++ b/rc.conf
@@ -57,6 +57,10 @@ set vcs_aware false
set vcs_backend_git enabled
set vcs_backend_hg disabled
set vcs_backend_bzr disabled
+set vcs_backend_svn disabled
+
+# Truncate the long commit messages to this length when shown in the statusbar.
+set vcs_msg_length 50
# Use one of the supported image preview protocols
set preview_images true
@@ -73,6 +77,7 @@ set preview_images true
# (http://iterm2.com/images.html). This requires using iTerm2 compiled
# with image preview support.
set preview_images_method w3m
+set preview_images_method kitty
# Use a unicode "..." character to mark cut-off filenames?
set unicode_ellipsis false
@@ -82,7 +87,7 @@ set show_hidden_bookmarks true
# Which colorscheme to use? These colorschemes are available by default:
# default, jungle, snow, solarized
-set colorscheme try
+set colorscheme eupho
# Preview files on the rightmost column?
# And collapse (shrink) the last column if there is nothing to preview?
@@ -327,12 +332,15 @@ map g/ cd /
map g? cd /usr/share/doc/ranger
# External Programs
-map E edit
+map e edit
map du shell -p du --max-depth=1 -h --apparent-size
map dU shell -p du --max-depth=1 -h --apparent-size | sort -rh
-map yp shell -f echo -n %%d/%%f | xsel -i; xsel -o | xsel -i -b
-map yd shell -f echo -n %%d | xsel -i; xsel -o | xsel -i -b
-map yn shell -f echo -n %%f | xsel -i; xsel -o | xsel -i -b
+# Copy filepath
+map yp shell -f echo -n %d/%f | xsel -i; xsel -o | xsel -i -b
+# Copy current directory
+map yd shell -f echo -n %d | xsel -i; xsel -o | xsel -i -b
+# Copy filename (basename)
+map yn shell -f echo -n %f | xsel -i; xsel -o | xsel -i -b
# Filesystem Operations
map = chmod
@@ -545,7 +553,7 @@ copypmap <PAGEUP> p b <C-B>
pmap <C-l> redraw_window
pmap <ESC> pager_close
copypmap <ESC> q Q i <F3>
-pmap E edit_file
+pmap e edit_file
# ===================================================================
# == Taskview Keybindings