• This repository has been archived on 09/Feb/2020
  • Stars
    star
    158
  • Rank 237,131 (Top 5 %)
  • Language
    Vim Script
  • License
    Other
  • Created almost 7 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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