hoersten-c-style.el
changeset 13 7dc464c4e2d3
parent 10 eb4d42b61a62
child 15 7b7afa6e09a6
--- a/hoersten-c-style.el	Fri Sep 25 09:16:25 2009 -0500
+++ b/hoersten-c-style.el	Fri Dec 04 22:38:21 2009 -0600
@@ -55,8 +55,17 @@
             (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
+            (setq gdb-use-separate-io-buffer t)                  ; gdb stdio output
+            (setq gud-tooltip-mode t)                            ; mouse hover variables
+            (local-set-key (kbd "C-c g") 'gdb)                   ; gdb
+
             ;; auto-close bracing
             (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))
+
 (provide 'hoersten-c-style)
\ No newline at end of file