mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-28 06:08:05 +03:00
Merge branch 'master' of http://github.com/philgee1981/kakoune
This commit is contained in:
commit
1ca1e8fedc
@ -25,10 +25,7 @@ define-command -docstring %{
|
||||
define-command x11-send-text -docstring "send the selected text to the repl window" %{
|
||||
nop %sh{
|
||||
printf %s\\n "${kak_selection}" | xsel -i
|
||||
wid=$(xdotool getactivewindow)
|
||||
xdotool search --name kak_repl_window windowactivate
|
||||
xdotool key --clearmodifiers "Shift+Insert"
|
||||
xdotool windowactivate $wid
|
||||
xdotool search --name kak_repl_window key --clearmodifiers Shift+Insert
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user