Giter VIP home page Giter VIP logo

vim-config's Introduction

StephPY VIM config

Installation

One Shot:

wget --no-check-certificate https://raw.github.com/stephpy/vim-config/master/install.sh -O ./install.sh && chmod +x ./install.sh && ./install.sh

OR

git clone git://github.com/stephpy/vim-config.git ~/.vim-config

# Be sure you backup your .vim (copy them by using cmd "cp ~/.vim ~/.vim.backup")
ln -s ~/.vim-config/.vim ~/.vim
# Be sure you backup your .vimrc (copy them by using cmd "cp ~/.vimrc ~/.vimrc.backup")
ln -s ~/.vim-config/.vimrc ~/.vimrc

mkdir ~/.vim/bundle
git clone http://github.com/gmarik/vundle.git $HOME/.vim/bundle/vundle

vim +BundleInstall +qa

# If your vim is compiled with ruby:
cd $HOME/.vim/bundle/Command-T/ruby/command-t && ruby extconf.rb && make

Override

Properties

Define a ~/.vimrc.local.before or ~/.vimrc.local.after and set your config on (or bundles)

Bundles

If you want to change the list of bundle, list them on ~/.vimrc.bundle. you can add just some bundle by adding them on ~/.vimrc.local


Using vundle plugin (to set unobstrusive plugins)

Plugin list:

Nom Description
ack.vim Searching on project, this need ackbetterthangrep
bufexplorer Buffer explorer
Command-T (ONLY IF VIM is compiled with ruby) As on textmate, searching on project a file and open it
comments.vim Comments code
ctrlp.vim (ONLY IF VIM is NOT compiled with ruby) As on textmate, searching on project a file and open it
delimitMate Close brackets/quotes
guard-ctags-composer Works with guard to rebuild ctags files
nerdtree File navigation
sessionman.vim Save session, use old session, etc ...
Snipmate Snippets Snippets like on texmate
supertab Some function for
syntastic Syntastic is a syntax checking plugin that runs files through external syntax checkers and displays any resulting errors to the user
taglist.vim Show methods, properties of a class
tlib This library provides some utility functions
vim-abolish Awesome replace
vim-addon-mw-utils Some utils
vim-align Alignments
Easymotion for vim Easymotion for vim
vim-fugitive Git tools
vim-less Less for vim
vim-instant-markdown Render your .markdown files on a browser, need node.js and a node.js plugin to work
vim-markdown Markdown tools
vim-php-cs-fixer Fix coding standards using psr0, psr1, psr2
vim-php-namespace Generate php namespace for classes
vim-phpdoc PHPDoc for classes, methods, vars, php5.3 compliant
vim-phpqa Quality analysis
vim-phpunit Phpunit integration on vim
vim-powerline Vim beautiful !
vim-snipmate As on textmate, easily add shortcut to create snippets
vim-surround Delete/change/add parentheses/quotes/XML-tags/much more with ease
vim-symfony Shortcuts for Symfony2
vim-twig Twig syntax
vundle Manage bundles

Trouble-shooting

If command-t does not work, see "Trouble-shooting" section on https://github.com/wincent/Command-T

Useful configs

let g:pdv_cfg_Author="Stephane PY <[email protected]>"
let g:NERDTreeShowHidden=1                                " show hidden files on nerdtree

colorscheme molokai

Shortcuts:

  • CTRL + C -> to comment line(s) selected
  • CTRL + X -> to uncomment line(s) selected
  • CTRL + P -> Command-T OR CTRL-P
  • Y -> Open NerdTree navigation
  • F -> Ack (search on project) Need ack (betterthangrep.com)
  • D -> phpdoc on class, methods, vars ...
  • K -> Launch php code sniffer + phpmd
  • CTRL + W then (key) -> Align lines on key, check on AlignPlugin
  • be -> Seeing buffer explorer

vim-config's People

Contributors

stephpy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.