Compare commits
No commits in common. "a77c7c8e2f6c3a3afe67fff16d46eae45c0454d7" and "2926e77068c453dee3e39ab6f9e86f1288ef2062" have entirely different histories.
a77c7c8e2f
...
2926e77068
18
TODO.org
18
TODO.org
|
@ -22,16 +22,6 @@ 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
|
||||||
|
@ -41,14 +31,6 @@ 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
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit ce2b4bad5b14c697ee820de07d3541dd04af46c4
|
Subproject commit 1ab250cb3b4da194477cc44819483f496a1ccf46
|
3
init.el
3
init.el
|
@ -43,7 +43,7 @@
|
||||||
(string-suffix-p "Android" (string-trim (shell-command-to-string "uname -a"))))
|
(string-suffix-p "Android" (string-trim (shell-command-to-string "uname -a"))))
|
||||||
|
|
||||||
(defvar dw/is-guix-system (and (eq system-type 'gnu/linux)
|
(defvar dw/is-guix-system (and (eq system-type 'gnu/linux)
|
||||||
(file-exists-p "/etc/os-release")
|
(file-exists-p "/etc/os-release")
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(insert-file-contents "/etc/os-release")
|
(insert-file-contents "/etc/os-release")
|
||||||
(search-forward "ID=guix" nil t))
|
(search-forward "ID=guix" nil t))
|
||||||
|
@ -51,7 +51,6 @@
|
||||||
|
|
||||||
(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)
|
||||||
|
|
36
init.org
36
init.org
|
@ -62,32 +62,34 @@ 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
|
|
||||||
(string-suffix-p "Android" (string-trim (shell-command-to-string "uname -a"))))
|
|
||||||
|
|
||||||
(defvar dw/is-guix-system (and (eq system-type 'gnu/linux)
|
(defvar dw/is-termux
|
||||||
(file-exists-p "/etc/os-release")
|
(string-suffix-p "Android" (string-trim (shell-command-to-string "uname -a"))))
|
||||||
(with-temp-buffer
|
|
||||||
(insert-file-contents "/etc/os-release")
|
(defvar dw/is-guix-system (and (eq system-type 'gnu/linux)
|
||||||
(search-forward "ID=guix" nil t))
|
(file-exists-p "/etc/os-release")
|
||||||
t))
|
(with-temp-buffer
|
||||||
|
(insert-file-contents "/etc/os-release")
|
||||||
|
(search-forward "ID=guix" nil 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)
|
(define-key global-map (kbd "s-o") 'other-window)
|
||||||
(define-key global-map (kbd "s-o") 'other-window)
|
(define-key global-map (kbd "C-z") nil)
|
||||||
(define-key global-map (kbd "C-z") nil)
|
#+end_src
|
||||||
#+end_src
|
|
||||||
|
|
||||||
** 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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue