From fe48b893ca00c7897afe5ad8df2e78ddb88dbced Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 24 Apr 2015 12:26:29 +0100 Subject: configuration of vifm. --- vifm/colors/Default | 54 ----------------------------------------------------- vifm/colors/default | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ vifm/colors/matrix | 21 +++++++++++++++++++++ vifm/vifminfo | 40 +++++++++++++++++++++++++++++++-------- vifm/vifmrc | 14 +++++++------- 5 files changed, 112 insertions(+), 69 deletions(-) delete mode 100644 vifm/colors/Default create mode 100644 vifm/colors/default create mode 100644 vifm/colors/matrix diff --git a/vifm/colors/Default b/vifm/colors/Default deleted file mode 100644 index 8f65064..0000000 --- a/vifm/colors/Default +++ /dev/null @@ -1,54 +0,0 @@ -" vim: filetype=vifm : -" You can edit this file by hand. -" The " character at the beginning of a line comments out the line. -" Blank lines are ignored. - -" The Default color scheme is used for any directory that does not have -" a specified scheme and for parts of user interface like menus. A -" color scheme set for a base directory will also -" be used for the sub directories. - -" The standard ncurses colors are: -" 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 - -" Available style values (some of them can be combined): -" bold -" underline -" reverse or inverse -" standout -" none - -" Vifm supports 256 colors you can use color numbers 0-255 -" (requires properly set up terminal: set your TERM environment variable -" (directly or using resources) to some color terminal name (e.g. -" xterm-256color) from /usr/lib/terminfo/; you can check current number -" of colors in your terminal with tput colors command) - -" highlight group cterm=style ctermfg=foreground_color ctermbg=background_color - -highlight Win cterm=none ctermfg=white ctermbg=black -highlight Directory cterm=bold ctermfg=cyan ctermbg=black -highlight Link cterm=bold ctermfg=yellow ctermbg=black -highlight BrokenLink cterm=bold ctermfg=red ctermbg=none -highlight Socket cterm=bold ctermfg=magenta ctermbg=black -highlight Device cterm=bold ctermfg=red ctermbg=black -highlight Fifo cterm=bold ctermfg=cyan ctermbg=none -highlight Executable cterm=bold ctermfg=green ctermbg=black -highlight Selected cterm=bold ctermfg=magenta ctermbg=black -highlight CurrLine cterm=bold ctermfg=white ctermbg=blue -highlight TopLine cterm=none ctermfg=black ctermbg=white -highlight TopLineSel cterm=bold ctermfg=black ctermbg=none -highlight StatusLine cterm=bold ctermfg=black ctermbg=white -highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black -highlight CmdLine cterm=none ctermfg=white ctermbg=black -highlight ErrorMsg cterm=none ctermfg=red ctermbg=black -highlight Border cterm=none ctermfg=black ctermbg=white -highlight OtherLine cterm=bold,underline,reverse,standout ctermfg=none ctermbg=none diff --git a/vifm/colors/default b/vifm/colors/default new file mode 100644 index 0000000..c3c72dd --- /dev/null +++ b/vifm/colors/default @@ -0,0 +1,52 @@ +" You can edit this file by hand. +" The " character at the beginning of a line comments out the line. +" Blank lines are ignored. + +" The Default color scheme is used for any directory that does not have +" a specified scheme and for parts of user interface like menus. A +" color scheme set for a base directory will also +" be used for the sub directories. + +" The standard ncurses colors are: +" 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 + +" Available style values (some of them can be combined): +" bold +" underline +" reverse or inverse +" standout +" none + +" Vifm supports 256 colors you can use color numbers 0-255 +" (requires properly set up terminal: set your TERM environment variable +" (directly or using resources) to some color terminal name (e.g. +" xterm-256color) from /usr/lib/terminfo/; you can check current number +" of colors in your terminal with tput colors command) + +" highlight group cterm=style ctermfg=foreground_color ctermbg=background_color + +highlight Win cterm=none ctermfg=white ctermbg=black +highlight Directory cterm=bold ctermfg=cyan ctermbg=default +highlight Link cterm=bold ctermfg=yellow 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=cyan ctermbg=default +highlight Executable cterm=bold ctermfg=green ctermbg=default +highlight Selected cterm=bold ctermfg=magenta ctermbg=default +highlight CurrLine cterm=bold ctermfg=default ctermbg=blue +highlight TopLine cterm=none ctermfg=black ctermbg=white +highlight TopLineSel cterm=bold ctermfg=black ctermbg=default +highlight StatusLine cterm=bold ctermfg=black ctermbg=white +highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black +highlight CmdLine cterm=none ctermfg=white ctermbg=black +highlight ErrorMsg cterm=none ctermfg=red ctermbg=black +highlight Border cterm=none ctermfg=black ctermbg=white diff --git a/vifm/colors/matrix b/vifm/colors/matrix new file mode 100644 index 0000000..70a9f76 --- /dev/null +++ b/vifm/colors/matrix @@ -0,0 +1,21 @@ +highlight Win cterm=none ctermfg=green ctermbg=black + +highlight TopLine cterm=none ctermfg=green ctermbg=none +highlight TopLineSel cterm=none ctermfg=green ctermbg=none +highlight StatusLine cterm=none ctermfg=green ctermbg=none +highlight Border cterm=none ctermfg=green ctermbg=none + +highlight Selected cterm=bold ctermfg=red ctermbg=default +highlight CurrLine cterm=bold ctermfg=black ctermbg=green + +highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black +highlight CmdLine cterm=none ctermfg=white ctermbg=black +highlight ErrorMsg cterm=none ctermfg=red ctermbg=black + +highlight Directory cterm=none ctermfg=blue ctermbg=default +highlight Link cterm=none ctermfg=yellow ctermbg=default +highlight BrokenLink cterm=none ctermfg=red ctermbg=default +highlight Socket cterm=none ctermfg=yellow ctermbg=default +highlight Device cterm=none ctermfg=yellow ctermbg=default +highlight Fifo cterm=none ctermfg=yellow ctermbg=default +highlight Executable cterm=none ctermfg=green ctermbg=default diff --git a/vifm/vifminfo b/vifm/vifminfo index 349b43c..2669437 100644 --- a/vifm/vifminfo +++ b/vifm/vifminfo @@ -1,24 +1,48 @@ # You can edit this file by hand, but it's recommended not to do that. # Bookmarks: -'H - /home/urbain - ../ --1 +'k + /home/urbain/Dropbox/phd/papers + texput.log +1429873258 'm - /home/urbain/Dropbox/phd/literature/October\ 14 - Shear_viscosity.pdf --1 + /home/urbain/Dropbox/phd/papers/spectral + code/ +1429873263 'p - /home/urbain/Dropbox/phd + /home/urbain/Dropbox/phd/papers/spectral + code/ +1429873265 +'H + /home/urbain ../ -1 # Command line history (oldest to newest): +:colorscheme solarized +:colorscheme desert +:colorscheme g80 +:colorscheme zenburn +:colorscheme zenburn_1 +:colorscheme solarized-dark +:colorscheme matrix +:h nmap +:h map +:nmap m 'm +:nmap m m +:nmap p 'p +:marks +:map q :q +:map tab space +:map space +:map +:h :set number :q # Search history (oldest to newest): +/col +/colorschem # Prompt history (oldest to newest): diff --git a/vifm/vifmrc b/vifm/vifmrc index 28426fb..1fb7faa 100644 --- a/vifm/vifmrc +++ b/vifm/vifmrc @@ -58,7 +58,7 @@ set noiec " Selected color scheme -colorscheme Default +colorscheme matrix " The FUSE_HOME directory will be used as a root dir for all FUSE mounts. " Unless it exists with write/exec permissions set, vifm will attempt to @@ -74,11 +74,6 @@ set timefmt=\ %m/%d\ %H:%M " :mark mark /full/directory/path [filename] -" mark H /home/urbain ../ -" mark m /home/urbain/Dropbox/phd/literature/October\ 14 Shear_viscosity.pdf -" mark p /home/urbain/Dropbox/phd ../ -" mark z /home/urbain/.vifm ../ - " :com[mand] command_name action " The following macros can be used in a command " %a is replaced with the user arguments. @@ -91,7 +86,6 @@ set timefmt=\ %m/%d\ %H:%M " %D the other window directory name. " %m run the command in a menu window - " The file type is for the default programs to be used with " a file extension. " :filetype pattern1,pattern2 defaultprogram,program2 @@ -123,3 +117,9 @@ set timefmt=\ %m/%d\ %H:%M " set vifminfo=options,filetypes,commands,bookmarks,tui,state,cs,chistory,shistory,dirstack,registers,phistory " Like in vi set vifminfo=bookmarks,chistory,shistory,phistory + +" Personal additions +map , : +map space +map q :q +filetype *.pdf,*.dvi zathura -- cgit v1.2.3