Answer by Trey Jackson for Block editing *live* in Emacs or Vim
There is 'cua-mode' which comes with Emacsen 22.1 and later, or follow the link to download for earlier versions of Emacs. There's a short video that introduces the functionality. For general rectangle...
View ArticleAnswer by Jander for Block editing *live* in Emacs or Vim
I can answer for Vim, but not Emacs. Start and end selection in positions outside the text: :set virtualedit=block will enable the behavior you want. You can drop the initial colon and add it to your...
View ArticleAnswer by Shawn J. Goff for Block editing *live* in Emacs or Vim
In vim, the typical way to delete the first n characters is to do something like :%s/.\{0,6\}//. % will do the whole document; you can replace that with a selection or with the actual lines you care...
View ArticleAnswer by Tom for Block editing *live* in Emacs or Vim
For example, I'd like to remove the N first characters of each line, but the first and last lines contain less than N characters. Emacs: start selection at the first line and simply add the missing...
View ArticleBlock editing *live* in Emacs or Vim
jEdit supports block editing, but Emacs and Vim seem to have some serious usability issues on the same subject. If someone could fill in the unknowns here it would be much more bearable to use either...
View Article