Created
          August 8, 2014 16:54 
        
      - 
      
- 
        Save timothyasp/0028ea3731bd11457ede to your computer and use it in GitHub Desktop. 
    LESS/CSS and PHTML vim config
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Plugins | |
| https://github.com/othree/html5.vim | |
| https://github.com/SirVer/ultisnips | |
| https://github.com/skammer/vim-css-color | |
| https://github.com/hail2u/vim-css3-syntax | |
| https://github.com/groenewege/vim-less | |
| // After installling all of those, add the following to your .vimrc | |
| "========================================== | |
| " Set less syntax | |
| nnoremap <Leader>m :w <BAR> !lessc % > %:t:r.css<CR><space> | |
| au BufNewFile,BufRead *.phtml set filetype=php | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment