3 ms·
Related: I think perhaps the most valuable aspect of teaching beginners how to use vim/emacs (in a basic sense at least) is that it isn't necessarily just for p
by evoxed 14y ago
Related: I think perhaps the most valuable aspect of teaching beginners how to use vim/emacs (in a basic sense at least) is that it isn't necessarily just for programming. You can "practice" with just about everything you write, and if you stick with it become even more efficient in all your other work outside of programming. I started writing almost all of my letters and essays in vim because it's so much faster and in one environment that I can modify to my own needs.
- esrauch 14y agoWhat kind of settings do you use when in letter-writing-mode? I feel like vim is fairly useless to me for anything that isn't 80 (or 100) character max line based, which isn't how I write letters at all. If I autowrap then its a giant pain to reflow the text (maybe there's an easy way to do that), and if I don't then simple navigation is a giant pain.
- plorkyeran 14y agogq rewraps the current selection.
- evoxed 14y ago:set tw=80 :set wm=4 (wrap margin) Or :help gq to see plorkyeran's suggestion.
- nprasanna87 14y agoIn your vimrc(it's a single line): " <Leader>W -> Blog mode. Allows for using vim to write long sentences and paragraphs nnoremap <leader>W :set colorcolumn=0<cr>:set syntax=markdown<cr>:nnoremap j gj<cr>:nnoremap k gk<cr>