mosincos / typewriter

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typewriter

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

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

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

Thanks

Typewriter is based/inspired by these projects

About

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

License:Other


Languages

Language:Vim Script 85.2%Language:Shell 11.3%Language:HTML 2.4%Language:JavaScript 1.1%