diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | dot/config/git/ignore | 2 | ||||
-rw-r--r-- | dot/gitconfig | 11 | ||||
-rw-r--r-- | dot/vimrc | 19 |
4 files changed, 33 insertions, 1 deletions
@@ -7,6 +7,6 @@ endif | |||
7 | DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) | 7 | DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) |
8 | 8 | ||
9 | $(HOME)/.%: dot/% | 9 | $(HOME)/.%: dot/% |
10 | install -m 0644 $< $@ | 10 | install -D -m 0644 $< $@ |
11 | 11 | ||
12 | install: $(DESTINATIONS) | 12 | install: $(DESTINATIONS) |
diff --git a/dot/config/git/ignore b/dot/config/git/ignore new file mode 100644 index 0000000..cf2ceb2 --- /dev/null +++ b/dot/config/git/ignore | |||
@@ -0,0 +1,2 @@ | |||
1 | .*.un~ | ||
2 | .*.swp | ||
diff --git a/dot/gitconfig b/dot/gitconfig index 61d6b6b..6d9e2ed 100644 --- a/dot/gitconfig +++ b/dot/gitconfig | |||
@@ -1,3 +1,14 @@ | |||
1 | [user] | 1 | [user] |
2 | email = d@jerkface.net | 2 | email = d@jerkface.net |
3 | name = Andrew Cady | 3 | name = Andrew Cady |
4 | [sendemail] | ||
5 | from = Andrew Cady <d@jerkface.net> | ||
6 | smtpencryption = tls | ||
7 | smtpserver = smtp.gmail.com | ||
8 | smtpuser = andrew.cady@gmail.com | ||
9 | smtpserverport = 587 | ||
10 | suppressfrom = yes | ||
11 | [credential] | ||
12 | helper = cache | ||
13 | [core] | ||
14 | excludesfile = /home/d/.config/git/ignore | ||
diff --git a/dot/vimrc b/dot/vimrc new file mode 100644 index 0000000..b560fd3 --- /dev/null +++ b/dot/vimrc | |||
@@ -0,0 +1,19 @@ | |||
1 | set autoindent | ||
2 | set equalprg=expand\|par\ g1 | ||
3 | set shiftwidth=2 | ||
4 | " TODO: generalize to other tags | ||
5 | map , ciw<em><ESC>p`]a</em><ESC> | ||
6 | vmap , c<em><ESC>p`]a</em><ESC> | ||
7 | map , ciw'<ESC>p`]a'<ESC> | ||
8 | vmap , c'<ESC>p`]a'<ESC> | ||
9 | syntax enable | ||
10 | let g:VM_Enabled = 0 | ||
11 | " call pathogen#runtime_append_all_bundles() | ||
12 | |||
13 | :au FileType perl map <buffer> K :!perldoc -f <cword>\|less<CR> | ||
14 | |||
15 | set listchars=precedes:«,extends:»,tab:»·,trail:· | ||
16 | set list | ||
17 | set et | ||
18 | |||
19 | autocmd FileType make setlocal noet ts=15 | ||