snippet fixes + upall fix

main
Steffen Becker 11 years ago
parent 201f3f85e1
commit abcffa5573

@ -460,7 +460,7 @@ snippet mih "min-height"
min-height: ${1:100%};$0
endsnippet
snippet mah "min-width"
snippet miw "min-width"
min-width: ${1:100%};$0
endsnippet

@ -125,23 +125,23 @@ snippet h1 "HTML <h1>"
<h1></h1>
endsnippet
snippet h1 "HTML <h1>"
snippet h2 "HTML <h2>"
<h2></h2>
endsnippet
snippet h1 "HTML <h1>"
snippet h3 "HTML <h3>"
<h3></h3>
endsnippet
snippet h1 "HTML <h1>"
snippet h4 "HTML <h4>"
<h4></h4>
endsnippet
snippet h1 "HTML <h1>"
snippet h5 "HTML <h5>"
<h5></h5>
endsnippet
snippet h1 "HTML <h1>"
snippet h6 "HTML <h6>"
<h6></h6>
endsnippet

@ -29,16 +29,15 @@ for ($${2:i} = 0; $$2 < ${1:count}; $$2${3: += 1}) {
endsnippet
snippet fek "foreach with key"
foreach ($${1:variable} as $${2:key} => $${3:value}){
foreach ($${1:variable} as $${2:key} => $${3:value}) {
${4:// code...}
}
endsnippet
snippet fe "foreach without key"
foreach ($${1:variable} as $${2:value}){
foreach ($${1:variable} as $${2:value}) {
${4:// code...}
}
endsnippet

@ -305,10 +305,8 @@ vmap <Leader>a<Bar> :Tabularize /<Bar><CR>
" easymotion config leader m
let g:EasyMotion_leader_key = '<leader>m'
au BufEnter * exec "inoremap <silent> " . g:UltiSnipsExpandTrigger . " <C-R>=g:UltiSnips_Complete()<cr>"
" ultisnips in custom dir
let g:UltiSnipsSnippetDirectories=["snippets"]
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
" Enable syntastic syntax checking

@ -54,7 +54,7 @@ alias brewup='brew update && brew upgrade && brew cleanup && brew linkapps'
alias gemup='gem update --system && gem update && gem cleanup'
alias npmup='npm -g cache clean && npm -g update'
alias rvmup='rvm get latest'
alias upall='brewup && rvmup && gemup && npmup && dotup && dotsubup'
alias upall='brewup && rvmup && gemup && npmup'
# always use mvim but for 'vim'
alias v='vim'

Loading…
Cancel
Save