focus


Ⅰ. 插件描述

Code editor color theme that lets you focus on the content. Available for Sublime Text, Atom, TextMate, Vim, Chocolat, and more...

Ⅱ. 基本信息

创建日期:  2013-02-23
使用用户:  5
Github星:  435
插件作者:  Sindre Sorhus

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Focus

Code editor color theme that lets you focus on the content

For when you need to edit a lot of inline text without being distracted by code and markup.

Focus light
Focus dark

Works perfectly with Markdown

Focus dark - Markdown

And LaTeX

Focus dark - LaTeX

Install

Sublime Text

Install Focus with Package Control and restart Sublime.

Atom

See atom-focus-dark and atom-focus-light.

VS Code

See vscode-focus-dark and vscode-focus-light.

TextMate 2

Copy the .tmTheme files to ~/Library/Application Support/Textmate/Managed/Bundles/Themes.tmbundle.

TextMate

Copy the .tmTheme files to ~/Library/Application Support/TextMate/Themes.

Vim

Vim-plug

Plug 'sindresorhus/focus', {'rtp': 'vim'}

Vundle

Plugin 'sindresorhus/focus', {'rtp': 'vim'}

Manual

Copy the contents of the vim/colors folder to ~/.vim/colors.

Other editors

A lot more editors support the .tmTheme format. Google it if you're not using any of the above editors.

I would be more than happy to accept PRs for ports to other editors that doesn't support .tmTheme.

Dev

In Sublime, click on some syntax, then press Ctrl+Shift+P to see the scope in the statusbar.

License

MIT © Sindre Sorhus

添加新评论