Best in class LLM for everything, 3.5 is free 4.0 is paid.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Emacs Hammerspoon Script | |
-- Author: Justin Tanner | |
-- Email: work@jwtanner.com | |
-- License: MIT | |
--- What does this thing do? | |
-- Allows you to have Emacs *like* keybindings in apps other than Emacs. | |
-- You can use Ctrl-Space to mark and cut text just like Emacs. Also enables Emacs prefix keys such as Ctrl-xs (save). | |
--- Installation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Can Hammerspoon create chord / prefix keys like Emacs? | |
local ctrlXActive = false | |
local hotkeyModal = hs.hotkey.modal.new() | |
function startCtrlX() | |
ctrlXActive = true | |
hs.timer.doAfter(1, clearCtrlX) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance | |
#Installkeybdhook | |
#UseHook | |
SetKeyDelay 0 | |
global selecting := False | |
SendWithShift(keys) | |
{ | |
If (selecting) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; C-a start line | |
;; C-b backward character | |
;; C-c prefix | |
(global-set-key "\C-c\C-c" 'comment-region) | |
(global-set-key "\C-cc" 'comment-region) | |
;; C-d delete character | |
;; C-e end of line | |
;; C-f forward character | |
;; C-g cancel / escape | |
;; C-h prefix / chord |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Emacs Hammerspoon Script | |
-- Author: Justin Tanner | |
-- Email: work@jwtanner.com | |
-- License: MIT | |
-- What does this script do? | |
-- Allows you to have *most* Emacs keybindings in other apps. | |
-- Ctrl-Space space be used to mark and cut text just like Emacs. Also enables Emacs prefix keys such as Ctrl-xs (save). | |
-- Installation |