Skip to content
This repository

My vim configurations

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 after
Octocat-spinner-32 backup
Octocat-spinner-32 bundle
Octocat-spinner-32 dictionaries
Octocat-spinner-32 snippets
Octocat-spinner-32 spell
Octocat-spinner-32 swap
Octocat-spinner-32 tags
Octocat-spinner-32 undo
Octocat-spinner-32 view
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 keybindings.md
Octocat-spinner-32 scripts.vim
Octocat-spinner-32 vimrc
README.md

Installation

wget https://raw.github.com/oxyc/vimrc/master/Makefile -O - | make -- install

You need a terminal with support for 256 colors for the JellyX theme to work.

make install|update

Tips

Generate Drupal dictionary-list

grep --exclude-dir="tests" --exclude="*.install" "^function" modules/ includes/ -hR | awk '!/^function\ _/ { sub(/\(.+/, "(", $2); print $2 }' | sort -u > ~/.vim/dictionaries/drupal7

Generate Drupal core tag-list.

ctags --langmap=php:.inc.module.theme.php --languages=php --php-kinds=f --exclude=.git --exclude=*/tests/* --exclude=*.test --exclude=*.install --recurse -f - modules/ includes/ | awk '!/^_/' > ~/.vim/tags/drupal7

Use Inconsolata as your font

mkdir -p ~/.fonts && cd ~/.fonts && wget http://levien.com/type/myfonts/Inconsolata.otf && sudo fc-cache -f -v

Screenshot

Vim screenshot

Plugins

  • ack.vim — Vim plugin for the Perl module / CLI script 'ack'
  • buftabs — Minimalistic buffer tabs saving screen space
  • clam.vim — A lightweight Vim plugin for working with shell commands
  • Gist.vim — vimscript for gist
  • html5.vim — HTML5 omnicomplete and syntax
  • JellyX — JellyX: A delicious collision of Jellybeans and Xoria256
  • rainbow_parentheses — Better Rainbow Parentheses
  • syntastic — Syntax checking hacks for vim
  • tcomment — An extensible & universal comment vim-plugin that also handles embedded filetypes
  • vim-css3-syntax — Add CSS3 syntax support to vim's built-in syntax/css.vim
  • vim-diff-toggle — Vim plugin to speed up editing diff files
  • vim-fugitive — a Git wrapper so awesome, it should be illegal
  • vim-haml — Vim runtime files for Haml, Sass, and SCSS
  • vim-jade — Vim Jade template engine syntax highlighting and indention
  • vim-javascript — Vastly improved vim's javascript indentation.
  • vim-less — vim syntax for LESS (dynamic CSS)
  • vim-markdown — Vim Markdown runtime files
  • vim-powerline — The ultimate vim statusline utility
  • matchit — Extended % matching for HTML, LaTeX, and many other languages
  • pathogen.vim — pathogen.vim: manage your runtimepath
  • stylus — Syntax Highlighting for Stylus
  • surround — quoting/parenthesizing made simple
  • tabular — Vim script for text filtering and alignment
  • webapi-vim — vim interface to Web API

Inspired/Stolen by

and probably many others.

Something went wrong with that request. Please try again.