typewriter


Ⅰ. 插件描述

An iA Writer inspired color scheme. It has support for vim, vim airline, vim lightline, tmux and urxvt/xterm.

Ⅱ. 基本信息

创建日期:  2018-01-30
使用用户:  10
Github星:  131
插件作者:  Lógico

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Typewriter ▎

An iA Writer inspired theme. The files can be used indepently:

  • Vim color scheme (typewriter.vim)
  • Vim airline theme (typewriter-airline.vim)
  • Vim lightline theme (lightline.vim)
  • Xresources color scheme (typewriter.Xresources)
  • Tmux theme (typewriter-tmux)

⚠️ DEPRECATED ⚠️

This repo was splitted in:

Dependencies

Install

  • You can use your vim plugin manager of choice
  • Or manually

    • copy colors/*.vim to ~/.vim/colors/
    • copy autoload/airline ~/.vim/autoload/
  • Add this to .vimrc

    " Set typewriter as colorscheme
    colorscheme typewriter
    
    " Set typewriter airline theme
    let g:airline_theme = 'typewriter'
    
    " Activate FOCUS mode with F12
    nmap <F12> :Goyo <bar> Limelight!!<CR>"
    
    
    " Change the cursor from block to i-beam in INSERT mode
    let &t_SI = "\e[5 q"
    let &t_EI = "\e[1 q"
    augroup myCmds
      au!
      autocmd VimEnter * silent !echo -ne "\e[1 q"
    augroup END

Extra configs for tmux & Xresources

  • Add this line to .Xresources #include "/home/your_user/typewriter/typewriter.Xresources"
  • Add this line to .tmux.conf run-shell "/home/your_user/typewriter/typewriter-tmux/nord.tmux"

Screenshots

vim

gui vim

vim focus mode

fake bussy

typewriter night vim

typewriter night vim focus mode

typewriter night gui vim

The font used in the screenshots is SF Mono 12 with letter space of -1 and
line space of 8.

  # .Xresources file
  URxvt*letterSpace   : -1
  URxvt*lineSpace     : 8

or if you use gVim o MacVim

  # .gvimrc file
  set linespace = 8

TODO

  • Finish the night themes
  • Finish xresources night theme
  • Finish tmux night theme

Contributors


Thanks

Typewriter is based/inspired by these projects

添加新评论