objed: add a manual actiation flag

Setting the flag `+manual` of the `objed` module makes the user
responsible for calling `objed-activate` when needed. The binding
`M-SPC` is set in the default Emacs bindings.
This commit is contained in:
UndeadKernel 2019-06-01 13:30:18 +02:00
parent 32e266cfb4
commit 2f910fb91f
3 changed files with 16 additions and 2 deletions

View file

@ -249,6 +249,10 @@
"C-S-s" #'swiper-helm
"C-S-r" #'helm-resume)
;;; objed
(:when (featurep! :editor objed +manual)
"M-SPC" #'objed-activate)
;;; buffer management
"C-x b" #'persp-switch-to-buffer
(:when (featurep! :completion ivy)
@ -278,7 +282,7 @@
"C-p" #'company-search-repeat-backward
"C-s" (λ! (company-search-abort) (company-filter-candidates)))
;;; ein notebokks
;;; ein notebooks
(:after ein:notebook-multilang
:map ein:notebook-multilang-mode-map
"C-c h" #'+ein/hydra/body)