dnkl changed the topic of #foot to: Foot - fast, lightweight and minimalistic Wayland terminal emulator || 1.9.0 || https://codeberg.org/dnkl/foot || channel logs: https://libera.irclog.whitequark.org/foot
<ericonr> wrap commands with something that will warn you when the child exits?
<lanodan> Or jam a small sound (beep(1) is slightly adjustable) into the PS1, got this here so I also get a different sound based on success or fail.
<Nulo> ericonr, I specifically asked because I wanted to replicate the behaviour of the Elementary terminal: https://github.com/deyvisonrocha/pantheon-terminal-notify-zsh-plugin
<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> Though vim documentation which mentions +termcap support here, http://vimdoc.sourceforge.net/htmldoc/term.html#termcap is not entirely correct?
<ambasta> s/termcap/terminfo
<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)
<dnkl> these are just wild guesses though
ambasta has quit [Ping timeout: 256 seconds]
novakane has quit [Quit: WeeChat 3.3]