Skip to content

Instantly share code, notes, and snippets.

@westberliner
Last active June 6, 2017 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save westberliner/12132677500e7dac95e69d164082312e to your computer and use it in GitHub Desktop.
Save westberliner/12132677500e7dac95e69d164082312e to your computer and use it in GitHub Desktop.
Macvim Plugins

Macvim / Neovim

brew install neovim/neovim/neovim
brew install homebrew/php/phpctags
pip3 install neovim --upgrade

Distribution

https://github.com/carlhuda/janus

Additional Plugins

Link Janus with Neovim

ln -s ~/.vim ~/.config/nvim
ln -s ~/.vimrc ~/.config/nvim/init.vim

~/.vimrc.before

let g:airline#extensions#tabline#enabled = 1                                                                                                                                                                                                                              
let g:airline_theme='monochrome'

~/.vimrc.after

syntax enable
colorscheme monokai
set relativenumber                                                                                                                                                                                                                                              
execute pathogen#infect()                                                                                                                                                                                                                                                 
set statusline+=%#warningmsg#                                                                                                                                                                                                                                             
set statusline+=%{SyntasticStatuslineFlag()}                                                                                                                                                                                                                              
set statusline+=%*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
let g:syntastic_always_populate_loc_list = 1                                                                                                                                                                                                                              
let g:syntastic_auto_loc_list = 1                                                                                                                                                                                                                                         
let g:syntastic_check_on_open = 1                                                                                                                                                                                                                                         
let g:syntastic_check_on_wq = 0                                                                                                                                                                                                                                           
let g:syntastic_check_on_w = 1                                                                                                                                                                                                                                            
let g:syntastic_mode_map = {'mode': 'active', 'active_filetypes': ['php', 'rb'], 'passive_filetypes': []}

Within Projects

ctags -R --fields=+laimS --languages=php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment