Permalink
Browse files

More small changes.

  • Loading branch information...
1 parent df19fb5 commit a98402c7fb93f4dc376c6e3c0bdaf109c969fcc3 @iterati committed May 23, 2012
Showing with 9 additions and 2 deletions.
  1. +3 −0 home/.tmux.conf
  2. +3 −0 home/.vim/snippets/python.snippets
  3. +3 −2 home/.vimrc
View
3 home/.tmux.conf
@@ -1,3 +1,6 @@
+# Start numbering at 1
+set -g base-index 1
+
# Use C-a instead of C-b
unbind C-b
set -g prefix C-a
View
3 home/.vim/snippets/python.snippets
@@ -15,6 +15,9 @@ class ${1:MyForm}(forms.Form):
${2:Docstring for $1}
"""
${3:fields}
+
+ def __init__(self, *args, **kwargs):
+ super($1, self).__init__(*args, **kwargs)
endsnippet
snippet mform "django model form" b
View
5 home/.vimrc
@@ -94,7 +94,8 @@ call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
syntax on
filetype on
-filetype plugin indent on
+filetype plugin on
+filetype indent on
set number
set numberwidth=4
@@ -159,7 +160,7 @@ endif
autocmd FileType * setlocal colorcolumn=0
" Snippet settings
-autocmd FileType sippet setlocal tabstop=8 noexpandtab
+autocmd FileType snippets setlocal tabstop=8 noexpandtab
" Default html files to django templates and set up settings
autocmd BufNewFile,BufRead *.html setlocal ft=htmldjango

0 comments on commit a98402c

Please sign in to comment.