conditional set the editor to either emacsclient or emacsclient

This commit is contained in:
James Patrick 2020-06-01 21:00:56 -04:00
parent 0cb5f0b377
commit 0311eeff05

View File

@ -26,6 +26,8 @@ unbind <C-b>
bind h tabprev bind h tabprev
bind l tabnext bind l tabnext
js tri.browserBg.runtime.getPlatformInfo().then(os=>{const editorcmd = os.os=="mac" ? "/usr/local/emacsclient" : "emacsclient"; tri.config.set("editorcmd", editorcmd)})
" Better find. " Better find.
unbind <C-f> unbind <C-f>
bind / fillcmdline find bind / fillcmdline find