summaryrefslogtreecommitdiff
path: root/.config/vifm
diff options
context:
space:
mode:
Diffstat (limited to '.config/vifm')
-rw-r--r--.config/vifm/colors/elly.vifm26
-rw-r--r--.config/vifm/vifmrc12
2 files changed, 30 insertions, 8 deletions
diff --git a/.config/vifm/colors/elly.vifm b/.config/vifm/colors/elly.vifm
new file mode 100644
index 0000000..d6b0b95
--- /dev/null
+++ b/.config/vifm/colors/elly.vifm
@@ -0,0 +1,26 @@
+" colortheme
+highlight clear
+
+highlight Win cterm=none ctermfg=cyan ctermbg=none
+highlight Directory cterm=bold ctermfg=yellow ctermbg=default
+highlight Link cterm=bold ctermfg=green ctermbg=default
+highlight BrokenLink cterm=bold ctermfg=red ctermbg=default
+highlight Socket cterm=bold ctermfg=magenta ctermbg=default
+highlight Device cterm=bold ctermfg=red ctermbg=default
+highlight Fifo cterm=bold ctermfg=yellow ctermbg=default
+highlight Executable cterm=bold ctermfg=green ctermbg=default
+highlight Selected cterm=bold ctermfg=magenta ctermbg=default
+highlight CurrLine cterm=bold,reverse ctermfg=default ctermbg=default
+highlight TopLine cterm=none ctermfg=black ctermbg=none
+highlight TopLineSel cterm=bold ctermfg=black ctermbg=default
+highlight StatusLine cterm=bold ctermfg=black ctermbg=none
+highlight WildMenu cterm=underline,reverse ctermfg=cyan ctermbg=black
+highlight CmdLine cterm=none ctermfg=cyan ctermbg=none
+highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
+highlight Border cterm=none ctermfg=black ctermbg=none
+highlight JobLine cterm=bold,reverse ctermfg=black ctermbg=cyan
+highlight SuggestBox cterm=bold ctermfg=default ctermbg=default
+highlight CmpMismatch cterm=bold ctermfg=cyan ctermbg=red
+highlight AuxWin cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
+
+" vim: ft=vim
diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc
index 20dcdb9..4c15dca 100644
--- a/.config/vifm/vifmrc
+++ b/.config/vifm/vifmrc
@@ -38,7 +38,8 @@ set undolevels=100
set norunexec
" Selected color scheme
-colorscheme minimal
+colorscheme elly
+" colorscheme minimal
" Format for displaying time in file list. For example:
" TIME_STAMP_FORMAT=%m/%d-%H:%M
@@ -138,7 +139,7 @@ set rulerformat=
" CSV/Excel
" filetype *.xlsx libreoffice %c %i
-" fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw
+fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw
" HTMLs
fileviewer *.html w3m -dump %c
@@ -226,7 +227,7 @@ nmap q ZQ
nnoremap , :
" Set highlighted image as wallpaper
-nnoremap bg :!sh ~/.scripts/control/setbg %c &<cr>
+nnoremap bg :!sh $SCRIPTS/setbg %c &<cr>
" Upload highlighted file to 0x0.st and then save url to clipboard
nnoremap 0x0 :!curl -s -F'file=@%c' https://0x0.st > /dev/null | xclip -sel clip && notify-send "vifm" "File uploaded: $(xclip -o -selection clipboard)" &<cr>
@@ -241,10 +242,6 @@ source ~/.cache/vifm-shortcuts
" Easily go back home
nnoremap cd :cd<cr>
-
-" Start shell in current directory
-nnoremap s :shell<cr>
-
" Display sorting dialog
nnoremap S :sort<cr>
@@ -274,7 +271,6 @@ nnoremap x :!/home/siddharth/bin/utils/extract %f &<cr>
" Share Files with dropbox
nnoremap s :!dbshare %d/%b &<cr>
-nnoremap re :!tmpfunc %d/%b &<cr>
" Make a new directory
nnoremap mkd :mkdir<space>