|
|
|
@@ -506,7 +506,7 @@ Turns out that someone wrote this exact thing already. Yay get to drop my own cr |
|
|
|
'(global-semantic-stickyfunc-mode f) |
|
|
|
) |
|
|
|
) |
|
|
|
:init(semantic-mode t) |
|
|
|
:init (semantic-mode t) |
|
|
|
) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
@@ -516,33 +516,37 @@ Turns out that someone wrote this exact thing already. Yay get to drop my own cr |
|
|
|
(use-package expand-region :ensure t :bind ("C-]" . er/expand-region)) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
*** helm |
|
|
|
*** ivy/swiper |
|
|
|
|
|
|
|
By Helms Deep use Helm to do ALL THE THINGS. IDO is ass in comparison. |
|
|
|
Switching to ivy mode+swiper |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(use-package helm |
|
|
|
(use-package counsel |
|
|
|
:ensure t |
|
|
|
:diminish helm-mode |
|
|
|
:bind (("M-x" . helm-M-x) |
|
|
|
("M-y" . helm-show-kill-ring) |
|
|
|
("C-x b" . helm-mini) |
|
|
|
("C-x C-b" . helm-buffers-list) |
|
|
|
("C-x C-f" . helm-find-files) |
|
|
|
("C-x C-r" . helm-recentf) |
|
|
|
("C-x c o" . helm-occur)) |
|
|
|
:init (progn |
|
|
|
(require 'helm-config) |
|
|
|
(helm-mode 1) |
|
|
|
(use-package helm-descbinds |
|
|
|
:ensure t |
|
|
|
:bind (("C-h b" . helm-descbinds) |
|
|
|
("C-h w" . helm-descbinds)) |
|
|
|
) |
|
|
|
(use-package helm-ag :ensure t) |
|
|
|
(use-package helm-projectile :ensure t) |
|
|
|
) |
|
|
|
) |
|
|
|
:bind (("C-x C-f" . counsel-find-file) |
|
|
|
("C-c g" . counsel-git) |
|
|
|
("C-c j" . counsel-git-grep) |
|
|
|
("C-c k" . counsel-ag) |
|
|
|
("C-x l" . counsel-locate) |
|
|
|
("C-S-o" . counsel-rhythmbox) |
|
|
|
("C-c C-r" . ivy-resume)) |
|
|
|
:config (custom-set-variables '(counsel-find-file-at-point t))) |
|
|
|
(use-package swiper |
|
|
|
:ensure t |
|
|
|
:diminish ivy-mode |
|
|
|
:bind (("C-s" . swiper) |
|
|
|
("M-x" . counsel-M-x)) |
|
|
|
:config (progn |
|
|
|
(custom-set-variables |
|
|
|
'(projectile-completion-system 'ivy) |
|
|
|
'(magit-completing-read-function 'ivy-completing-read) |
|
|
|
'(ivy-use-virtual-buffers t) |
|
|
|
'(ivy-height 10) |
|
|
|
'(ivy-count-format "(%d/%d) ") |
|
|
|
) |
|
|
|
(ivy-mode 1) |
|
|
|
) |
|
|
|
) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
*** magit |
|
|
|
@@ -608,54 +612,70 @@ Highlight matching ()'s []'s etc... |
|
|
|
|
|
|
|
*** org-mode |
|
|
|
|
|
|
|
- foo |
|
|
|
- bar |
|
|
|
|
|
|
|
Org-mode keybindings and settings, pretty sparse really. |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(use-package org |
|
|
|
:ensure org-plus-contrib |
|
|
|
:bind (("C-c a" . org-agenda) |
|
|
|
("C-c b" . org-iswitchb) |
|
|
|
("C-c c" . org-capture) |
|
|
|
("C-c l" . org-store-link) |
|
|
|
("C-c p" . org-latex-export-to-pdf)) |
|
|
|
:init (use-package org-bullets |
|
|
|
:config |
|
|
|
(progn |
|
|
|
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))) |
|
|
|
:config |
|
|
|
(progn |
|
|
|
(custom-set-variables |
|
|
|
'(org-log-done t) |
|
|
|
'(org-hide-leading-stars t) |
|
|
|
'(org-hide-emphasis-markers t) |
|
|
|
) |
|
|
|
(font-lock-add-keywords 'org-mode |
|
|
|
'(("^ +\\([-*]\\) " |
|
|
|
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1) "•")))))) |
|
|
|
(let* ((variable-tuple (cond ((x-list-fonts "Source Sans Pro") '(:font "Source Sans Pro")) |
|
|
|
((x-list-fonts "Lucida Grande") '(:font "Lucida Grande")) |
|
|
|
((x-list-fonts "Verdana") '(:font "Verdana")) |
|
|
|
((x-family-fonts "Sans Serif") '(:family "Sans Serif")) |
|
|
|
(nil (warn "Cannot find a Sans Serif Font. Install Source Sans Pro.")))) |
|
|
|
(base-font-color (face-foreground 'default nil 'default)) |
|
|
|
(headline `(:inherit default :weight bold :foreground ,base-font-color))) |
|
|
|
|
|
|
|
(custom-theme-set-faces 'user |
|
|
|
`(org-level-8 ((t (,@headline ,@variable-tuple)))) |
|
|
|
`(org-level-7 ((t (,@headline ,@variable-tuple)))) |
|
|
|
`(org-level-6 ((t (,@headline ,@variable-tuple)))) |
|
|
|
`(org-level-5 ((t (,@headline ,@variable-tuple)))) |
|
|
|
`(org-level-4 ((t (,@headline ,@variable-tuple :height 1.1)))) |
|
|
|
`(org-level-3 ((t (,@headline ,@variable-tuple :height 1.25)))) |
|
|
|
`(org-level-2 ((t (,@headline ,@variable-tuple :height 1.5)))) |
|
|
|
`(org-level-1 ((t (,@headline ,@variable-tuple :height 1.75)))) |
|
|
|
`(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline nil)))))) |
|
|
|
(org-reload) |
|
|
|
) |
|
|
|
) |
|
|
|
:ensure org-plus-contrib |
|
|
|
:bind (("C-c a" . org-agenda) |
|
|
|
("C-c b" . org-iswitchb) |
|
|
|
("C-c c" . org-capture) |
|
|
|
("C-c l" . org-store-link) |
|
|
|
("C-c p" . org-latex-export-to-pdf)) |
|
|
|
:config |
|
|
|
(progn |
|
|
|
(custom-set-variables |
|
|
|
'(org-log-done t) |
|
|
|
'(org-hide-leading-stars t) |
|
|
|
'(org-hide-emphasis-markers t) |
|
|
|
'(org-confirm-babel-evaluate nil) |
|
|
|
) |
|
|
|
(org-babel-do-load-languages |
|
|
|
'org-babel-load-languages |
|
|
|
'( |
|
|
|
(emacs-lisp . t) |
|
|
|
(sh . t) |
|
|
|
(haskell . t) |
|
|
|
(ditaa . t) |
|
|
|
(perl . t) |
|
|
|
(python . t) |
|
|
|
(C . t) |
|
|
|
) |
|
|
|
) |
|
|
|
(add-hook 'after-init-hook (lambda () (org-reload))) |
|
|
|
) |
|
|
|
) |
|
|
|
(use-package org-bullets |
|
|
|
:ensure t |
|
|
|
:init |
|
|
|
(custom-set-variables '(org-bullets-bullet-list '("・" "◦" "•" "◉"))) |
|
|
|
:config |
|
|
|
(progn |
|
|
|
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))) |
|
|
|
(let* ((variable-tuple (cond ((x-list-fonts "Source Sans Pro") '(:font "Source Sans Pro")) |
|
|
|
((x-list-fonts "Lucida Grande") '(:font "Lucida Grande")) |
|
|
|
((x-list-fonts "Verdana") '(:font "Verdana")) |
|
|
|
((x-family-fonts "Sans Serif") '(:family "Sans Serif")) |
|
|
|
(nil (warn "Cannot find a Sans Serif Font.")))) |
|
|
|
(base-font-color (face-foreground 'default nil 'default)) |
|
|
|
(headline `(:inherit default :weight bold :foreground ,base-font-color))) |
|
|
|
(custom-theme-set-faces 'user |
|
|
|
`(org-level-8 ((t (,@headline ,@variable-tuple)))) |
|
|
|
`(org-level-7 ((t (,@headline ,@variable-tuple)))) |
|
|
|
`(org-level-6 ((t (,@headline ,@variable-tuple)))) |
|
|
|
`(org-level-5 ((t (,@headline ,@variable-tuple)))) |
|
|
|
`(org-level-4 ((t (,@headline ,@variable-tuple :height 1.1)))) |
|
|
|
`(org-level-3 ((t (,@headline ,@variable-tuple :height 1.25)))) |
|
|
|
`(org-level-2 ((t (,@headline ,@variable-tuple :height 1.5)))) |
|
|
|
`(org-level-1 ((t (,@headline ,@variable-tuple :height 1.75)))) |
|
|
|
`(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline nil)))))) |
|
|
|
(font-lock-add-keywords 'org-mode |
|
|
|
'(("^ +\\([-*]\\) " |
|
|
|
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1) "•")))))) |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
*** flycheck |
|
|
|
@@ -785,9 +805,6 @@ Highlight TODO/FIXME type messages in comments. |
|
|
|
(use-package projectile |
|
|
|
:ensure t |
|
|
|
:init (projectile-global-mode) |
|
|
|
:config |
|
|
|
(progn (require 'helm-projectile) |
|
|
|
(helm-projectile-on)) |
|
|
|
) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
@@ -853,12 +870,6 @@ So I write gooder. Me fail English? Thats unpossible. |
|
|
|
(use-package writegood-mode :ensure t) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
*** helm-gtags |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(use-package helm-gtags :ensure t) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
*** python-mode |
|
|
|
|
|
|
|
Compress down python configuration a bit. |
|
|
|
|