src.nth.io/

summaryrefslogtreecommitdiff
path: root/c-init.el
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2014-11-19 18:45:01 -0600
committerLuke Hoersten <[email protected]>2014-11-19 18:45:01 -0600
commit08c5c139bd0e6bbca01870bce66dd4eaddca747e (patch)
treebf2b2c9f0d0873cbbe9509e9c63b804f7a3c15e8 /c-init.el
parent64e2e855eb6ef29970a1edabf84ed81c5e855a56 (diff)
Moved lisp files to their own dir.
Diffstat (limited to 'c-init.el')
-rw-r--r--c-init.el49
1 files changed, 0 insertions, 49 deletions
diff --git a/c-init.el b/c-init.el
deleted file mode 100644
index 8bcb172..0000000
--- a/c-init.el
+++ /dev/null
@@ -1,49 +0,0 @@
-;; ~/.emacs.d/c-hook.el
-;; Luke Hoersten <[email protected]>
-
-(require 'hoersten-c-style)
-
-(add-hook
- 'c-mode-common-hook
- (lambda ()
- ;; indentation
- (setq
- tab-width 3
- c-basic-offset 3
- indent-tabs-mode t
- standard-indent 3
- whitespace-line-column 120)
-
- (setq
- compile-command "scons "
- c-hungry-delete-key t)
-
- (c-toggle-auto-newline t) ; auto newline
- (c-subword-mode t)
-
- ;; custom keys
- (local-set-key (kbd "C-c f") 'ff-find-other-file) ; toggle header/source file
-
- ;; ;; code folding
- ;; (local-set-key (kbd "C-c v") 'hs-toggle-hiding)
- ;; (local-set-key (kbd "<f1>") 'hs-hide-all)
- ;; (local-set-key (kbd "<f2>") 'hs-show-all)
- ;; (hs-minor-mode t) ; enable hide-show mode
-
- ;; gdb settings
- (setq
- gdb-many-windows t ; gdb many windows
- gdb-use-separate-io-buffer t ; gdb stdio output
- gud-tooltip-mode t) ; mouse hover variables
- (local-set-key (kbd "C-c g") 'gdb) ; gdb
-
- ;; auto-close bracing
- (setq parens-require-spaces nil)
- (dolist (key '("(" "[")) (define-key (current-local-map) key 'insert-pair))
- ))
-
-(add-to-list 'auto-mode-alist '("\\.ipp$" . c++-mode))
-(add-to-list 'auto-mode-alist '("\\.inl$" . c++-mode))
-
-(message "Loading c-init...done")
-(provide 'c-init)