diff options
author | zachir <zachir@librem.one> | 2023-02-09 15:45:29 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-09 15:45:29 -0600 |
commit | c2fb36df2c383078b67462b2b93d3f77c376a2e2 (patch) | |
tree | db8bef2b92d24539116f51ec4e9d1b6850bcd3d1 | |
parent | a748b66a5a8ca3e42eca2e577dd4cff80510167a (diff) |
update nvim config; update 'xx to be closer to :q
-rw-r--r-- | nvim/init.vim | 10 |
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> |