Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre0991 committed Feb 16, 2025
1 parent 56b43df commit 14e75df
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
12 changes: 11 additions & 1 deletion emacs.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
clojure-ts-mode
consult
corfu
copilot
cue-mode
dape
denote
Expand Down Expand Up @@ -1245,9 +1246,18 @@ for better naming in the hooks it is listed."
'(("/Dockerfile\\.multistage\\'" . dockerfile-ts-mode))
auto-mode-alist)))

;; needs `copilot-install-server`
(use-package copilot
:bind
(:map copilot-completion-map
("C-f" . copilot-accept-completion)
("C-g" . copilot-clear-overlay))
:hook
(prog-mode . copilot-mode))

(use-package magit
:config
(with-eval-after-load 'magit-status-mode
(with-eval-after-load 'magit-mode
(define-key magit-status-mode-map (kbd "K") 'magit-discard)
(define-key magit-hunk-section-map (kbd "K") 'magit-discard)))

Expand Down
4 changes: 4 additions & 0 deletions hammerspoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@ end)
hs.hotkey.bind({"cmd", "alt", "ctrl", "shift"}, "d", function()
aptLaunchApp("calendar")
end)

hs.hotkey.bind({"cmd", "alt", "ctrl", "shift"}, "t", function()
aptLaunchApp("terminal")
end)
10 changes: 5 additions & 5 deletions iris_rev__8.layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"KC_GRV",
"KC_TRNS",
"OSL(3)",
"KC_TRNS",
"OSL(2)",
"KC_LBRC",
"KC_BSLS",
"A(KC_BSPC)",
Expand Down Expand Up @@ -237,17 +237,17 @@
"KC_TRNS",
"C(KC_SPC)",
"HYPR(KC_D)",
"HYPR(KC_D)",
"KC_TRNS",
"HYPR(KC_BSLS)",
"HYPR(KC_1)",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"C(S(G(KC_4)))",
"KC_TRNS",
"KC_END",
"LCAG(KC_RGHT)",
"LCA(KC_UP)",
"KC_HOME",
"LCAG(KC_LEFT)",
"A(KC_RGHT)",
"KC_TRNS",
"KC_TRNS",
Expand Down

0 comments on commit 14e75df

Please sign in to comment.