Skip to content

Commit

Permalink
vim: quit all vs quit shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
appaquet committed Jan 6, 2025
1 parent 37493ed commit ee4d2e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@
* `<leader>w` to close the current buffer by trying not to messup the layout

* `<leader>o` to close all buffers except the current one
* `<leader>q` to quit vim
* `<leader>qq` to quit vim
* `<leader>q` to close current pane
* `<leader><tab>` to switch between tab and spaces
* `<ctrl>e` to toggle file etree
* `<ctrl>p` fuzzy finding file
Expand Down
2 changes: 1 addition & 1 deletion home-manager/modules/neovim/conf/keymap.vim
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ map <Leader>p :read !pbpaste<CR>
map <D-s> :w<CR>
map <Leader>s :w<CR>
map <Leader>q :q<CR>
map <Leader>a :qa<CR>
map <Leader>qq :qa<CR>
" For when you forget to sudo.. Really Write the file.
cmap w!! w !sudo tee % >/dev/null
Expand Down

0 comments on commit ee4d2e9

Please sign in to comment.