Skip to content

Commit 4a6d22c

Browse files
committed
Added global gitignore and sundry zsh updates.
1 parent 88b6f51 commit 4a6d22c

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

.gitconfig

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[core]
2+
excludesfile = '.gitignore'
13
[color]
24
diff = auto
35
status = auto

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.swp
2+
*.pyc
3+
*~

.vimrc

+5-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ set mouse=a
2424
set ttymouse=xterm2
2525

2626
" Exclude files and directories
27-
set wildignore+=*.swp,*.zip,*.gz,*.tar,*.so
27+
set wildignore+=*.swp,*.zip,*.gz,*.tar,*.so,*.pyc,*~
2828

2929
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
3030
" => VIM user interface
@@ -39,7 +39,8 @@ set ruler "Always show current position
3939

4040
set cmdheight=2 "The commandbar height
4141

42-
set nu
42+
set number
43+
set cursorline
4344

4445
set paste
4546
set hlsearch "Highlight search items
@@ -55,9 +56,8 @@ syntax enable "Enable syntax hl
5556

5657
" Set font according to system
5758
set gfn=Monospace\ 10
58-
set shell=/bin/bash
59+
set shell=/bin/zsh
5960

60-
let g:solarized_termcolors=256
6161
if has("gui_running")
6262
set background=light
6363
else
@@ -102,6 +102,7 @@ set wrap "Wrap lines
102102
autocmd! bufwritepost vimrc source ~/.vimrc
103103

104104
set showmatch "Show matching bracets when text indicator is over them
105+
set bs=indent,eol,start " Backspace over everything in insert mode
105106

106107
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
107108
" => Moving around, tabs and buffers

.zshrc

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
# Autoload screen if we aren't in it. (Thanks Fjord!)
2-
#if [[ $STY = '' ]] then screen -xR; fi
3-
if [[ -z $DISPLAY ]] && ! [[ -e /tmp.X11-unix/X0 ]] && (( EUID )); then
4-
exec startx
5-
fi
62

73
autoload -U colors && colors
84

@@ -80,6 +76,8 @@ export LANG=en_US.UTF-8
8076
export LC_ALL=en_US.utf-8
8177
export LC_TYPE=en_US.utf-8
8278
export PAGER=less
79+
80+
export TZ="/usr/share/zoneinfo/America/Vancouver"
8381
#}}}
8482

8583
#{{{ External Files

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
1. Grab git submodules
44

5+
git submodule init
56
git submodule update
67

78
2. To use this as your vim settings, set the following in ~/.vimrc

0 commit comments

Comments
 (0)