dotfiles
smart-god-mode
dotfiles | smart-god-mode | |
---|---|---|
6 | 2 | |
3 | 6 | |
- | - | |
8.1 | 0.0 | |
2 months ago | about 4 years ago | |
Common Lisp | Emacs Lisp | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
Show HN: A simple Pastebin Clone using Deno
The colors are mostly from zenburn
https://github.com/fiddlerwoaroof/dotfiles/blob/master/emacs...
-
Writing Small CLI Programs in Common Lisp (2021)
Yeah, that’s definitely where I’ve ended up: I have a lot of lisp code, but it’s more of a toolbox for my shell (REPL) than standalone programs.
However, I’ve settled on a pattern that works pretty well for the few small tools I write: https://github.com/fiddlerwoaroof/dotfiles/blob/18cecfc93bcf...
-
Show HN: Mount Unix system into Common Lisp image
I use these keys every day for just about every sort of balanced delimiter manipulation I do in any language: https://github.com/fiddlerwoaroof/dotfiles/blob/eff889f0b749...
A little below I bind this key map to the “,” prefix and I’ve found my layout of paredit commands pretty ergonomic to use long-term.
-
Paredit 25 Released
What made a difference for me was figuring out the right keybindings. The default keybindings in emacs weren’t very ergonomic and so I came up with a more convenient set of keybindings (for evil-mode, since I prefer vim-style editing). They follow a nice pattern on the keyboard and made a huge difference.
I eventually adapted them so I could have relatively consistent keybindings across vim/emacs/VSCode/IntelliJ and the results are here:
https://github.com/fiddlerwoaroof/dotfiles/blob/b13240a42fa4...
If you understand the elisp keybinding notation, it’s possible to use the C-, ones in VSCode.
-
Coming Home to Vim
Yeah, I don’t have home-manager generate configurations for vim. I have home-manager generate a symlink to my version-controlled vimrc. This way I get the quick setup benefits of home-manager without the slow reload times.
Incidentally, I just polished my script for working around that issue: https://github.com/fiddlerwoaroof/dotfiles/blob/master/scrip...
-
Do you use Paredit?
https://github.com/fiddlerwoaroof/dotfiles/blob/master/emacs.d/lisp/configurations/evil-conf.el#L67-L143
smart-god-mode
-
Is it possible to make god-mode turn off automatically after a command?
But at this point, it seems we are just trying to predict when we want god-mode and when not. I had set up a not-smart smart-god-mode a while ago. Its smart in the sense it allows you to set certain preferences about when do you want to go into god-mode and when you want to exit. It is dumb in the sense it does not learn anything, all the preferences are hardcoded.
-
Do you use Paredit?
*Shameless plug: Earlier this year (2020), I feared I might develop RSI without a modal-editing mode like evil in emacs. I also read somewhere that evil doesn't play very nice with everything emacs. Stumbled upon god-mode, but found it too frustrating tonswitch between the 'insert' and 'command' modes - and I suspected I'll have the same frustration with evil. So, cooked up smart-god-mode.
What are some alternatives?
lone - The standalone Linux Lisp
key-chord - Map pairs of simultaneously pressed keys to commands
vscode-emacs-mcx - Awesome Emacs Keymap - VSCode emacs keybinding with multi cursor support
meow - Yet another modal editing on Emacs / 猫态编辑
vim-sexp - Precision Editing for S-expressions
symex.el - An intuitive way to edit Lisp symbolic expressions ("symexes") structurally in Emacs
shcl - SHell in Common Lisp [Moved to: https://github.com/SquircleSpace/shcl]
vim-sexp-mappings-for-regular-people - vim-sexp mappings for regular people
unix-setup - setups, .bashrc and .vimrc for new unix like computers and virtual machines.
helix - A post-modern modal text editor.