diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-07-02 13:56:10 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | 793611ddf2da9941a3eefbf74b232ddd03d7aebc (patch) | |
tree | 6802648988f725d5e53b117ed35876e4feb71ae9 | |
parent | 0bfd764305eb955cda01043cf87e30c331085e9e (diff) |
[alacritty+nvim] enable Control+Shift+KEY bindings
-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> |