1. Fix `short-name` for directories. Previously it was empty string. 2. Remove redundant check for existing buffer: 1. `(get-buffer new-name)` always return `nil`, because `new-name` is a path to file, not a file name. 2. `(find-file new-name)` handles this situation. 3. `dired-rename-file` handles this situation as well. 3. Use `dired-rename-file` to do the dirty stuff. 1. Renames files and directories. 2. All associated buffers are updated. If you rename a directory, all buffers that were visiting files from that directory now visit files from new directory. 4. Properly handle recentf list update for directories - all files from the renamed directory are removed from recentf list and the same files but from new directory are added back. |
||
---|---|---|
.. | ||
local/help-fns+ | ||
config.el | ||
funcs.el | ||
keybindings.el | ||
packages.el | ||
README.org |
spacemacs-defaults
Description
This layer configures mostly Emacs built-in packages to given them better defaults.
Features:
-
Configures packages:
- abbrev
- archive-mode
- bookmark
- conf-mode
- dired
- dired-x
- display-line-numbers (only in Emacs 26.x and newer)
- electric-indent-mode
- ediff
- eldoc
- help-fns+
- hi-lock
- image-mode
- imenu
- linum (only in Emacs 25.x and older)
- occur-mode
- package-menu
- page-break-lines
- process-menu
- recentf
- savehist
- saveplace
- subword
- tar-mode
- uniquify
- url
- visual-line-mode
- whitespace
- winner
- zone