summaryrefslogtreecommitdiff
path: root/nvim/init.vim
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-09 15:45:29 -0600
committerzachir <zachir@librem.one>2023-02-09 15:45:29 -0600
commitc2fb36df2c383078b67462b2b93d3f77c376a2e2 (patch)
treedb8bef2b92d24539116f51ec4e9d1b6850bcd3d1 /nvim/init.vim
parenta748b66a5a8ca3e42eca2e577dd4cff80510167a (diff)
update nvim config; update 'xx to be closer to :q
Diffstat (limited to 'nvim/init.vim')
-rw-r--r--nvim/init.vim10
1 files changed, 7 insertions, 3 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index b5831c2..2ebefca 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -76,7 +76,7 @@ set conceallevel=2
let mapleader="'"
" emmet {{{
-let g:user_emmet_leader_key=';'
+let g:user_emmet_leader_key='+'
" }}}
" zig config {{{
@@ -246,10 +246,14 @@ vnoremap <C-h> <C-w>h
vnoremap <C-j> <C-w>j
vnoremap <C-k> <C-w>k
vnoremap <C-l> <C-w>l
+" these may go away soon
noremap <leader>xx :q<CR>
noremap <leader>x! :q!<CR>
-noremap <leader>xw :wq<CR>
-noremap <leader>w :w<CR>
+" these are the new standard
+noremap <leader>qq :q<CR>
+noremap <leader>q! :q!<CR>
+noremap <leader>wq :wq<CR>
+noremap <leader>ww :w<CR>
" escape for term windows
tnoremap <Esc> <C-\><C-n>