Permalink
Browse files

update javascript snippets. Add new light theme, summerfruit256.

  • Loading branch information...
1 parent ed93d61 commit b1025b0db0475110c071e4255154abca2bb16edf @jeffbuttars committed Sep 26, 2012
Showing with 16 additions and 1 deletion.
  1. +12 −0 UltiSnips/javascript.snippets
  2. +1 −0 vimrc/bundles.vim
  3. +3 −1 vimrc/theme.vim
@@ -81,3 +81,15 @@ for (var ${1:key} in ${2:obj}) { if ($2.hasOwnProperty(key)) {
${3:obj[key]};$0
}}
endsnippet
+
+snippet for "for (...) {...} (faster)" !
+for (var ${2:i} = ${1:Things}.length - 1; $2 >= 0; $2--){
+ ${3:$1[$2]}$0
+}
+endsnippet
+
+snippet for "for (...) {...}" !
+for (var ${2:i}=0; $2 < ${1:Things}.length; $2++) {
+ ${3:$1[$2]}$0
+}
+endsnippet
View
@@ -88,5 +88,6 @@ Bundle 'twilight'
Bundle 'Twilight-for-python'
Bundle 'https://github.com/tpope/vim-vividchalk'
Bundle 'https://github.com/w0ng/vim-hybrid'
+Bundle 'summerfruit256.vim'
View
@@ -67,7 +67,9 @@ elseif $TERM =~ '256' || $COLORTERM =~ 'gnome-terminal'
if $TERM_META =~ 'white'
set background=light
let g:lucius_style = "light"
- colorscheme Tomorrow
+ " colorscheme Tomorrow
+ colorscheme summerfruit256
+ set nocursorline
else
colorscheme Tomorrow-Night-Bright
endif

0 comments on commit b1025b0

Please sign in to comment.