summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-03-15 01:38:44 -0500
committerzachir <zachir@librem.one>2023-03-15 01:38:44 -0500
commit996710742f6ba540cdd01b6d212db8aecee82561 (patch)
treed9299890e4bc1d1b7aa77ee6cb27806b2dab4553
parent94028213d088a09479bc57a3fa2aea53ca3488b3 (diff)
update nvim with 'ee to :e new file
-rw-r--r--nvim/init.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 5666197..6df2934 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -247,6 +247,8 @@ vnoremap <C-h> <C-w>h
vnoremap <C-j> <C-w>j
vnoremap <C-k> <C-w>k
vnoremap <C-l> <C-w>l
+
+" files
" these may go away soon
noremap <leader>xx :q<CR>
noremap <leader>x! :q!<CR>
@@ -255,6 +257,7 @@ noremap <leader>qq :q<CR>
noremap <leader>q! :q!<CR>
noremap <leader>wq :wq<CR>
noremap <leader>ww :w<CR>
+noremap <leader>ee :e
" escape for term windows
tnoremap <Esc> <C-\><C-n>