mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-05 05:38:21 -05:00
26 lines
959 B
VimL
26 lines
959 B
VimL
|
let g:rnvimr_enable_ex = 1
|
||
|
let g:rnvimr_enable_picker = 1
|
||
|
let g:rnvimr_draw_border = 1
|
||
|
let g:rnvimr_hide_gitignore = 0
|
||
|
let g:rnvimr_border_attr = {'fg': 4, 'bg': -1}
|
||
|
let g:rnvimr_enable_bw = 1
|
||
|
let g:rnvimr_ranger_cmd = 'ranger --cmd="set column_ratios 1,2"
|
||
|
\ --cmd="set draw_borders none"
|
||
|
\ --cmd="set show_hidden true"'
|
||
|
" Map Rnvimr action
|
||
|
let g:rnvimr_action = {
|
||
|
\ '<C-t>': 'NvimEdit tabedit',
|
||
|
\ '<C-x>': 'NvimEdit split',
|
||
|
\ '<C-v>': 'NvimEdit vsplit',
|
||
|
\ 'gw': 'JumpNvimCwd',
|
||
|
\ 'yw': 'EmitRangerCwd'
|
||
|
\ }
|
||
|
" Customize the initial layout
|
||
|
let g:rnvimr_layout = { 'relative': 'editor',
|
||
|
\ 'width': float2nr(round(0.8 * &columns)),
|
||
|
\ 'height': float2nr(round(0.8 * &lines)),
|
||
|
\ 'col': float2nr(round(0.1 * &columns)),
|
||
|
\ 'row': float2nr(round(0.1 * &lines)),
|
||
|
\ 'style': 'minimal' }
|
||
|
let g:rnvimr_presets = [{}]
|