sponsor Vim development Vim logo Vim Book Ad

WriteRoom for Vim : A Vim emulation of the minimalistic WriteRoom editor

 script karma  Rating 21/16, Downloaded by 1266  Comments, bugs, improvements  Vim wiki

created by
Marc van Doornik
 
script type
utility
 
description
As you probably know, WriteRoom (http://hogbaysoftware.com/products/writeroom) is a very minimalistic text editor, focusing on a clean appearance of just the edited document. This script creates 'padding' around the editing window in gVim and hides the vertical splits and other items to obtain this same effect, while keeping all of Vim's extensive features available.

Using the file is simple, just issue a gvim -S ~/.vim/writeroom/writeroom.vim {filename} at the command line to open the file in a very clean, minimalist setup. Perfect for ADD-ers like myself ;-)

This file adds the following:

Commands:
=========

WriteRoomBG {color} ; sets the background color
WriteRoomFG {color} ; sets the foreground color
WriteRoomFilename {color} ; sets the color for the filename just below the editing window
WriteRoomNonText {color} ; sets the color for non-text characters

Functions:
==========

UpdateScreen() ; updates the screen size and colors

Mappings:
=========

<F5> toggles visibility of EOL, TAB and tilde lines


 
install details
Just extract the tarball to ~/.vim/ so that ~/.vim contains a directory named \"writeroom\". Edit ~/.vim/writeroom/writeroomrc to your liking. Feel free to experiment. Enjoy!
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
writeroom_for_gvim.tar.gz 0.01 2008-05-07 7.0 Marc van Doornik Initial upload
ip used for rating: 3.236.112.101

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github