Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… scheme in .vimrc and modifying some mroe snippets.
  • Loading branch information...
commit 42daa34c1491c2c845ee7986cdcae7f3cf2d19a4 1 parent 399055c
Richard Vanbergen authored
Showing with 41 additions and 2 deletions.
  1. +4 −0 .bashrc
  2. +35 −1 .vim/snippets/html.snippets
  3. +2 −1  .vimrc
4 .bashrc
View
@@ -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
36 .vim/snippets/html.snippets
View
@@ -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>
3  .vimrc
View
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.