<Nulo>
I know I can just `command ; notify-send done`
<w0rm>
Nulo: yeah, you basically want to set up bash to send alert (bell) character and then as you say - play with notify-send in [bell] section
novakane has joined #foot
benbrown has quit [Quit: benbrown]
benbrown has joined #foot
ambasta has joined #foot
<ambasta>
So ctrl+arrow keys allow me to jump words at a time in the terminal. However, the same doesn't work with vim unless I set TERM='xterm-256color' (foot terminfo are compiled and installed)
<ambasta>
Is this expected behavior or a known issue?
<dnkl>
ambasta: yeah, that's unfortunately expected, and is a limitation in vim
<dnkl>
there _are_ capabilities in the terminfo that describes "shifted" arrow keys (C-<arrow> being one of them)
<dnkl>
but vim doesn't use this information, but instead only enables it when it detects a "supported" terminal
<dnkl>
like xterm
<dnkl>
fwiw, neovim doesn't have this issue
<dnkl>
instead of overriding the TERM environment variable, you can set term in your vimrc. That way, the rest of your terminal applications can use the "foot" terminfo
gtms has joined #foot
<ambasta>
dnkl: Ah cool, thanks.. I did try setting vim mappins for [5C/D, but that didn't seem to work (which is was vim detects when testing with C-v, C-arrow) .. hence was quite confused
<ambasta>
Hmm, overriding it in vimrc doesn't seem to work
nojob has joined #foot
nojob has quit [Client Quit]
<dnkl>
ambasta: "set term=xterm-256color" in ~/.vimrc works for me
<dnkl>
as for termcap, I'm fairly sure it uses terminfo, but not for everything
<dnkl>
in this case, I have a suspicion the capabilities describing shifted keys are relatively new, and that vim don't recognize them (but do have them hardcoded for TERM=xterm)