dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit d4386bb5b5b6f5432f0117d0dc01ec750df316f9
parent 5632f9a64b98f3cb3a69d3e417fed528a9888e00
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  1 Apr 2019 12:06:41 +0200

Update vifmrc

Diffstat:
M.config/vifm/vifmrc | 18+++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc @@ -5,6 +5,8 @@ " Blank lines are ignored. " The basic format for each item is shown with an example. +source ~/.config/vifm/vifmshortcuts + " ------------------------------------------------------------------------------ " This is the actual command used to start vi. The default is vim. @@ -214,8 +216,6 @@ fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob, " Web filextype *.html,*.htm - \ {Open with surf} - \ surf-open.sh %f %i &, \ {Open with dwb} \ dwb %f %i &, \ {Open with firefox} @@ -429,7 +429,7 @@ nnoremap cc cw<c-u> nnoremap A cw " Open console in current directory -nnoremap ,t :!xterm &<cr> +nnoremap ,t :!st &<cr> " Open editor to edit vifmrc and apply settings after returning to vifm nnoremap ,c :write | edit $MYVIFMRC | restart<cr> @@ -447,6 +447,18 @@ nnoremap <f6> :move<cr> nnoremap <f7> :mkdir<space> nnoremap <f8> :delete<cr> + +nnoremap I cw<c-a> +nnoremap cc cw<c-u> +nnoremap A cw +map q ZQ +map x :!sxiv -ft * 2>/dev/null &<CR> +nnoremap o :file &<cr>l +map E :!$EDITOR %f<CR> +map mkd :mkdir<space> +map bg :!setbg %f &<CR> +fileviewer *.html,*.css,*.py,*.c,*.h,*.sh,*.diff,*.tex highlight -O ansi %c + " ------------------------------------------------------------------------------ " Various customization examples