1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-09-21 18:09:09 +03:00
kakoune/rc
Matthew Forrester c9d50660f1 rc repl x11: allow arg for repl send & refocus kak
tmux-send-text allows sending an argument, when supplied the argument
will be sent to the REPL instead of the current selection.

tmux-send-text also keeps kak focussed, which does not happen in the x11
variant as it uses xdotool to switch window.

this patch allows:

 * Passing an argument to x11-send-text, so that value will be sent
 instead of the current selection.
 * We capture the window id of the current (presumably kak window)
 before we use xdotool to switch window. We can therefore switch back to
 kak afterwards (which we do)
2021-01-16 15:57:32 +00:00
..
detection file.kak: Acknowledge mime type application/x-shellscript 2020-12-23 22:45:07 +01:00
filetype Merge remote-tracking branch 'Ordoviz/pascal' 2021-01-03 11:28:11 +11:00
tools Merge remote-tracking branch 'Ordoviz/pascal' 2021-01-03 11:28:11 +11:00
windowing rc repl x11: allow arg for repl send & refocus kak 2021-01-16 15:57:32 +00:00