Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Cezar Halmagean committed Aug 28, 2013
1 parent e597472 commit 3af66e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions init.el
Expand Up @@ -27,6 +27,7 @@
'evil
'surround
'rvm
'rinari
'yaml-mode
'markdown-mode
'gist
Expand Down Expand Up @@ -65,6 +66,8 @@
(setq yas-snippet-dirs "~/.emacs.d/snippets")

;; BS mode
(setq bs-must-show-regexp "^\\*scratch*")
(setq bs-dont-show-regexp "TAGS")
(setq bs-attributes-list
'(("" 1 1 left bs--get-marked-string)
("M" 1 1 left bs--get-modified-string)
Expand Down Expand Up @@ -139,6 +142,10 @@
;; Evil
(load "~/.emacs.d/my-evil")

;; Powerline
(require 'powerline)
(powerline-default-theme)

;; Make CMD work like ALT (on the Mac)
(setq mac-command-modifier 'meta)

Expand Down Expand Up @@ -283,3 +290,4 @@ This functions should be added to the hooks of major modes for programming."
'(erb-face ((t nil)))
'(erb-out-delim-face ((t (:foreground "#aaffff")))))
(put 'downcase-region 'disabled nil)
(put 'dired-find-alternate-file 'disabled nil)
1 change: 1 addition & 0 deletions my-evil.el
Expand Up @@ -63,6 +63,7 @@
(define-key evil-normal-state-map ",d" 'kill-this-buffer)
(define-key evil-normal-state-map ",q" 'kill-buffer-and-window)
(define-key evil-normal-state-map ",R" 'rspec-verify-single)
(define-key evil-normal-state-map ",r" 'rspec-verify)
(define-key evil-normal-state-map ",t" 'rspec-toggle-spec-and-target)

;;; esc quits
Expand Down

0 comments on commit 3af66e0

Please sign in to comment.