diff options
author | eug-vs <eug-vs@keemail.me> | 2021-01-16 12:20:10 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-01-16 12:20:10 +0300 |
commit | 606b5e664c520e38bc9e89588dc36a16c334dde0 (patch) | |
tree | 6ee8fb8f183fab75885505976a0763a25785a38d /.vimrc | |
parent | 72be0756c3a47717358cccd9209206e4e8d6c679 (diff) | |
download | dotfiles-606b5e664c520e38bc9e89588dc36a16c334dde0.tar.gz |
feat: find n -> new file in defx
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -59,14 +59,11 @@ function! s:defx_my_settings() abort \ defx#is_directory() ? \ defx#do_action('open_tree') : \ defx#do_action('open', 'choose') - 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> q - \ defx#do_action('quit') + 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> q defx#do_action('quit') endfunction call defx#custom#option('_', { |