Edit text with emacs
This commit is contained in:
parent
1155e6203e
commit
bb2d95f5a3
|
@ -541,3 +541,11 @@ key.setGlobalKey(["C-x", "r", "l"], function (ev, arg) {
|
|||
key.setGlobalKey(["C-x", "b"], function (ev, arg) {
|
||||
ext.exec("tanything", arg);
|
||||
}, "view all tabs", true);
|
||||
|
||||
// ========================== k2emacs ==============================//
|
||||
key.setEditKey (['C-x', 'C-e'], function (ev, arg) {
|
||||
ext.exec ( "edit_text", arg, ev);
|
||||
}, "Edit in external editor", true);
|
||||
|
||||
// plugins.options [ "K2Emacs.editor" ] = "/usr/local/bin/termite --title='emacsclient editor' --exec='emacsclient -t -c'";
|
||||
plugins.options [ "K2Emacs.editor" ] = "/home/ap/Scripts/bin/open_with_emacsclient";
|
||||
|
|
Loading…
Reference in New Issue