no-fork neovide

main
Alpha Chen 5 months ago
parent 90b4bbc549
commit 96902cd3d0
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -28,7 +28,7 @@
(hotkey.bind [:cmd :alt] :v #(eventtap.keyStrokes (pasteboard.getContents))) (hotkey.bind [:cmd :alt] :v #(eventtap.keyStrokes (pasteboard.getContents)))
;; ⌘⌥⌃E - edit selected text in neovide, inspired by quickcursor (hence the temporary filenme) ;; ⌘⌥⌃E - edit selected text in neovide, inspired by quickcursor (hence the temporary filenme)
(let [editor "/opt/homebrew/bin/neovide --nofork" (let [editor "/opt/homebrew/bin/neovide --no-fork"
cb (fn [text] cb (fn [text]
(let [home (os.getenv :HOME) (let [home (os.getenv :HOME)
date (chomp (run "date -Iseconds -u")) date (chomp (run "date -Iseconds -u"))

Loading…
Cancel
Save