summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--.vimrc44
2 files changed, 46 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index ad7bf7d..60d973c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@
!.zsh/rc
!.zshrc
!.gitignore
+!.vim
+!.vimrc
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..cccbde2
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1,44 @@
+set t_Co=256
+set nobackup
+set expandtab
+set tabstop=2
+set shiftwidth=2
+set softtabstop=2
+set ruler " show me where the cursor is
+set rulerformat=%l/%L(%p%%),%c " a better ruler
+set showmatch " show matching brackets
+set cindent
+set nocompatible
+
+"inoremap <tab> <c-n>
+
+let python_highlight_all = 1
+
+autocmd FileType make setlocal noexpandtab
+
+"colorscheme gardener
+colorscheme desert256
+"colorscheme candycode
+
+let g:miniBufExplMapWindowNavVim = 1
+let g:miniBufExplMapWindowNavArrows = 1
+let g:miniBufExplMapCTabSwitchBufs = 1
+let g:miniBufExplModSelTarget = 1
+
+"set tags+=$HOME/.vim/tags/python.ctags
+
+map <F12> <ESC>ggg?G``" apply rot13 for people snooping over shoulder, good fun
+
+if !has("gui_running")
+ if &term == "screen"
+ set <C-Right>=Oc
+ set <C-Left>=Od
+ imap <C-Right> <ESC>:bn<RETURN>
+ imap <C-Left> <ESC>:bp<RETURN>
+ endif
+endif
+
+if has("gui_running")
+ set guioptions-=m
+ set guioptions-=T
+endif