Handy dual-editor setting
Nov. 1st, 2011 07:36 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
What with having been a "roving unix sysadmin" frequently being deployed to customer sites for troubleshooting, I have found myself knowing enough vi to confuse my fingers.
To that end, I have a small piece of code in my .emacs to take care of most beeps. I hope other in the same situation might find it useful.
That ensures that ESC : w q RET gives a useful message rather than beeps.
To that end, I have a small piece of code in my .emacs to take care of most beeps. I hope other in the same situation might find it useful.
(setq wq "Emacs, not vi!")
That ensures that ESC : w q RET gives a useful message rather than beeps.
no subject
on 2011-11-02 08:27 pm (UTC)I've even started typing Emacsisms into web page text areas without thinking, now that I'm back in the land of RMS.