aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar pinoinha <pinoinha@disroot.org> 2024-02-28 16:25:22 +0000
committerGravatar pinoinha <pinoinha@disroot.org> 2024-02-28 16:25:22 +0000
commit68c7dec3258983be167d0891e7f92c5f8e8b36cc (patch)
tree2be1fe166ec6a1c31ba5bb6f101eb091b4f46356
parent2e3f812681ab8257bcb84c57bb337d224ac03e84 (diff)
eglot e symbols
-rw-r--r--emacs/init.el5
-rw-r--r--keyd/akko.conf21
2 files changed, 16 insertions, 10 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 6a24ca4..55f4e59 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -223,7 +223,8 @@ If the new path's directories does not exist, create them."
(css-mode . css-ts-mode)
(python-mode . python-ts-mode)
(rust-mode . rust-ts-mode)
- (go-mode . go-ts-mode))))
+ (go-mode . go-ts-mode)
+ (c-mode . c-ts-mode))))
(use-package recentf
:bind (("C-x C-r" . recentf-open))
@@ -398,7 +399,7 @@ If the new path's directories does not exist, create them."
;; Configure hooks to automatically turn-on eglot for selected modes
:hook
- (((python-mode ruby-mode elixir-mode rust-ts-mode go-ts-mode) . eglot))
+ (prog-mode . eglot-ensure)
:custom
(eglot-send-changes-idle-time 0.5)
diff --git a/keyd/akko.conf b/keyd/akko.conf
index c6f37ab..62b41c0 100644
--- a/keyd/akko.conf
+++ b/keyd/akko.conf
@@ -110,20 +110,23 @@ n = /
m = z
, = ,
. = .
-/ = overloadt(symbols, ', 150)
+/ = oneshot(symbols)
leftcontrol = layer(numbers)
righsthift = rightshift
-k+l = enter
+o+p = enter
l+; = backspace
-d+f = esc
+w+e = esc
s+d = tab
space = overloadt(nav, space, 150)
+[shift]
+/ = "
+
[nav]
k = left
l = down
@@ -146,13 +149,15 @@ l = 5
, = 7
. = 8
/ = 9
-h = =
-j = +
-m = -
-g = *
-b = /
+
+[ = -
+' = +
+rightshift = =
+j = *
+m = /
[symbols]
+/ = '
q = }
w = ]
e = )