spacemacs/layers/+spacemacs/spacemacs-defaults
Boris Buliga 69a1e056ff
support directories in spacemacs/rename-file
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.
2018-10-31 20:56:28 +02:00
..
local/help-fns+
config.el set load-prefer-newer to t 2018-10-23 07:11:47 +03:00
funcs.el support directories in spacemacs/rename-file 2018-10-31 20:56:28 +02:00
keybindings.el Add SPC f y n and SPC f y N to copy the name of a file 2018-09-11 15:04:19 -04:00
packages.el Work around ido-mode remapping Spacemacs keys 2018-08-01 22:46:40 -04:00
README.org Reformat documentation 2018-10-11 00:13:43 +03:00

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