Skip to content

Latest commit

 

History

History
105 lines (86 loc) · 5.18 KB

File metadata and controls

105 lines (86 loc) · 5.18 KB

Highco Server config

Vim

Using pathogen plugin (to set unobstrusive plugins)

Plugin list:

Config useful

let g:php_path="/Applications/MAMP/bin/php5.3/bin/php"         " used by symfony1 bundle to get great php to call symfony1 commands
let g:pdv_cfg_Author="Stephane PY <py.stephane1(at)gmail.com>" " change the authorname for phpdoc
let g:NERDTreeShowHidden=1                                     " show hidden files on nerdtree

coloscheme symfony

##Shortcuts:

  • CTRL + C -> to comment line(s) selected
  • CTRL + X -> to uncomment line(s) selected
  • CTRL + Y -> Open NerdTree nafication
  • CTRL + F -> Ack (search on project)
  • CTRL + P -> document a method, class, var
  • CTRL + K -> Launch php code sniffer
  • CTRL + W then (key) -> Align lines on key, check on AlignPlugin
  • CTRL + H -> Adding namespace of a file and the class name (php 5.3)
  • F5 -> Seeing buffer explorer
  • \s (symfony command) -> symfony1
  • :Symfony command -> symfony1

Bash

@todo Write documentation

To install

One Shot:

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

Or

git clone git://github.com/BLEUROY-HIGHCO/server-config.git
cd server-config && git submodule init && git submodule update
ln -s server-config/.vim ~/.vim
ln -s server-config/.vim/.vimrc ~/.vimrc
ln -s server-config/bash/.bashrc_**recette or prod** ~/.bashrc

Keep submodules updated

git submodule foreach git pull .