diff options
| -rw-r--r-- | config/emacs/init.el | 4 | ||||
| -rw-r--r-- | config/emacs/sanemacs.el | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el index 075e901..b4460bf 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -4,7 +4,9 @@ ;; 1. Emacs over devcontainers/docker with TRAMP ;; <https://happihacking.com/blog/posts/2023/dev-containers-emacs/> ;; 2. Setup LLM coding: gptel, aidermacs -;; 3. Try out neocaml - tree-sitter based +;; 3. Try out neocaml - tree-sitter based OCaml mode +;; 4. Take some stuff from Emacs NANO +;; <https://github.com/rougier/nano-emacs> (load "~/.config/emacs/sanemacs.el" nil t) diff --git a/config/emacs/sanemacs.el b/config/emacs/sanemacs.el index 54ebca3..a59b862 100644 --- a/config/emacs/sanemacs.el +++ b/config/emacs/sanemacs.el @@ -56,6 +56,9 @@ :config (global-undo-tree-mode +1)) +;; Custom keybinds +(keymap-global-set "C-x k" #'kill-current-buffer) + ;; Use separate file for custom variables (setq custom-file "~/.cache/emacs/custom.el") (unless (file-exists-p custom-file) |
