Quantcast
Channel: Block editing *live* in Emacs or Vim - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 5 View Live

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 Article



Answer 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 Article

Answer 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 Article

Answer 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 Article

Block 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

Browsing latest articles
Browse All 5 View Live




Latest Images