gdritter repos dotfiles / b00b9e4
Several updates to both configs Getty Ritter 9 years ago
2 changed file(s) with 25 addition(s) and 6 deletion(s). Collapse all Expand all
1919
2020
2121
2222
23 ;; Any machine-specific setup can go in an external
24 ;; file. If it exists, we should load it:
25
26 (if (file-exists-p "~/.local.el")
27 (load "~/.local.el"))
28
29
2330
31
2432 ;; *elpa setup
2533 (require 'package)
2634 (package-initialize)
2735 (add-to-list 'package-archives
2836 '("melpa" . "http://melpa.milkbox.net/packages/") t)
37 (add-to-list 'package-archives
38 '("gelpa" . "http://gelpa.gdritter.com/") t)
2939
3040 (unless (package-installed-p 'use-package)
3141 (package-refresh-contents)
3242 (package-install 'use-package))
3343 (require 'use-package)
3444
45 ;; (use-package gidl-mode :ensure t)
46
47
3548
49
50 ;; unicode stuff
51 (use-package unicode-fonts
52 :ensure t
53 :init (unicode-fonts-setup))
54
3655
3756
3857
3958 ;; misc. package setup
4059
4160 (use-package magit
42 :ensure t)
61 :ensure t
62 :init (progn
55 alias la='ls -a'
66 alias ll='ls -l'
77 alias lpdup='lpr -o sides=two-sided-long-edge -P hp4200n'
8 alias iks='ssh ikshvaku'
9 alias ros='ssh rosencrantz'
10 alias guil='ssh guildenstern'
8 alias iks='command -v mosh 2>&1 1>/dev/null && mosh ikshvaku || ssh ikshvaku'
9 alias ros='command -v mosh 2>&1 1>/dev/null && mosh rosencrantz || ssh rosencrantz'
10 alias guil='command -v mosh 2>&1 1>/dev/null && mosh guildenstern || ssh guildenstern'
1111 alias iks-elinks='ssh ikshvaku -t "bash -c \". .bashrc && elinks\""'
1212 alias iks-finch='ssh ikshvaku -t "bash -c \". .bashrc && finch\""'
1313 alias iks-irssi='ssh ikshvaku -t "bash -c \". .bashrc && irssi\""'
1818 alias textmacs='NARROW=true emacs'
1919 alias em='EVIL=true BARE=true emacs'
2020 alias objdump='objdump -M intel'
21 alias pr-paper='lpr -P hp4200n -o number-up=2 -o sides=two-sided-long-edge'
22 alias bigterm='urxvt -fn "xft:Inconsolata:pixelsize=24"'
21 alias bigterm='urxvt -fn "xft:Inconsolata:pixelsize=20"'
2322 alias hex2raw="tr -d '\\\x' | xxd -r -p"
2423
2524 export EDITOR="emacs -nw"