Browse Source

Add build leader for npm, ignore some items for ctrlp

master
Scott Barker 6 months ago
parent
commit
90749559b7
2 changed files with 6 additions and 1 deletions
  1. 2
    1
      vim/.vim/configs/keybindings.vim
  2. 4
    0
      vim/.vimrc

+ 2
- 1
vim/.vim/configs/keybindings.vim View File

@@ -12,7 +12,8 @@ map <Leader>rt :SuperRetab 2
" Build sass
map <Leader>k :!sass --update "%"<CR>

" Build coffeescript
" Build scripts
map <Leader>n :!npm run build<CR>
map <Leader>G :!gulp<CR>

" Build coffeescript

+ 4
- 0
vim/.vimrc View File

@@ -38,6 +38,10 @@ Plugin 'fatih/vim-go'
Plugin 'Glench/Vim-Jinja2-Syntax'
Plugin 'kchmck/vim-coffee-script'
Plugin 'kien/ctrlp.vim'
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/](node_modules)',
\ 'file': '\v\.(exe|sw[mnop])$',
\}
Plugin 'leshill/vim-json'
"Plugin 'mattn/emmet-vim'
Plugin 'chr4/nginx.vim'

Loading…
Cancel
Save