sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 9792967307fc14fa70b77ef5cc250463a1e1e08a
parent 5055da8533f51c0ea95c47b69dcd52e7041eab45
Author: Jan Christoph Ebersbach <jceb@e-jc.de>
Date:   Tue,  6 Jun 2017 18:54:29 +0200

[st] Fix code formatting

Diffstat:
Mst.suckless.org/patches/fix_keyboard_input.md | 31+++++++++++--------------------
1 file changed, 11 insertions(+), 20 deletions(-)

diff --git a/st.suckless.org/patches/fix_keyboard_input.md b/st.suckless.org/patches/fix_keyboard_input.md @@ -21,42 +21,33 @@ Notes - If you use `<C-[>` for `<Esc>`, I suggest that you remove the following line from this patch to reenable the behavior: -``` { XK_bracketleft, ControlMask, "\033[91;5u", 0, 0, 0}, -``` - If you use `<C-6>` for changing to the alternative file, I suggest that you remove the following line from this patch to reenable the behavior: -``` { XK_6, ControlMask, "\033[54;5u", 0, 0, 0}, -``` - I'm not yet sure how to bind the new mappings to actions in viom. It works for some keys while others appear to be not working at all. The first mappings work for me with the patch while from the latter only `<S-Tab>` works: -``` -nmap <C-enter> :echo "<C-enter>"<CR> -nmap <C-S-enter> :echo "<C-S-enter>"<CR> -nmap <C-S-M-enter> :echo "<C-S-M-enter>"<CR> -nmap <S-M-enter> :echo "<S-M-enter>"<CR> -nmap <M-enter> :echo "<M-enter>"<CR> -nmap <C-M-enter> :echo "<C-M-enter>"<CR> - -nmap <C-Tab> :echo "<C-Tab>"<CR> -nmap <C-S-Tab> :echo "<C-S-Tab>"<CR> -nmap <S-Tab> :echo "<S-Tab>"<CR> -nmap <M-Tab> :echo "<M-Tab>"<CR> -``` + nmap <C-enter> :echo "<C-enter>"<CR> + nmap <C-S-enter> :echo "<C-S-enter>"<CR> + nmap <C-S-M-enter> :echo "<C-S-M-enter>"<CR> + nmap <S-M-enter> :echo "<S-M-enter>"<CR> + nmap <M-enter> :echo "<M-enter>"<CR> + nmap <C-M-enter> :echo "<C-M-enter>"<CR> + nmap <C-Tab> :echo "<C-Tab>"<CR> + nmap <C-S-Tab> :echo "<C-S-Tab>"<CR> + nmap <S-Tab> :echo "<S-Tab>"<CR> + nmap <M-Tab> :echo "<M-Tab>"<CR> - I tried to create mappings in vim the following way but it didn't work either: -``` -nmap <Esc>[9;5u :echo "<C-Tab>"<CR> -``` + nmap <Esc>[9;5u :echo "<C-Tab>"<CR> Download --------