Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Collection of configurations I use to for my distraction free editing environment in Vim
branch: master

Merge pull request #5 from mmai/master

Gvim compatibility
latest commit df624e52b9
Lakshan Perera authored
Failed to load latest commit information.
colors Extracted distraction free mode into its own plugin.\n Also, it can b…
plugin gvim compatibility
syntax initial commit gvim compatibility

Distraction Free Writing for Vim

  • Copy plugin/DistractionFree.vim to ~/.vim/plugin

  • Copy syntax/mkd.vim to ~/.vim/syntax

  • Copy ftdetect/mkd.vim to ~/.vim/ftdetect

  • Copy colors/iawriter.vim to ~/.vim/colors

  • In .vimrc, specify the colorschemes and fonts to use in fullscreen mode and normal mode.

    g:fullscreen_colorscheme - colorscheme to use in fullscreen mode 
    g:fullscreen_font font to use in fullscreen mode 
    g:normal_colorscheme - colorscheme to use in normal mode 
    g:normal_font - font to use in normal mode

example (macvim):

    let g:fullscreen_colorscheme = "iawriter"
    let g:fullscreen_font = "Cousine:h14"
    let g:normal_colorscheme = "codeschool"
    let g:normal_font="Inconsolata:h14"

or, for gvim:

  let g:fullscreen_colorscheme = "iawriter"
  let g:fullscreen_font ="Cousine 12"
  let g:normal_colorscheme= g:colors_name
  let g:normal_font=&guifont

Under linux, you must manually activate fullscreen mode (ie ALT+F11)

Something went wrong with that request. Please try again.