|
|
@ -111,6 +111,7 @@ |
|
|
|
(mode . js2-mode) |
|
|
|
(mode . js2-mode) |
|
|
|
(mode . clojure-mode) |
|
|
|
(mode . clojure-mode) |
|
|
|
(mode . cc-mode) |
|
|
|
(mode . cc-mode) |
|
|
|
|
|
|
|
(mode . stylus-mode) |
|
|
|
(mode . scheme-mode) |
|
|
|
(mode . scheme-mode) |
|
|
|
(mode . lisp-mode)) |
|
|
|
(mode . lisp-mode)) |
|
|
|
) |
|
|
|
) |
|
|
@ -244,7 +245,7 @@ |
|
|
|
(setq fci-rule-column 120) |
|
|
|
(setq fci-rule-column 120) |
|
|
|
(add-hook 'after-change-major-mode-hook 'fci-mode) |
|
|
|
(add-hook 'after-change-major-mode-hook 'fci-mode) |
|
|
|
|
|
|
|
|
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;;---------------------- --------------------------------------------------------------- |
|
|
|
;; Line Numbering - Note: Might not look good with files with 10,000 or more lines |
|
|
|
;; Line Numbering - Note: Might not look good with files with 10,000 or more lines |
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
@ -253,6 +254,8 @@ |
|
|
|
(defvar linum-format) |
|
|
|
(defvar linum-format) |
|
|
|
(setq linum-format "%4d \u2502") |
|
|
|
(setq linum-format "%4d \u2502") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; TODO: Figure out a way to make linum-relative keep the same linum-mode styles |
|
|
|
|
|
|
|
|
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;; Hook framemove into windmove for seamless window to frame transitions |
|
|
|
;; Hook framemove into windmove for seamless window to frame transitions |
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
@ -408,6 +411,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "C-x C-b") nil) |
|
|
|
(global-set-key (kbd "C-x C-b") nil) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "C-c r") nil) |
|
|
|
|
|
|
|
|
|
|
|
;; Neotree binds are prefixed by C-t |
|
|
|
;; Neotree binds are prefixed by C-t |
|
|
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "C-t t") 'neotree-toggle) |
|
|
|
(global-set-key (kbd "C-t t") 'neotree-toggle) |
|
|
@ -449,8 +454,12 @@ |
|
|
|
;(global-set-key (kbd "C-s") 'helm-do-ag-this-file) |
|
|
|
;(global-set-key (kbd "C-s") 'helm-do-ag-this-file) |
|
|
|
|
|
|
|
|
|
|
|
;; IBuffer |
|
|
|
;; IBuffer |
|
|
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "C-x C-b") 'ibuffer) |
|
|
|
(global-set-key (kbd "C-x C-b") 'ibuffer) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; Relative line numbering |
|
|
|
|
|
|
|
(global-set-key (kbd "C-c r") 'linum-relative-toggle) |
|
|
|
|
|
|
|
|
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;; Theme |
|
|
|
;; Theme |
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|
;;-------------------------------------------------------------------------------------- |
|
|
|