FollieHiyuki-dotfiles/nvim-old/plug-config/rnvimr.vim

26 lines
959 B
VimL
Raw Normal View History

2021-02-13 11:28:59 -05:00
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 = [{}]