![](/style/images/good.png)
![](/style/images/bad.png)
crazy mode
source link: https://www.sadiqpk.org/projects/crazy-mode.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Introduction
crazy-mode is a Rube Goldberg machine (but simpler and one that works) mode for GNU Emacs. crazy-mode helps you code/go crazy. Currently good support for C programming is included.
crazy-mode hacks around the characters as you type in the buffer to do various stuff often reducing the effort to accomplish something.
Say for example, in c-mode, pressing space bar often inserts _
or sometimes
real spaces depending on the context. It also inserts -
when inside #include
header names.
If you find this software useful, you may:
- Help free software by switching to any GNU/Linux.
- Regardless of the Operating System you use, always buy
Debian main compatible hardware or at least ask for one.
- This can help free software, improve hardware lifetime and reduce Planned obsolescence.
![crazy-mode-demo.gif](https://www.sadiqpk.org/projects/img/crazy-mode-demo.gif)
Figure 1: crazy-mode demo
History
It's known that GNU Emacs is extremely extensible, and when I was first introduced to GNU Emacs, I decided to do something weird. I liked the idea of dwim which is very popular in the Emacs world, and I wanted to reduce as much keystrokes to write my code. I wrote some elisp hacks to do so, which worked really great.
Since I has been using this in my personal config for quite some time, I decided to write a mode for that which is more maintainable.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK