3 ms·
If you're an emacs user, prefix the line with the desired number of spaces then type M-q, copy back into your browser. That's my solution to formatting block qu
by Jtsummers 13y ago
If you're an emacs user, prefix the line with the desired number of spaces then type M-q, copy back into your browser. That's my solution to formatting block quotes at least. Your long line prexixed with 3 spaces in emacs:
So a paragraph that would run off the page and break mobile
devices in normal circumstances should be broken in several
places by a hard 'return' plus more spaces.
And your split-by-hand block quote:
Is really just a collection of sentence fragments that all
fit the same formatting. There might be a better way, but I
don't know it!
- jlgaddis 13y agoVim, FWIW: Visual mode, select the lines, hit ">"
- Jtsummers 13y agoAs a Vim newb (well, ok I can use it, but I'm not well-versed in its more arcane elements), how do you select lines? C-<space> in emacs starts region selection, but I've never tried to select anything in Vim.
- eieio 13y agov starts standard visual(region selection) mode. Shift-v starts line-by-line visual mode. Ctrl-v starts visual column mode(which is both very cool and very useful)
- judk 13y agohttp://usevim.com/2012/05/16/mouse/ http://usevim.com/2012/05/16/mouse/ set mouse=a Or startline,endline command: 10,20d