aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc13
1 files changed, 5 insertions, 8 deletions
diff --git a/.vimrc b/.vimrc
index de1d3f6..e3ca760 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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('_', {