2020-04-26 20:17:15 +02:00
|
|
|
" Make Ranger replace netrw and be the file explorer
|
2021-03-12 05:59:55 +01:00
|
|
|
let g:rnvimr_ex_enable = 1
|
2020-04-26 20:17:15 +02:00
|
|
|
|
2020-05-04 07:10:29 +02:00
|
|
|
let g:rnvimr_draw_border = 1
|
|
|
|
|
|
|
|
" Make Ranger to be hidden after picking a file
|
|
|
|
let g:rnvimr_pick_enable = 1
|
|
|
|
|
|
|
|
" Make Neovim to wipe the buffers corresponding to the files deleted by Ranger
|
|
|
|
let g:rnvimr_bw_enable = 1
|
|
|
|
|
2020-05-11 01:23:44 +02:00
|
|
|
" nmap <leader>r :RnvimrToggle<CR>
|
2020-05-04 07:10:29 +02:00
|
|
|
|
2020-05-12 22:19:06 +02:00
|
|
|
let g:rnvimr_ranger_cmd = 'ranger --cmd="set column_ratios 1,1"'
|
|
|
|
" \ --cmd="set draw_borders separators"'
|
2020-05-04 07:10:29 +02:00
|
|
|
|
2020-05-12 22:19:06 +02:00
|
|
|
" let g:rnvimr_layout = { 'relative': 'editor',
|
|
|
|
" \ 'width': float2nr(round(0.6 * &columns)),
|
|
|
|
" \ 'height': float2nr(round(0.6 * &lines)),
|
|
|
|
" \ 'col': float2nr(round(0.2 * &columns)),
|
|
|
|
" \ 'row': float2nr(round(0.2 * &lines)),
|
|
|
|
" \ 'style': 'minimal' }
|
2020-05-04 07:10:29 +02:00
|
|
|
|
|
|
|
let g:rnvimr_presets = [
|
|
|
|
\ {'width': 0.800, 'height': 0.800}]
|