              (setq c-basic-indent 4)
              (setq tab-width 4)))
 
-;; Set C style to k&r
-(setq c-default-style "k&r"
-          c-basic-offset 4)
+;; Set C style to linux
+(setq c-default-style "linux"
+          c-basic-offset 8)
 
 ;; Set the cursor to a bar
 (setq default-cursor-type 'bar)



;; Cython mode
(autoload 'cython-mode "cython-mode" "Loads mode for Cython files." t)
(add-to-list 'auto-mode-alist '("\\.pxd\\'" . cython-mode))
(add-to-list 'auto-mode-alist '("\\.pyx\\'" . cython-mode))

;; CMake mode
(autoload 'cmake-mode "cmake-mode" "Loads mode for CMake files." t)
(add-to-list 'auto-mode-alist '("\\CMakeLists.txt\\'" . cmake-mode))


;; Disable the gaudy colors in shell
(setq ansi-color-names-vector		; better contrast colors

(load "c-eldoc")
(add-hook 'c-mode-hook 'c-turn-on-eldoc-mode)

;; A few of my own customizations
;; Disable all extras of GUI.
(add-hook 'server-visit-hook 'disable-crappy-frames)
(add-hook 'after-make-frame-functions 'disable-crappy-frames)

;; Move past a given character, like vims f
(defun move-past-next-char (x)
