emacs and kanata updates

This commit is contained in:
Matt Nish-Lapidus 2025-06-03 22:07:11 -04:00
parent 7e54cca1a3
commit 434c4cdb7a
4 changed files with 45 additions and 41 deletions

View file

@ -1,27 +1,27 @@
{ pkgs, ... }:
let
emacs_pkg = ((pkgs.emacsPackagesFor pkgs.emacs30-pgtk).emacsWithPackages (
epkgs: [
epkgs.vterm
epkgs.mu4e
epkgs.sly
epkgs.sly-quicklisp
epkgs.geiser-racket
epkgs.cider
epkgs.editorconfig
epkgs.shfmt
epkgs.apheleia
epkgs.parinfer-rust-mode
epkgs.manualPackages.tree-sitter-langs
epkgs.manualPackages.treesit-grammars.with-all-grammars
epkgs.pretty-sha-path
epkgs.pdf-tools
epkgs.all-the-icons
epkgs.eldoc
epkgs.tablist
epkgs.parseedn
epkgs.parseclj
epkgs.track-changes
epkgs: with epkgs; [
vterm
mu4e
sly
sly-quicklisp
geiser-racket
cider
editorconfig
shfmt
apheleia
parinfer-rust-mode
tree-sitter-langs
treesit-grammars.with-all-grammars
pretty-sha-path
pdf-tools
all-the-icons
eldoc
tablist
parseedn
parseclj
track-changes
]));
in {
programs.emacs = {

View file

@ -29,6 +29,9 @@ let
;; tap-dance for common combos
tap-copy (tap-dance 150 (c C-c))
tap-paste (tap-dance 150 (v C-v))
tap-paste-p (tap-dance 150 (p C-v))
tap-undo (tap-dance 150 (u C-z))
)
'';
basic-nav = ''
@ -87,9 +90,9 @@ ${shared-alias}
(deflayer base
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
tab q w e r t y @tap-undo i o @tap-paste-p [ ] \
@supesc @a @s @d f g h j k l ; ' ret
@sp-lsft z x @tap-copy v b n m , . / @sp-rsft
@sp-lsft z x @tap-copy @tap-paste b n m , . / @sp-rsft
@supesc @controls lalt lctrl @spcnav @spcnav rctrl ralt @controls @hyper @supesc
bspc mlft mrgt del)