All Projects → preservim → vim-colors-pencil

preservim / vim-colors-pencil

Licence: other
Light (& dark) color scheme inspired by iA Writer

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-colors-pencil

Vim Colors Pencil
Light (& dark) color scheme inspired by iA Writer
Stars: ✭ 498 (-11.7%)
Mutual labels:  vim-plugin, writing, vim-colorscheme
vim-wordy
Uncover usage problems in your writing
Stars: ✭ 677 (+20.04%)
Mutual labels:  vim-plugin, writing, prose
vim-textobj-sentence
Improving on Vim's native sentence text object and motion
Stars: ✭ 92 (-83.69%)
Mutual labels:  vim-plugin, writing, prose
vim-textobj-quote
Use ‘curly’ quote characters in Vim
Stars: ✭ 112 (-80.14%)
Mutual labels:  vim-plugin, writing, prose
VimConfig
Configuration files for Vi-IMproved.
Stars: ✭ 23 (-95.92%)
Mutual labels:  vim-plugin, vim-colorscheme
Vim Monokai Tasty
VIM Colour scheme
Stars: ✭ 279 (-50.53%)
Mutual labels:  vim-plugin, vim-colorscheme
Shirotelin
shirotelin is Ultimate standard light colorscheme for Vim and Neovim!
Stars: ✭ 69 (-87.77%)
Mutual labels:  vim-plugin, vim-colorscheme
Vim Wordy
Uncover usage problems in your writing
Stars: ✭ 645 (+14.36%)
Mutual labels:  vim-plugin, writing
Vim Pencil
Rethinking Vim as a tool for writing
Stars: ✭ 1,186 (+110.28%)
Mutual labels:  vim-plugin, writing
Kuroi.vim
A dark Vim colorscheme
Stars: ✭ 174 (-69.15%)
Mutual labels:  vim-plugin, vim-colorscheme
Learn Vim
无废话极简版Vim学习笔记!文章按主题分拆为多个章节,并尽量控制每节的信息量;通过文字色彩和字体,将命令、快捷键突出显示;在每节结尾,提供一个命令列表,以便回顾文中介绍的重要命令。如果这些文章能对喜欢Vim的朋友有所益处,我将不胜荣幸。
Stars: ✭ 83 (-85.28%)
Mutual labels:  vim-plugin, vim-colorscheme
Nova Vim
Nova color scheme plugin for Vim
Stars: ✭ 211 (-62.59%)
Mutual labels:  vim-plugin, vim-colorscheme
Briofita vim
colorful Vim colorscheme for both GUI and 256-color terminals
Stars: ✭ 9 (-98.4%)
Mutual labels:  vim-plugin, vim-colorscheme
Vim Litecorrect
Lightweight auto-correction for Vim
Stars: ✭ 77 (-86.35%)
Mutual labels:  vim-plugin, writing
Vim Lexical
Build on Vim’s spell/thes/dict completion
Stars: ✭ 223 (-60.46%)
Mutual labels:  vim-plugin, writing
write
📝 A stream-of-consciousness writing app. Built with React.
Stars: ✭ 57 (-89.89%)
Mutual labels:  writing
fzf-preview.vim
fzf ❤️ preview
Stars: ✭ 49 (-91.31%)
Mutual labels:  vim-plugin
essays
Think fast, talk smart, write more.
Stars: ✭ 25 (-95.57%)
Mutual labels:  writing
onestatus
an api to customize tmux from vim
Stars: ✭ 82 (-85.46%)
Mutual labels:  vim-plugin
clojure.vim
Clojure syntax highlighting for Vim and Neovim.
Stars: ✭ 23 (-95.92%)
Mutual labels:  vim-plugin

vim-colors-pencil

A light (and dark) color scheme for Vim inspired by iA Writer

markdown-example

Features

The pencil color scheme takes its inspiration from iA Writer, an elegant word processor available on the iOS and OSX platforms.

This Vim color scheme features:

  • Subtle indicators of changes in the gutter for Signify, gitgutter, etc.
  • Use for both code and prose, though it’s definitely geared towards the latter
  • Light and dark background variants
  • iTerm color scheme available for using this color scheme with terminal-based Vim
  • Support for tpope/vim-markdown, preservim/vim-markdown (aka plasticboy/vim-markdown), and gabrielelana/vim-markdown
  • Support for the bling/vim-airline status bar plugin
  • Support for Vim’s Conceal feature to hide _ and * markup for _italic_, **bold** and ***bold italic*** styled text in Markdown

Requirements

Currently requires vim >= 7.0

Installation

For a basic install simply copy the color scheme file to your ~/.vim/colors directory.

For full support in which the airline theme is available, install using Pathogen, Vundle, Neobundle, or your favorite Vim package manager. For more recent versions of vim and neovim, use your pack directory. (See :help packages for more information.)

Configuration

Contrast

If you’re looking for greater contrast, set the following global in your .vimrc:

let g:pencil_higher_contrast_ui = 0   " 0=low (def), 1=high

It currently only affects the blacks and grays.

Headings color

When using a filetype of markdown, the ‘#’ heading text is shaded dark blue by default. This compensates for the lack of a visual cue found in iA Writer where the heading indicators are inside the left margin.

If you’re looking for neutral heading colors:

let g:pencil_neutral_headings = 1   " 0=blue (def), 1=normal

Code background color

Similar to the rendered markdown found on GitHub, inline and fenced code blocks will have a subtle gray background.

If you’re looking for neutral code background:

let g:pencil_neutral_code_bg = 1   " 0=gray (def), 1=normal

See g:pencil_higher_contrast_ui above for adjusting the code background contrast.

Gutter Color

For users of Signify or gitgutter, indicators will be subtle monochrome by default. If you prefer colored indicators, set the following global:

let g:pencil_gutter_color = 1      " 0=mono (def), 1=color

Curled Underline for Spelling Highlights

You can choose between undercurl and underline in highlighting misspelled words.

let g:pencil_spell_undercurl = 1       " 0=underline, 1=undercurl (def)

Non-spell underlines remain non-curled.

Terminal Italics

If you're using Vim in the terminal and your terminal supports italics, you can opt-in to italic support for some syntax highlighting, such as comments, by setting the following global:

let g:pencil_terminal_italics = 1

Airline Theme

airline-example

A matching theme for the Airline status bar plugin is available. Enable by adding to your .vimrc:

let g:airline_theme = 'pencil'

Concealing __styling markup__ in Markdown

The pencil color scheme supports the highlighting groups in the tpope/vim-markdown syntax plugin, to take advantage of Vim’s Conceal feature to hide _ and * markup for _italic_, **bold** and ***bold italic*** styled text in Markdown

See the vim-pencil plugin for details on automatically enabling this feature.

For more details on Vim’s Conceal feature, see:

:help conceallevel
:help concealcursor

Usage

Just like any other color scheme:

:colorscheme pencil

You can toggle between the light and dark variants:

:set background=dark
:set background=light

Like any other color scheme, you can add these commands to your .vimrc.

Font choices

iA Writer uses a typeface called ‘Nitti Light’ by Blue Monday. ($)

Free alternatives with bold and italic support include:

Cousine is a good match for Nitti Light.

See also

If you find this colorscheme useful, you may want to check out these plugins originally by @reedes:

The README in thematic has more details on setting up emulation of iA Writer.

Contributors

Thanks to those who have helped improve the pencil color scheme:

Future development

If you’ve spotted a problem or have an idea on improving this color scheme, please post it to the GitHub project issue page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].