summaryrefslogtreecommitdiff
path: root/vifm/.vifm/vifmrc
blob: f4ff8ae0d464a5f32271b01dd6cf22c8cfbbe2c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
" Command to open files
filetype * xdg-open

" Options
set fastrun
set history=100
set incsearch
set runexec
set sortnumbers
set scrolloff=2
set smartcase
set vicmd=$EDITOR
set relativenumber
set vimhelp
set wildmenu

" Commands
command! backup !cp -r %f %f.bak

" Mappings
nnoremap s :shell<cr>
nnoremap w :view<cr>
nnoremap o :file<cr>
nnoremap b :marks<cr>
nnoremap gm :bmark<space>
nnoremap gb :bmarks<cr>
nnoremap r :run<cr>
nnoremap ,b :backup<cr>
nnoremap ,r :%rename<cr>
nnoremap ,t :!urxvt &<cr>
nnoremap ,l :!less %f<cr>

" Colorscheme
source /usr/share/vifm/colors/juef-zenburn.vifm

" Only one pane
only

" vim: ft=vim