mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Minor tweaks and cleanup to the code
This commit is contained in:
5
init.el
5
init.el
@@ -8,13 +8,12 @@
|
||||
|
||||
;; I need to keep this here commented out like this to prevent package.el from
|
||||
;; automatically adding it again. I call `(package-initalize)' manually from
|
||||
;; the `packages.el' file that's loaded in further down.
|
||||
;; the `core/siren-packages.el' file that's loaded in further down.
|
||||
;;
|
||||
;; (package-initialize)
|
||||
|
||||
(defvar current-user
|
||||
(getenv
|
||||
(if (equal system-type 'windows-nt) "USERNAME" "USER")))
|
||||
(getenv (if (equal system-type 'windows-nt) "USERNAME" "USER")))
|
||||
|
||||
(message "Siren is powering up... Be patient, Master %s!" current-user)
|
||||
|
||||
|
||||
@@ -57,7 +57,8 @@
|
||||
(unless (or (null position) (null name)
|
||||
(string= (car imenu--rescan-item) name))
|
||||
(add-to-list 'symbol-names (substring-no-properties name))
|
||||
(add-to-list 'name-and-pos (cons (substring-no-properties name) position))))))))
|
||||
(add-to-list 'name-and-pos (cons (substring-no-properties name)
|
||||
position))))))))
|
||||
|
||||
|
||||
(global-set-key (kbd "C-t") 'siren-goto-symbol)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
(setq tab-width 2)
|
||||
(setq sh-basic-offset 2)
|
||||
(setq sh-indentation 2)
|
||||
(setq highlight-indentation-offset 2)
|
||||
(highlight-indentation-set-offset 2)
|
||||
(highlight-indentation-mode)
|
||||
(highlight-indentation-current-column-mode)
|
||||
(setq whitespace-action (quote (auto-cleanup)))
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
;; Modules
|
||||
(require 'siren-aliases)
|
||||
(require 'siren-avy)
|
||||
;; (require 'siren-auto-complete)
|
||||
(require 'siren-company)
|
||||
(require 'siren-dired)
|
||||
(require 'siren-exec-path-from-shell)
|
||||
|
||||
Reference in New Issue
Block a user