Emacs config updates

This commit is contained in:
2024-04-09 12:09:23 -07:00
parent 1a0ee5f081
commit 3f5d0b0247
8 changed files with 118 additions and 129 deletions

View File

@@ -10,7 +10,7 @@ Can remap functions as well as keys
(use-package unfill
:bind ([remap fill-paragraph] . unfill-toggle))
#+end_src
** Supports repeat-map
** use-package supports repeat-map
#+begin_src emacs-lisp
(use-package git-gutter+
:bind
@@ -22,6 +22,10 @@ Can remap functions as well as keys
#+end_src
** shortdoc-display-group
shows useful documentation summary on various categories of things
* High Priority
** persist scratch buffer
*** scratch keybind
** separate system clipboard and kill ring
* mine for ideas
https://github.com/daviwil/emacs-from-scratch/blob/9388cf6ecd9b44c430867a5c3dad5f050fdc0ee1/Emacs.org
https://tony-zorman.com/posts/2022-10-22-emacs-potpourri.html
@@ -33,75 +37,72 @@ https://www.reddit.com/r/emacs/comments/x43eie/heres_a_list_of_emacs_keyboard_sh
better bindings for page up / page down / home / end
center cursor after page up / page down
https://karthinks.com/software/more-less-emacs/#bonus-half-screen-scrolling
** org-evil bindings
M-hjlk for moving headings
** meow
*** equivalent of gd/gu (use embark?)
*** disable completing-read for meow-visit
*** equivalent of r (replace character under point, don't enter insert mode)
*** equivalent of . for repeating edits
*** learn kmacros
ability to scrape recent history for new macro
** try alternatives to meow
*** boon
*** xah-fly-keys
*** god-mode
*** kakoune.el
*** back to evil
*** previous/next buffer
** dired
https://github.com/alexluigit/dirvish
*** toggle hidden files
* read docs/configure
** magit
** when opening help buffer, focus it so I can q out
** eshell
https://www.masteringemacs.org/article/complete-guide-mastering-eshell
https://github.com/iostapyshyn/eshell-vterm
** tramp
*** multi-hop
specifically ssh -> ssh -> docker
specifically ssh -> docker
https://github.com/emacs-pe/docker-tramp.el
https://www.emacswiki.org/emacs/TrampAndDocker
** whitespace cleanup
https://batsov.com/articles/2011/11/25/emacs-tip-number-3-whitespace-cleanup/
** straight
*** lockfile
** corfu
https://takeonrules.com/2022/01/17/switching-from-company-to-corfu-for-emacs-completion/
** embark
https://karthinks.com/software/fifteen-ways-to-use-embark/
*** better binding for moving org subtrees
*** tagging org header
** vertico
** avy
https://karthinks.com/software/avy-can-do-anything/
** xref
*** dumb-jump
** yasnippet
** undo-tree
** vertico
** mwim
** marginalia
** treesit-auto
https://github.com/renzmann/treesit-auto
** orderless
** consult
** corfu
https://www.youtube.com/watch?v=Vx0bSKF4y78
** cape
https://takeonrules.com/2022/01/17/switching-from-company-to-corfu-for-emacs-completion/
*** complete files and lines
** org
*** C-RET should enter meow insert state
*** TAB should cycle sub-folds
*** TAB should cycle when at end of folded header line
*** keybind for narrow
*** switch to use-package repeat-map for C-c C-n/p
*** better binds for moving subtrees
*** transclude
https://github.com/nobiot/org-transclusion
*** roam
*** beautify
https://zzamboni.org/post/beautifying-org-mode-in-emacs/
https://mstempl.netlify.app/post/beautify-org-mode/
https://github.com/Gavinok/emacs.d/blob/main/lisp/org-config.el
https://github.com/minad/org-modern
**** hide markup characters
**** org-modern
** see if multiple-cursors works with meow at all
** magit
*** Fix magit invisible changes in terminal
** lsp-mode
*** lsp-booster
https://github.com/blahgeek/emacs-lsp-booster
** code folding
** symex
** rigpa
https://github.com/countvajhula/rigpa
* modeline
** diminish/delight
*** outli
** combobulate
** emacs-chrome
https://github.com/stsquad/emacs_chrome
** devdocs
https://github.com/astoff/devdocs.el
** vundo
https://github.com/casouri/vundo
* port doom config.el
** set font to Fira Code
** reveal in finder
#+begin_src emacs-lisp
(defun first-executable (candidates)
@@ -113,45 +114,17 @@ https://github.com/countvajhula/rigpa
(call-process
(first-executable '("xdg-open" "open"))
nil nil nil "."))
(map! :leader
:desc "Reveal"
"o o" #'reveal-in-file-browser)
#+end_src
* line wrapping
https://elpa.gnu.org/packages/adaptive-wrap.html
* Fix magit invisible changes in terminal
* when opening help buffer, focus it so I can q out
* Deconflict Emacs and Kitty hotkeys
* if nix in path, prefer nix versions of emacs packages
don't use :straight t in use-package declarations
instead, have section that conditionally runs straight-use-package directives if necessary
* install
** yasnippet/tempo
** mwim
** undo-tree
** parinfer
** eglot / lsp-mode
* languages
** python
** rust
** nix
https://github.com/elkowar/rnix-lsp
** typescript
** web-mode
* meow
** questions
*** Why does xy copy the newline but x;y doesn't?
*** Beacon mode
How does beacon mode decide whether a movement creates all possible cursors or just one?
How to express "insert before the second word of the line"?
Why doesn't visit work consistently in beacon mode?
*** defining C-<something> keys in normal mode seems to fuck everything up for some reason
** sexp state
** try dot mode
https://github.com/wyrickre/dot-mode
** notes
*** r replaces selection with yank buffer
* Notes from Mastering Emacs
** C-x # in emacsclient says "done with current buffer"
** C-x 8 RET (insert-char) for to insert weird characters