Rearrangements

This commit is contained in:
Wojciech Kozlowski 2018-07-07 21:52:39 +01:00
parent e0b70e0948
commit 1d0859bae5
4 changed files with 33 additions and 32 deletions

View File

@ -87,6 +87,13 @@
" "
filename-and-process))))
;; --------------------------------------------------------------------------
;; Rainbow mode.
;; --------------------------------------------------------------------------
(use-package rainbow-mode
:defer t)
;; --------------------------------------------------------------------------
;; Speedbar.
;; --------------------------------------------------------------------------
@ -112,13 +119,6 @@
(global-set-key (kbd "M-m") #'goto-speedbar))
;; --------------------------------------------------------------------------
;; Rainbow mode.
;; --------------------------------------------------------------------------
(use-package rainbow-mode
:defer t)
;; --------------------------------------------------------------------------
;; Keep point in same position on the screen when scrolling.
;; --------------------------------------------------------------------------

View File

@ -78,30 +78,32 @@
;; Dired.
;; --------------------------------------------------------------------------
(setq
;; If another Dired buffer is visible, use it as target for Rename/Copy.
dired-dwim-target t
;; "always" means no asking.
dired-recursive-copies 'always
;; "top" means ask once for top level directory.
dired-recursive-deletes 'top
;; Human-readable listing
dired-listing-switches "-lha --group-directories-first"
)
;; Automatically refresh dired buffer on changes.
(add-hook 'dired-mode-hook 'auto-revert-mode)
(use-package dired-x
:init
(add-hook 'dired-mode-hook 'dired-omit-mode)
(use-package dired
:config
(setq-default dired-omit-files "^\\.\\|^\\#"))
(setq
;; If another Dired buffer is visible, use it as target for Rename/Copy.
dired-dwim-target t
;; "always" means no asking.
dired-recursive-copies 'always
;; "top" means ask once for top level directory.
dired-recursive-deletes 'top
;; Human-readable listing
dired-listing-switches "-lha --group-directories-first"
)
(use-package wdired
:config
(setq-default wdired-allow-to-change-permissions t
wdired-allow-to-redirect-links t))
;; Automatically refresh dired buffer on changes.
(add-hook 'dired-mode-hook 'auto-revert-mode)
(use-package dired-x
:init
(add-hook 'dired-mode-hook 'dired-omit-mode)
:config
(setq-default dired-omit-files "^\\.\\|^\\#"))
(use-package wdired
:config
(setq-default wdired-allow-to-change-permissions t
wdired-allow-to-redirect-links t)))
;; --------------------------------------------------------------------------
;; Recentf.

View File

@ -19,8 +19,7 @@
(defvar emodule/em-modeline-packages
'(all-the-icons
doom-modeline)
'(doom-modeline)
)

View File

@ -12,7 +12,7 @@
* Modules
- [ ] Nicer status bar
- [X] Nicer status bar
Good sources for inspiration are:
- [[https://github.com/Malabarba/smart-mode-line][smart-mode-line]]
- [[https://github.com/dbordak/telephone-line][telephone-line]]