More emacs crap

master
Dustin Swan 10 years ago
parent ab71d4a88b
commit 874a24ca15

@ -17,6 +17,8 @@
(depends-on "flycheck") (depends-on "flycheck")
(depends-on "flycheck-haskell") (depends-on "flycheck-haskell")
(depends-on "flycheck-hdevtools") (depends-on "flycheck-hdevtools")
(depends-on "git-commit-mode")
(depends-on "git-rebase-mode")
(depends-on "goto-chg") (depends-on "goto-chg")
(depends-on "guide-key") (depends-on "guide-key")
(depends-on "haskell-mode") (depends-on "haskell-mode")
@ -33,7 +35,6 @@
(depends-on "s") (depends-on "s")
(depends-on "shut-up") (depends-on "shut-up")
(depends-on "slime") (depends-on "slime")
(depends-on "slime-js") (depends-on "smex")
(depends-on "slime-repl")
(depends-on "undo-tree") (depends-on "undo-tree")
(depends-on "yasnippet") (depends-on "yasnippet")

@ -2,13 +2,17 @@
(require 'package) (require 'package)
; Cask & Pallet ; Cask & Pallet
(require 'cask "/usr/local/Cellar/cask/0.7.2/cask.el") ;TODO this path sucks (if (file-exists-p "~/.cask/cask.el")
(require 'cask "~/.cask/cask.el")
(require 'cask "/usr/local/Cellar/cask/0.7.2/cask.el") ;TODO this path sucks
)
(cask-initialize) (cask-initialize)
(require 'pallet) (require 'pallet)
(pallet-mode t) (pallet-mode t)
; Evil ; Evil
(require 'evil-leader) ;(require 'evil-leader)
(global-evil-leader-mode) (global-evil-leader-mode)
(evil-leader/set-leader ",") (evil-leader/set-leader ",")
(evil-leader/set-key "b" 'switch-to-buffer) (evil-leader/set-key "b" 'switch-to-buffer)
@ -49,16 +53,21 @@
; Dired ; Dired
(require 'dired-x) (require 'dired-x)
(add-hook 'dired-load-hook
(function (lambda () (load "dired-x"))))
; Powerline ; Powerline
;(powerline-default-theme) ;(powerline-default-theme)
; Smex
(global-set-key (kbd "M-x") 'smex)
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
(global-set-key (kbd "C-c C-c M-x") 'execute-extended-command)
; TODO ; TODO
; evil-org-mode ; evil-org-mode
; expand-region ; expand-region
; helm ; helm
; smex
; magit
; ace-jump ; ace-jump
; god-mode?? ; god-mode??

@ -58,6 +58,4 @@ HISTFILE=~/.history
### Added by the Heroku Toolbelt ### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH" export PATH="/usr/local/heroku/bin:$PATH"
# start up emacs daemon if not running alias emacs='emacsclient -a "" -t'
pgrep emacs &> /dev/null || emacs --daemon
alias emacs="emacsclient -ct"

Loading…
Cancel
Save