The kill ring. I would marry the kill ring and have its babies. Why have other editors not adopted this? Have they?
I haven't used Emacs, but I've worked with people who have, and the one thing that made me think 'wow' was this. So many times have I yanked something, deleted some white space or some such, and then lost it. If (like me) you are a Vim user, there is a plugin to replicate this functionality called YankRing. Highly recommended! http://www.vim.org/scripts/script.php?script_id=1234
The single most useful Emacs feature
91–100 of 112 posts
Re: The single most useful Emacs feature
#92It's interesting that it's hard to explain, because the fingers will play the chord by themselves and I need to stop and think to know what I am actually typing. C-x r k to cut a rectangle, and C-x r t to add one filled with, for example, the comment symbol: (C-space)this to comment C-x r t # #this #to comment
You can also use the M-x comment-region and M-x uncomment region to comment stuff. If you use it a lot, just bind them to a convenient key stroke.
Re: The single most useful Emacs feature
#93The kill ring. I would marry the kill ring and have its babies. Why have other editors not adopted this? Have they?
I haven't used Emacs, but I've worked with people who have, and the one thing that made me think 'wow' was this. So many times have I yanked something, deleted some white space or some such, and then lost it. If (like me) you are a Vim user, there is a plugin to replicate this functionality called YankRing. Highly recommended! http://www.vim.org/scripts/script.php?script_id=1234
Re: The single most useful Emacs feature
#94The kill ring. I would marry the kill ring and have its babies. Why have other editors not adopted this? Have they?
I wish the Windows Clipboard would implement a version of the kill ring. I really, really hate not having previous cuts and copies available. As a rather clumsy work-around I keep an emacs scratch file open on my task bar and copy stuff I might need more than once to it.
Re: The single most useful Emacs feature
#95hi-lock-mode! Hi-lock lets you specify regexes to highlight anywhere in a file; it's like domain-specific font-lock. It's astoundingly useful in code review. For instance, given a giant blob of J2EE web handler code, I can eyeball one handler, recognize the annotation mapping the method to URL syntax, and then punch in a hi-lock regex to light up similar annotations everywhere in the file, then glance through the who…
I've been trying to figure out a good way to do this for a while in vim, and can't say I've found much. The best i can figure is something to this effect: highlight LowVis ctermbg=233 guibg=233 ctermfg=240 syn region LowVis start="\s*log_" end=";" contains=LowVis oneline
Re: The single most useful Emacs feature
#96It isn't an official part of Emacs, but no Emacs user should go without installing el-get, the meta-package-manager for Emacs. https://github.com/dimitri/el-get El-get can install and update elisp from git, svn, http, and EmacsWiki. (It also wraps ELPA and apt-get where packages exist.) If el-get doesn't have a recipe for your favorite Emacs extension, please consider adding the recipe and pushing to GitHub. (It does…
Re: The single most useful Emacs feature
#97Re: The single most useful Emacs feature
#98TRAMP. Being able to seamlessly remotely edit files and run remote modes. At work I regularly edit files on 10-15 remote machines. But I never ssh to them and run an editor. Instead I'll just visit them through TRAMP, run Magit to commit stuff that I've done etc.
Re: The single most useful Emacs feature
#99Re: The single most useful Emacs feature
#100Earlier quoted context omitted.
I haven't used Emacs, but I've worked with people who have, and the one thing that made me think 'wow' was this. So many times have I yanked something, deleted some white space or some such, and then lost it. If (like me) you are a Vim user, there is a plugin to replicate this functionality called YankRing. Highly recommended! http://www.vim.org/scripts/script.php?script_id=1234
The register 0-9 store the last ten deletes (yanks?) in Vim. This serves the same purpose as the kill ring.