On Mon, Nov 8, 2010 at 5:51 PM, George V. Reilly <[email protected]> wrote:

> On Sat, Nov 6, 2010 at 11:22 PM, Tao Joannes <[email protected]> wrote:
>
>> I'm using vim to write a novel, and lots of other short stories, etc.
>>
>> One problem I always have is that I find it difficult to resist the
>> temptation to go back and edit while I'm doing the initial draft.
>>
>> I've got a script that handles file management, wordcount, backups, etc,
>> that's working pretty well, and I'd like to work in a "drafting" mode that
>> will make VIM work like a typewriter.
>>
>> What I mean is that the navigation is gone, except for switching between
>> insert and command mode.  All I want is type, space, enter, and escape,
>> basically, having it go automatically to the end of the file when opening
>> would be nice, too.
>>
>> I know I could do it with a 'cat' command that captures standard in and
>> appends it to whatever file I'm editing, but that would get kludgy on the
>> scripting, so I'd much rather just have an alternate vimrc that made it
>> behave as specified. I'd have a toggle setting for "draft" or "revision"
>> mode, then would select the files by number using a case/select.
>>
>> I've forgotten more about vi commands, etc, than I can remember now, so
>> any help to get this working would be greatly appreciated.
>>
>>
> http://www.google.com/search?q=vim+writeroom returns several hits that may
> be of interest. I can't vouch for any of them.
>

Writeroom looks pretty cool, and pretty easy to emulate, lol.

I actually took the map to <nop> suggestion, and mapped
j,k,l,h,<bs><up><down><left><right> to <nop> and mapped i to GA, worked a
little ModeToggle function into the script, and made DRAFT mode the
default.

It's pretty badass actually.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to