update init and TODO.org

This commit is contained in:
Frieder Schlesier 2024-04-29 14:29:41 +02:00
parent 2926e77068
commit 631b46db6f
3 changed files with 37 additions and 20 deletions

View File

@ -22,6 +22,16 @@ solution, e.g. set it up to auto-tangle all .org files within/below
*** TODO IDE *** TODO IDE
**** TODO try eglot instead of lsp-mode
- [ ] for rust https://unwoundstack.com/blog/emacs-as-a-rust-ide.html
- [ ] example for python: https://whatacold.io/blog/2022-01-22-emacs-eglot-lsp/
- [ ] with rust-mode instead of rustig https://github.com/rust-lang/rust-mode?tab=readme-ov-file#lsp
- [ ] eglot commands: https://www.gnu.org/software/emacs/manual/html_node/eglot/Eglot-Commands.html
**** TODO smart movement with smartparens/paredit
- http://danmidwood.com/content/2014/11/21/animated-paredit.html
**** TODO LSP per language **** TODO LSP per language
**** TODO AutoComplete, easy compile, unit test **** TODO AutoComplete, easy compile, unit test
@ -31,6 +41,14 @@ solution, e.g. set it up to auto-tangle all .org files within/below
*** TODO flyspell languages (de, en) *** TODO flyspell languages (de, en)
is it possible to detect based on existing content? is it possible to detect based on existing content?
*** TODO add easily switchable themes (light/dark)
https://github.com/emacs-tw/awesome-emacs?tab=readme-ov-file#theme
top contenders:
- https://github.com/kuanyui/moe-theme.el?tab=readme-ov-file
- https://github.com/bbatsov/zenburn-emacs
- solarized dark/light, e.g. via doom-themes
*** TODO snippets? *** TODO snippets?
*** TODO flycheck for code *** TODO flycheck for code

View File

@ -51,6 +51,7 @@
(keymap-global-unset "M-#") (keymap-global-unset "M-#")
(define-key global-map (kbd "M-#") 'comment-line)
(define-key global-map (kbd "s-b") 'switch-to-buffer) (define-key global-map (kbd "s-b") 'switch-to-buffer)
(define-key global-map (kbd "s-w") 'kill-current-buffer) (define-key global-map (kbd "s-w") 'kill-current-buffer)
(define-key global-map (kbd "s-W") 'kill-buffer-and-window) (define-key global-map (kbd "s-W") 'kill-buffer-and-window)

View File

@ -62,7 +62,6 @@ Some of my personal configuration depends on the system we're running on.
- [ ] add windows - [ ] add windows
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defvar dw/is-termux (defvar dw/is-termux
(string-suffix-p "Android" (string-trim (shell-command-to-string "uname -a")))) (string-suffix-p "Android" (string-trim (shell-command-to-string "uname -a"))))
@ -72,13 +71,13 @@ Some of my personal configuration depends on the system we're running on.
(insert-file-contents "/etc/os-release") (insert-file-contents "/etc/os-release")
(search-forward "ID=guix" nil t)) (search-forward "ID=guix" nil t))
t)) t))
#+end_src #+end_src
** Custom key remap ** Custom key remap
#+begin_src emacs-lisp #+begin_src emacs-lisp
(keymap-global-unset "M-#") (keymap-global-unset "M-#")
(define-key global-map (kbd "M-#") 'comment-line)
(define-key global-map (kbd "s-b") 'switch-to-buffer) (define-key global-map (kbd "s-b") 'switch-to-buffer)
(define-key global-map (kbd "s-w") 'kill-current-buffer) (define-key global-map (kbd "s-w") 'kill-current-buffer)
(define-key global-map (kbd "s-W") 'kill-buffer-and-window) (define-key global-map (kbd "s-W") 'kill-buffer-and-window)
@ -89,7 +88,6 @@ Some of my personal configuration depends on the system we're running on.
** Dired ** Dired
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package all-the-icons-dired) (use-package all-the-icons-dired)
(use-package dired-ranger) (use-package dired-ranger)