
WRITEROOM EMACS GENERATOR
See this great vimrc generator to get a decent starter vimrc. vimrc for the word count: īoth work flawlessly even with a 200'000 words markdown novel (no lag at all) Thanks for your interest! I hope it will be useful to you or to other people. I also have a shortcut to navigate to the previous or next scene/chapter/book:Įdit: I can't embed an image… so go to to see my "incognito/censored/kill-the-inner-editor" mode It's a single key toggle, so I can quickly hide or reveal the whole window.Īnother "can't live without it" setting is the one to return to last edit position when opening files. I can still read some of it with a little effort if I typed it not too long ago, and see the overall structure so I don't get lost. It serves two purposes: to protect my kids or other prying eyes from reading my "rated" stuff, and to help me resist my inner editor (can't correct what I don't see!). I've added a live word count to my status bar and a feature I haven't seen elsewhere but which I now find mandatory: something to hide what I'm writing but still provide me with some context. vimrc, but the only ones I couldn't live without for prose are Goyo (distraction-free), vim-peekaboo (show registers while yanking/pasting) and vim-Grammalecte (a french grammar/spelling checker).

WRITEROOM EMACS HOW TO
See how to create custom workspaces to switch from coding to writing prose (added ).\ | setl spell spl=en_us fdl=4 noru nonu nornuĪlso see this reddit thread from about how to use ViM for novel writing. Plug 'reedes/vim-wordy' " Weasel words and passive voiceĪutocmd filetype markdown,mkd call pencil#init() Plug 'reedes/vim-textobj-sentence' " Treat sentences as text objects Plug 'reedes/vim-litecorrect' " Better autocorrections Plug 'reedes/vim-lexical' " Better spellcheck mappings
WRITEROOM EMACS FULL
Plug 'junegunn/goyo.vim' " Full screen writing mode Plug 'junegunn/limelight.vim' " Highlights only active paragraph Plug 'tpope/vim-abolish' " Fancy abbreviation replacements Plug 'reedes/vim-pencil' " Super-powered writing things This reddit post and answer has some interesting starting points to explore: The suggested folding.vim file changes that into a word count and nothing else (at a slight resource expense, most likely - especially if folds grow into 1k+ words). Just to add some clarification - the original setup provides a line count that is mostly useless to authors. Just replace your ~/.vim/plugged/vim-markdown-folding/after/ftplugin/markdown/folding.vim with this:
WRITEROOM EMACS UPDATE
I managed to decrease the word count overhead quite a bit somehow by copy/pasting a function from somewhere that made it only update it on every line break (at 20k words it's still painful when inserting a line break though). I just noticed that my Vim configuration is based yours that is referenced at. I turned off numbers (too technical for NaNo), added autoindent and shift width/expand tab (which I find more useful for doing sub-bullets in markdown).Ī more-efficient wordcount algorithm for writers (vithic) I made a (slightly modified) vimrc based on WurdBender's. It's there if anybody wants to see it, though it's maybe a bit cluttered and noobish. vimrc on GitHub, which I'm told is a good idea in case you need to quickly set up Vim on a new system. I wasn't sure I'd get much use out of the Airline bar, but it comes in handy. At the moment I'm liking Input Mono.īelow is what my setup looks like with some code to show off the colors.

I've been using Tomorrow Night from the repository you linked, except I run in 256 color mode (set t_Co=256) to subdue the colors a bit. I noticed most of the Vim community seems to prefer the Solarized theme, but I really can't stand it myself. ViM = Vi Improved it is a superset of the original vi editor.

vim does have a learning curve but it is very worthwhile to learn because your fingers never leave the keyboard as you are writing and editing. emacs wars that have existed from the time of usenet and persist till today. You may have heard of the infamous vim vs. Vim is a very powerful modal text editor with a large system of plugins. 3.1.1 A more-efficient wordcount algorithm for writers (vithic).
