From 68c7dec3258983be167d0891e7f92c5f8e8b36cc Mon Sep 17 00:00:00 2001 From: pinoinha Date: Wed, 28 Feb 2024 13:25:22 -0300 Subject: eglot e symbols --- emacs/init.el | 5 +++-- keyd/akko.conf | 21 +++++++++++++-------- 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 = ) -- cgit v1.2.3