Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Call :send from within kak [feature request] #42

Open
sucrecacao opened this issue Dec 24, 2020 · 2 comments
Open

Call :send from within kak [feature request] #42

sucrecacao opened this issue Dec 24, 2020 · 2 comments

Comments

@sucrecacao
Copy link

(Might be a bug actually)

steps

create the following bash del.sh script:

#! /bin/bash
:send execute-keys `xd`

Open kakoune from kak-shell and run the command:

: %sh{ ./del.sh}

Currently nothing happen, but it would be nice if the xd keys got execute to delete a line.

This would allow the use of :send and :get within the plugin and script that get called by kakoune. And ease the writting

@alexherbo2
Copy link
Collaborator

alexherbo2 commented Dec 24, 2020

Try from Kakoune:

$ :send execute-keys xd

With your script:

$ del.sh

See also Custom connect commands.

@sucrecacao
Copy link
Author

Try from Kakoune:

$ :send execute-keys xd

That didn't work neither. I'm running the last version of connect.kak

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants