diff options
-rw-r--r-- | .config/alacritty/alacritty.yml | 9 | ||||
-rw-r--r-- | .config/nvim/config/keys.vim | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index a3d8d4e..b43ea66 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -10,3 +10,12 @@ key_bindings: mods: Control action: SpawnNewInstance + # nvim <C-S-$> bindings + # chars syntax: \x1b[{$DECIMAL};{$SUM_OF_BITS_MODS}u + # \x1b[ = CSI for ESC+[ + # $DECIMAL = decimal value of unicode char + # $SUM_OF_BITS_MODS = 1=Shift, 2=Alt, 4=Control + # u = unicode + - key: Q + mods: Control|Shift + chars: "\x1b[81;5u" diff --git a/.config/nvim/config/keys.vim b/.config/nvim/config/keys.vim index 7916e12..ffd166c 100644 --- a/.config/nvim/config/keys.vim +++ b/.config/nvim/config/keys.vim @@ -20,6 +20,7 @@ nnoremap <A->> <C-w>> " esc / quit map <ESC><C-c> <CR> nnoremap <C-q> <cmd>q<CR> +nnoremap <C-S-q> <cmd>qall<CR> " save nnoremap <silent> <C-s> <cmd>w<CR> |