From e5d8cc6e80c102f7165c1b657c44cc501d5baf20 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Thu, 26 Apr 2018 20:12:33 +0100 Subject: [PATCH] spaceline order has been improved --- lib/extensions/development/init.el | 4 ++-- lib/extensions/editor/init.el | 11 ++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/extensions/development/init.el b/lib/extensions/development/init.el index 18978ef..e8739a2 100644 --- a/lib/extensions/development/init.el +++ b/lib/extensions/development/init.el @@ -83,14 +83,14 @@ :description "Toggle IMenu list which shows the symbol definitions based on major mode.") (cheatsheet-add :group '--Development-- - :key "C-." + :key "C-<2>" :description "Search for the definition of the symbol you want anywhere.") ;; (imenu-list-minor-mode) (setq imenu-list-focus-after-activation t) (setq imenu-list-auto-resize t) (global-set-key (kbd "C-'") #'imenu-list-smart-toggle) - (global-set-key (kbd "C-.") #'imenu-anywhere)) + (global-set-key (kbd "C-") #'imenu-anywhere)) (ability parinfer () (add-hook 'emacs-lisp-mode-hook #'parinfer-mode)) diff --git a/lib/extensions/editor/init.el b/lib/extensions/editor/init.el index 0e2f9f6..516dd21 100644 --- a/lib/extensions/editor/init.el +++ b/lib/extensions/editor/init.el @@ -103,18 +103,16 @@ (spaceline-compile "ati" - '(((ati-projectile ati-mode-icon ati-buffer-id) :face default-face) - ((ati-modified ati-window-numbering ati-buffer-size lxdrive) :face highlight-face :skip-alternate t) - - ((ati-process ati-position ati-region-info) :face highlight-face :separator " | ") + '(((lxdrive) :face highlight-face :skip-alternate t) + ((ati-projectile ati-mode-icon ati-buffer-id) :face default-face) + ((ati-process ati-region-info) :face highlight-face :separator " | ") + ((ati-modified ati-window-numbering ati-buffer-size ati-position) :face highlight-face :skip-alternate t) ((ati-flycheck-status ati-(point)ackage-updates purpose) :separator " | " :face other-face)) ;; ((minor-modes) :face default-face) '(((ati-vc-icon " ") :face default-face :skip-alternate t :tight t))) - - (setq-default mode-line-format '("%e" (:eval (spaceline-ml-ati))))) ;;(spaceline-emacs-theme)) @@ -341,5 +339,4 @@ (require 'extensions/editor/lxdrive-mode) (require 'extensions/editor/lxmodeline)) - (provide 'extensions/editor/init)