Replies: 1 comment
-
You can define your own widget by modifying the implementation of # blerc
function ble/widget/Knusper/edit-command {
ble-edit/content/clear-arg
local ret=
ble/widget/edit-and-execute-command.edit "$_ble_edit_str"
ble/string#rtrim "$ret"
ble-edit/content/reset-and-check-dirty "$ret"
_ble_edit_ind=${#_ble_edit_str}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So
ble-bind -m 'emacs' -f 'C-x C-e' edit-and-execute-command
is cool, and it emulates the same feature in readline. However, would it be possible somehow to have the command not immediately executed after exiting the editor?Beta Was this translation helpful? Give feedback.
All reactions