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 1bf4a6fc46a09b15d7998e832f5093d90f0a60b3
parent 89b1948d29fc059362644f847d3b52e754269061
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue,  2 Apr 2019 14:27:22 +0200

Update color scheme, use vifm, change file handlers

Diffstat:
M.colors/Tomorrow | 2+-
M.commands.sh | 2+-
M.config/vifm/vifmrc | 5+++++
Mbin/colortheme | 2+-
4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/.colors/Tomorrow b/.colors/Tomorrow @@ -2,7 +2,7 @@ *.foreground: #4d4d4c *.background: #ffffff -*.cursorColor: #ff55ff +*.cursorColor: #aeafad ! Black / Grey *.color0: #000000 diff --git a/.commands.sh b/.commands.sh @@ -6,7 +6,7 @@ alias b='bash' alias z='zsh' alias v='vim' -alias n='nnn' +alias n='vifm' ## cd alias cg='c "$(git rev-parse --show-toplevel)"' # cd under git repo diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc @@ -13,6 +13,9 @@ source ~/.config/vifm/vifmshortcuts " If you would like to use another vi clone such as Elvis or Vile " you will need to change this setting. +" Specify which operations require confirmation (delete,permdelete) +set confirm=permdelete + set vicmd=vim " set vicmd=elvis\ -G\ termcap " set vicmd=vile @@ -204,6 +207,8 @@ filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob, \*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx, \*.as[fx] \ {View using ffplay} + \ mpv -fs %f, + \ {View using ffplay} \ ffplay -fs -autoexit %f, \ {View using Dragon} \ dragon %f:p, diff --git a/bin/colortheme b/bin/colortheme @@ -156,7 +156,7 @@ function set_colors { if [ -f $slroot/dwm/config.h ]; then sed -i "s/col_gray4\[\] *= \".*\";/col_gray4\[\] = \"$background\";/;\ - s/col_cyan\[\] *= \".*\";/col_cyan\[\] = \"$foreground\";/;\ + s/col_cyan\[\] *= \".*\";/col_cyan\[\] = \"$color6\";/;\ s/col_gray3\[\] *= \".*\";/col_gray3\[\] = \"$foreground\";/;\ s/col_gray1\[\] *= \".*\";/col_gray1\[\] = \"$background\";/;"\ $slroot/dwm/config.h