vim-zenmode


Ⅰ. 插件描述

zen mode vim plugin

Ⅱ. 基本信息

创建日期:  2013-01-31
使用用户:  9
Github星:  8
插件作者:  Henri Bourcereau

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'mmai/vim-zenmode'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'mmai/vim-zenmode'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'mmai/vim-zenmode'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/mmai/vim-zenmode

Ⅳ. 文档说明

vim-zenmode

This plugin transforms vim into a distraction free editor similar to writeroom or iaWriter.

Zen mode is based on Vimroom by
Mike West. It has only been tested on gvim + Xubuntu

Installation

Install pathogen.vim if you haven't already done so, then simply execute:

  cd ~/.vim/bundle
  git clone git://github.com/mmai/vim-zenmode.git

Install a good looking monospaced font :

  cd ~/.font
  curl http://www.fontsquirrel.com/fonts/download/cousine > cousine.zip
  unzip cousine.zip
  fc-cache -vf ~/.font

Configure zenmode font and colorscheme in your .vimrc :

  "Zenmode
  let g:zenmode_background = "dark"
  let g:zenmode_colorscheme = "solarized"
  let g:zenmode_font ="Cousine 12"

Usage

  • Open gvim. Expand your window if necessary
  • Switch to Zen Mode with <LEADER> + Z
  • Go Full Screen (ALT + F11 on Xubuntu)
  • Write great things
  • Quit with :qa (there are many windows to close)

Tips

  • If you plan to use Zenmode when writing markdown documents, installing
    vim-markdown is a good way to enhance your experience.
  • Get your document words count with :
g <CTRL>+g

添加新评论