Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Multiple cursors plus C-x C-q on a dired buffer is amazingly powerful: you literally just make changes to the lines in the buffer and run C-c C-c to commit them, or C-c C-k to cancel. I've used this for very powerful mass-renames before. (I imagine it also works for deleting files by removing that line but never needed to try it before.)


I use Emacs inside iTerm2. (i.e. `emacs -nw`) Do you know if the multiple cursors package (which I just found today thanks to your comment) works with that? Or is it only in the native windowed version?


It works with terminal-based emacs too. It just inverses the background color of cells to fake the extra cursors.


That is a glorious hack. Thanks! I'll try it out for a spin!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: