" Command to open files filetype *.JPG feh %f & filetype *.exe wine %f & filetype * xdg-open %f & " Options set fastrun set history=100 set ignorecase set incsearch set sortnumbers set scrolloff=2 set smartcase set vicmd=$EDITOR set relativenumber set vimhelp set wildmenu " Run executables on " set runexec " Commands command! backup !cp -r %f %f.bak " Mappings nnoremap s :shell nnoremap w :view nnoremap x :!xdg-open %f nnoremap o :file nnoremap b :marks nnoremap gm :bmark nnoremap gb :bmarks nnoremap g :!nvim %f nnoremap r :run nnoremap T :tree! nnoremap ,b :backup nnoremap ,t :!urxvt & nnoremap ,l :!less %f nnoremap ,i :!inkscape %f nnoremap :q nnoremap l nnoremap h nnoremap R :sortc " To disable automatic tagging of search results nnoremap coh :set hlsearch! nnoremap ,r :source ~/.config/vifm/vifmrc " Only one pane only " Colors highlight Border cterm=none ctermfg=default ctermbg=235 highlight Win cterm=none ctermfg=188 ctermbg=237 highlight Directory cterm=none ctermfg=108 ctermbg=default highlight CurrLine cterm=none ctermfg=168 ctermbg=236 highlight Selected cterm=none ctermfg=116 ctermbg=238 highlight StatusLine cterm=bold ctermfg=187 ctermbg=95 highlight ErrorMsg cterm=bold ctermfg=115 ctermbg=default highlight WildMenu cterm=bold,reverse ctermfg=144 ctermbg=235 highlight CmdLine cterm=none ctermfg=188 ctermbg=237 highlight TopLine cterm=none ctermfg=108 ctermbg=235 highlight TopLineSel cterm=bold ctermfg=186 ctermbg=236 highlight Executable cterm=none ctermfg=172 ctermbg=default highlight Link cterm=none ctermfg=216 ctermbg=default highlight BrokenLink cterm=none ctermfg=174 ctermbg=default highlight Device cterm=none ctermfg=228 ctermbg=default highlight Fifo cterm=none ctermfg=109 ctermbg=default highlight Socket cterm=none ctermfg=13 ctermbg=default " vim: ft=vim