aboutsummaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-08 14:52:39 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-08 14:52:39 +0000
commite6d77f8f6a4f697770f6a64f9ae50048b249136c (patch)
treef21c1256edcfe3e38c44ac1108088013652bcf06 /vim
parent02bed37d246321b2d5d52fd3e9862ddcc6e69dda (diff)
Adds binding of Ctrl+n to open Fern drawer in Vim
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 07c9375..993374e 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -125,6 +125,8 @@ noremap <silent> K 10k
let @s = ")i\<BS>\<CR>\<Esc>"
" remap :W to :w - :W was previous Windows in fzf
command! W w
+" Open Fern with Ctrl-N
+nnoremap <C-n> :Fern -drawer .<CR> <C-w>l
" }}}
" Plugins {{{
call plug#begin()