This repository has been archived on 2022-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/nvim-old/plug-config/rnvimr.vim

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 = [{}]