From c5764d9f16cd3a683749be7244a58328f3f6da34 Mon Sep 17 00:00:00 2001 From: Hydroxycarbamide Date: Sun, 21 Jul 2024 13:43:23 +0200 Subject: [PATCH] update doom emacs config --- dot_config/doom/config.el | 8 ++++++++ dot_config/doom/init.el | 12 ++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/dot_config/doom/config.el b/dot_config/doom/config.el index 3f03810..72c1ce9 100644 --- a/dot_config/doom/config.el +++ b/dot_config/doom/config.el @@ -76,3 +76,11 @@ ;; ;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how ;; they are implemented. + +(map! :n "C-h" #'windmove-left + :n "C-j" #'windmove-down + :n "C-k" #'windmove-up + :n "C-l" #'windmove-right) + +(map! :leader + :desc "Toggle NeoTree" "e" #'neotree-toggle) diff --git a/dot_config/doom/init.el b/dot_config/doom/init.el index f46c81a..7105906 100644 --- a/dot_config/doom/init.el +++ b/dot_config/doom/init.el @@ -17,7 +17,7 @@ (doom! :input ;;bidi ; (tfel ot) thgir etirw uoy gnipleh ;;chinese - ;;japanese + japanese ;;layout ; auie,ctsrnm is the superior home row :completion @@ -45,10 +45,10 @@ (popup +defaults) ; tame sudden yet inevitable temporary windows tabs ; a tab bar for Emacs treemacs ; a project drawer, like neotree but cooler - ;;unicode ; extended unicode support for various languages + unicode ; extended unicode support for various languages (vc-gutter +pretty) ; vcs diff in the fringe vi-tilde-fringe ; fringe tildes to mark beyond EOB - ;;window-select ; visually switch windows + window-select ; visually switch windows workspaces ; tab emulation, persistence & separate workspaces ;;zen ; distraction-free coding or writing @@ -59,7 +59,7 @@ ;;(format +onsave) ; automated prettiness ;;god ; run Emacs commands without modifier keys ;;lispy ; vim for lisp, for people who don't like vim - ;;multiple-cursors ; editing in many places at once + multiple-cursors ; editing in many places at once ;;objed ; text object editing for the innocent ;;parinfer ; turn lisp into python, sort of ;;rotate-text ; cycle region at point between text candidates @@ -91,7 +91,7 @@ ;;debugger ; FIXME stepping through code, to help you add bugs ;;direnv ;;docker - ;;editorconfig ; let someone else argue about tabs vs spaces + editorconfig ; let someone else argue about tabs vs spaces ;;ein ; tame Jupyter notebooks with emacs (eval +overlay) ; run code, run (also, repls) lookup ; navigate your code and its documentation @@ -118,7 +118,7 @@ ;;common-lisp ; if you've seen one lisp, you've seen them all ;;coq ; proofs-as-programs ;;crystal ; ruby at the speed of c - ;;csharp ; unity, .NET, and mono shenanigans + csharp ; unity, .NET, and mono shenanigans data ; config/data formats ;;(dart +flutter) ; paint ui and not much else ;;dhall