~tardypad/dotfiles

ref: 7dd5e02494e2821ff6b4fd5758a590ef03b5403b dotfiles/packages/vifm/vifmrc -rw-r--r-- 750 bytes
7dd5e024 — Damien Tardy-Panis add mako package config 3 years ago
                                                                                
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
" color scheme
colorscheme tardypad

" Tab completion in a popup
set wildmenu
set wildstyle=popup

" always start with quick file view on
view!

" create compressed archive of selected items to Desktop
command! tgz tar --create --gzip --file ~/Desktop/%a.tgz %f

" same custom mapping to quit as closing a buffer in vim
nnoremap <Space>q :quit<CR>
nnoremap <C-q>    :quit<CR>

" mappings for usage within vim as file picker
noremap <Space>s :SplitVim<CR>
noremap <Space>v :VsplitVim<CR>

" filetypes
filetype *.pdf zathura %f

" tmux navigation
nnoremap <M-h> :!tmux select-pane -L<cr>
nnoremap <M-j> :!tmux select-pane -D<cr>
nnoremap <M-k> :!tmux select-pane -U<cr>
nnoremap <M-l> :!tmux select-pane -R<cr>
nnoremap <M-a> :!tmux select-pane -l<cr>