diff --git a/doc/NEWS b/doc/NEWS index e05af3209..608a33cea 100644 --- a/doc/NEWS +++ b/doc/NEWS @@ -37,6 +37,7 @@ Version 4.8.27 * Filehighlight of JSON files as documents (#4250) * Support of alacritty terminal emulator (https://github.com/alacritty/alacritty) (#4248) * Support of foot terminal emulator (https://codeberg.org/dnkl/foot) (#4251) + * Support of (alt+)shift+arrow keys in st terminal emulator (st.suckless.org) (#4267) * Mouse support in screen: don't check $DISPLAY variable (#4233) * mc.ext: support fb2 e-books (#4167) * ext.d: use mediainfo to view info about various media files (#4167) diff --git a/misc/mc.lib b/misc/mc.lib index bf8be065c..73ea2bcbe 100644 --- a/misc/mc.lib +++ b/misc/mc.lib @@ -174,3 +174,19 @@ f17=\\e[e f18=\\e[f f19=\\e[g f20=\\e[h + +[terminal:st] +shift-right=\\e[1\;5C +shift-left=\\e[1\;5D +shift-up=\\e[1\;2A +shift-down=\\e[1\;2B +alt-shift-right=\\e[1\;6C +alt-shift-left=\\e[1\;6D +alt-shift-up=\\e[1\;6A +alt-shift-down=\\e[1\;6B + +[terminal:st-256color] +copy=st + +[terminal:st-git-256color] +copy=st