summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--dot/config/git/ignore2
-rw-r--r--dot/gitconfig11
-rw-r--r--dot/vimrc19
4 files changed, 33 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac79663..609a2c8 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,6 @@ endif
7DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) 7DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%)
8 8
9$(HOME)/.%: dot/% 9$(HOME)/.%: dot/%
10 install -m 0644 $< $@ 10 install -D -m 0644 $< $@
11 11
12install: $(DESTINATIONS) 12install: $(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 @@
1set autoindent
2set equalprg=expand\|par\ g1
3set shiftwidth=2
4" TODO: generalize to other tags
5map , ciw<em><ESC>p`]a</em><ESC>
6vmap , c<em><ESC>p`]a</em><ESC>
7map , ciw'<ESC>p`]a'<ESC>
8vmap , c'<ESC>p`]a'<ESC>
9syntax enable
10let 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
15set listchars=precedes:«,extends:»,tab:»·,trail:·
16set list
17set et
18
19autocmd FileType make setlocal noet ts=15