From 2b0e37ad132984cad66ade32a9b5669510490793 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 12 Aug 2021 11:50:52 +0300 Subject: feat(vim): remap new file keybinding in Defx --- nvim/.vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nvim') diff --git a/nvim/.vimrc b/nvim/.vimrc index 6866bce..eae5d84 100644 --- a/nvim/.vimrc +++ b/nvim/.vimrc @@ -71,7 +71,7 @@ function! s:defx_my_settings() abort nnoremap h defx#do_action('close_tree') nnoremap dd defx#do_action('remove') nnoremap cw defx#do_action('rename') - nnoremap n defx#do_action('new_file') + nnoremap o defx#do_action('new_file') nnoremap q defx#do_action('quit') endfunction @@ -82,7 +82,7 @@ call defx#custom#option('_', { \ 'buffer_name': 'explorer', \ 'split': 'vertical', \ 'direction': 'topleft', -\ 'columns': 'space:indent:git:icons:filename:mark', +\ 'columns': 'space:indent:git:icons:space:filename:mark', \ 'winwidth': 30, \ }) -- cgit v1.2.3