This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+distributions/spacemacs-bootstrap
duianto 95280d15a8 [dired] Add ivy command and replace evil collection key
Fixes: vim layer key binding of "J" in dired mode #14614
https://github.com/syl20bnr/spacemacs/issues/14614

problem
The evil collection binds "J" to `dired-go-to-file`

It overrides the Spacemacs `helm` and `ivy` equivalent commands.
`spacemacs/helm-find-files' has fuzzy matching and other features
`spacemacs/counsel-find-file' has more `M-o' actions

And the `ivy` layer uses the `spacemacs/helm-find-files` command.

solution
Move the Spacemacs definitions of "J",
after the evil collection dired keys have been setup
from: `spacemacs-bootstrap/packages.el`
to: `spacemacs-evil/init-evil-collection`

And use `spacemacs/counsel-find-file` in the `ivy` layer.
2021-04-15 22:07:30 +02:00
..
local Update header for year 2021 2021-03-25 22:59:32 -04:00
config.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
funcs.el [bootstrap] Fix depreciation warning for pcase `t case 2021-04-08 19:43:30 +00:00
packages.el [dired] Add ivy command and replace evil collection key 2021-04-15 22:07:30 +02:00
README.org Fix three typos in various files 2020-10-19 11:48:51 +02:00

spacemacs-bootstrap distribution

Description

This layer loads the necessary packages for spacemacs to start-up.

Features:

  • Loads evil key bindings and macros for auto-evilification of maps
  • Loads holy and hybrid modes
  • Loads the official Spacemacs theme
  • Loads use-package which is used to load other packages more easily
  • Loads hydra which is used to create transient modes
  • Loads which-key which is used to show key bindings in other modes
  • Loads async which is used to run background processes
  • Loads bind-map and bind-key which are used to realize various Spacemacs specific key binding commands