diff options
author | eug-vs <eugene@eug-vs.xyz> | 2021-08-12 11:50:52 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2021-08-12 11:50:52 +0300 |
commit | 2b0e37ad132984cad66ade32a9b5669510490793 (patch) | |
tree | 3a6a8089c751951a8cbaf9b8be26156fd26ddcbd | |
parent | b8fcb06714ea0c1ac28f54762a57878fd869ff66 (diff) | |
download | dotfiles-2b0e37ad132984cad66ade32a9b5669510490793.tar.gz |
feat(vim): remap new file keybinding in Defx
-rw-r--r-- | nvim/.vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
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 <silent><buffer><expr> h defx#do_action('close_tree') nnoremap <silent><buffer><expr> dd defx#do_action('remove') nnoremap <silent><buffer><expr> cw defx#do_action('rename') - nnoremap <silent><buffer><expr> n defx#do_action('new_file') + nnoremap <silent><buffer><expr> o defx#do_action('new_file') nnoremap <silent><buffer><expr> 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, \ }) |