forked from purcell/emacs.d
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
59 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(require-package 'company-irony) | ||
|
||
(add-hook 'c++-mode-hook 'company-mode) | ||
(add-hook 'c-mode-hook 'company-mode) | ||
|
||
(eval-after-load 'company | ||
'(add-to-list 'company-backends 'company-irony)) | ||
(setq company-clang-executable "/usr/bin/clang-3.6") | ||
|
||
(provide 'init-company-irony) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
(require-package 'irony) | ||
|
||
(add-hook 'c++-mode-hook 'irony-mode) | ||
(add-hook 'c-mode-hook 'irony-mode) | ||
(add-hook 'objc-mode-hook 'irony-mode) | ||
|
||
;; replace the `completion-at-point' and `complete-symbol' bindings in | ||
;; irony-mode's buffers by irony-mode's function | ||
(defun my-irony-mode-hook () | ||
(define-key irony-mode-map [remap completion-at-point] | ||
'irony-completion-at-point-async) | ||
(define-key irony-mode-map [remap complete-symbol] | ||
'irony-completion-at-point-async)) | ||
(add-hook 'irony-mode-hook 'my-irony-mode-hook) | ||
(add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options) | ||
|
||
(provide 'init-irony) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(setq TeX-auto-save t) | ||
(setq TeX-parse-self t) | ||
(setq TeX-save-query nil) | ||
(setq TeX-PDF-mode t) | ||
|
||
(provide 'init-latex) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
;;---------------------------------------------------------------------------- | ||
;; Navigate window layouts with "C-c <left>" and "C-c <right>" | ||
;;---------------------------------------------------------------------------- | ||
(winner-mode 1) | ||
|
||
(provide 'init-winner) |