home | config for vifm
This commit is contained in:
parent
3e5b4b4b36
commit
249be33ba5
2 changed files with 64 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
./khal.nix
|
./khal.nix
|
||||||
./liquidprompt.nix
|
./liquidprompt.nix
|
||||||
./newsboat.nix
|
./newsboat.nix
|
||||||
|
./vifm.nix
|
||||||
];
|
];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
bc
|
bc
|
||||||
|
|
@ -60,7 +61,6 @@
|
||||||
unzip
|
unzip
|
||||||
urlview
|
urlview
|
||||||
vdirsyncer
|
vdirsyncer
|
||||||
vifm-full
|
|
||||||
vit
|
vit
|
||||||
wget
|
wget
|
||||||
zip
|
zip
|
||||||
|
|
|
||||||
63
home/vifm.nix
Normal file
63
home/vifm.nix
Normal file
|
|
@ -0,0 +1,63 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = with pkgs; [ vifm-full ];
|
||||||
|
xdg.configFile."vifm/vifmrc".text = ''
|
||||||
|
" vim: filetype=vifm :
|
||||||
|
set runexec
|
||||||
|
colorscheme dracula
|
||||||
|
set timefmt=%Y-%m-%d\ %H:%M
|
||||||
|
set hlsearch
|
||||||
|
set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d "
|
||||||
|
" :mark mark /full/directory/path [filename]
|
||||||
|
mark b ~/bin/
|
||||||
|
mark h ~/
|
||||||
|
mark d ~/Downloads
|
||||||
|
nnoremap gd :cd ~/Downloads<cr>
|
||||||
|
'';
|
||||||
|
xdg.configFile."vifm/colors/dracula.vifm".text = ''
|
||||||
|
" VIFM COLORS
|
||||||
|
" dracula
|
||||||
|
" based on: https://github.com/istib/dotfiles/blob/master/vifm/vifm-colors
|
||||||
|
|
||||||
|
" Default = -1 = None, can be used for transparency or default color
|
||||||
|
" Black = 0
|
||||||
|
" Red = 1
|
||||||
|
" Green = 2
|
||||||
|
" Yellow = 3
|
||||||
|
" Blue = 4
|
||||||
|
" Magenta = 5
|
||||||
|
" Cyan = 6
|
||||||
|
" White = 7
|
||||||
|
|
||||||
|
" STYLES
|
||||||
|
" bold
|
||||||
|
" underline
|
||||||
|
" reverse or inverse
|
||||||
|
" standout
|
||||||
|
" none
|
||||||
|
|
||||||
|
|
||||||
|
highlight clear
|
||||||
|
|
||||||
|
highlight Win cterm=none ctermfg=default ctermbg=none
|
||||||
|
|
||||||
|
highlight TopLine cterm=none ctermfg=blue ctermbg=none
|
||||||
|
highlight TopLineSel cterm=none ctermfg=magenta ctermbg=none
|
||||||
|
highlight StatusLine cterm=none ctermfg=blue ctermbg=none
|
||||||
|
highlight Border cterm=none ctermfg=blue ctermbg=none
|
||||||
|
|
||||||
|
highlight Selected cterm=bold ctermfg=magenta ctermbg=default
|
||||||
|
highlight CurrLine cterm=bold ctermfg=236 ctermbg=blue
|
||||||
|
|
||||||
|
highlight WildMenu cterm=none,reverse ctermfg=blue ctermbg=236
|
||||||
|
highlight CmdLine cterm=none ctermfg=255 ctermbg=236
|
||||||
|
highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
|
||||||
|
|
||||||
|
highlight Directory cterm=none ctermfg=blue ctermbg=default
|
||||||
|
highlight Link cterm=none ctermfg=cyan ctermbg=default
|
||||||
|
highlight BrokenLink cterm=none ctermfg=red ctermbg=default
|
||||||
|
highlight Socket cterm=none ctermfg=magenta ctermbg=black
|
||||||
|
highlight Device cterm=none ctermfg=red ctermbg=default
|
||||||
|
highlight Fifo cterm=none ctermfg=yellow ctermbg=black
|
||||||
|
highlight Executable cterm=none ctermfg=green ctermbg=default
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue