Permalink
Browse files

Making sure my terminals use fill color modes. Changing default color…

… scheme in .vimrc and modifying some mroe snippets.
  • Loading branch information...
1 parent 399055c commit 42daa34c1491c2c845ee7986cdcae7f3cf2d19a4 @rich97 committed Sep 13, 2011
Showing with 41 additions and 2 deletions.
  1. +4 −0 .bashrc
  2. +35 −1 .vim/snippets/html.snippets
  3. +2 −1 .vimrc
View
4 .bashrc
@@ -101,3 +101,7 @@ fi
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
+
+if [ "$COLORTERM" == "gnome-terminal" ]; then
+ export TERM=xterm-256color
+fi
View
36 .vim/snippets/html.snippets
@@ -131,9 +131,21 @@ snippet base
snippet r
<br`Close()[1:]`>
snippet div
- <div id="${1:name}">
+ <div${1}>
${2}
</div>
+snippet divc
+ <div class="${1:class}"${2}>
+ ${3}
+ </div>
+snippet divi
+ <div id="${1:id}"${2}>
+ ${3}
+ </div>
+snippet divic
+ <div id="${1:id}" class="${2:class}"${3}>
+ ${4}
+ </div>
# Embed QT Movie
snippet movie
<object width="$2" height="$3" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
@@ -161,6 +173,8 @@ snippet form
<p><input type="submit" value="Continue &rarr;"`Close()`></p>
</form>
+snippet a
+ <a href="${1:#}"${2}>${3}</a>
snippet h1
<h1 id="${1:heading}">${2:$1}</h1>
snippet input
@@ -188,3 +202,23 @@ snippet table
</table>${4}
snippet textarea
<textarea name="${1:Name}" rows="${2:8}" cols="${3:40}">${4}</textarea>${5}
+snippet ul
+ <ul>
+ ${1}
+ </ul>
+snippet uli
+ <ul id="${1:id}">
+ ${2}
+ </ul>
+snippet ulc
+ <ul class="${1:class}">
+ ${2}
+ </ul>
+snippet ulic
+ <ul id="${1:id}" class="${2:class}">
+ ${3}
+ </ul>
+snippet li
+ <li>${1}</li>
+snippet lic
+ <li class="${1:class}">${2}</li>
View
3 .vimrc
@@ -17,7 +17,7 @@ set nowrap
set number
"-- Colour scheme
-colorscheme Tomorrow-Night
+colorscheme Tomorrow-Night-Bright
"-- Show whitespace chars
set listchars=tab\ ,trail:·,extends:>,precedes:<
@@ -41,6 +41,7 @@ nnoremap <silent> <F5> :let _s=@/<Bar>:%s/\s\+$//e<CR>:%s/ /\t/eg<Bar>:let @/=_
"-- Global variables
:let g:snips_author = "Richard Vanbergen"
+:let g:netrw_keepdir = 0
"-- Shortcuts
noremap <C-n> :bn<CR>

0 comments on commit 42daa34

Please sign in to comment.