Better keybinding to address a long-standing bug
This commit is contained in:
parent
bebc16c29b
commit
2472e40358
1 changed files with 9 additions and 8 deletions
|
@ -368,11 +368,10 @@ Using the key-chord project allows me to make Escape be on two key combo presses
|
|||
Dropping into Emacs state is better than pure Evil state for applications, however, [[https://github.com/emacs-evil/evil-collection][the evil-collection package]] creates a hybrid between the two, that I like.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(ignore-errors
|
||||
(use-package evil-collection
|
||||
:after evil
|
||||
:config
|
||||
(evil-collection-init)))
|
||||
(evil-collection-init))
|
||||
#+END_SRC
|
||||
|
||||
Do I want to specify the list of modes to change for =evil-collection-init=, e.g.
|
||||
|
@ -951,6 +950,7 @@ Build the hydra as well as configure the =perspective= project.
|
|||
|
||||
:config
|
||||
(persp-mode +1)
|
||||
|
||||
(defhydra hydra-workspace-leader (:color blue :hint nil) "
|
||||
Workspaces- %s(ha-persp-labels)
|
||||
_n_: new project _r_: rename _a_: add buffer _l_: load worksp
|
||||
|
@ -985,7 +985,8 @@ Build the hydra as well as configure the =perspective= project.
|
|||
("q" nil)
|
||||
("C-g" nil))
|
||||
|
||||
(ha-leader "TAB" '("workspaces" . hydra-workspace-leader/body)))
|
||||
(ha-leader "TAB" '("workspaces" . hydra-workspace-leader/body))
|
||||
:bind ("C-<tab>" . hydra-workspace-leader/body))
|
||||
#+END_SRC
|
||||
*** Predefined Workspaces
|
||||
#+END_SRC
|
||||
|
@ -1300,9 +1301,9 @@ Use these special keywords when searching:
|
|||
I primarily use [[https://github.com/jaypei/emacs-neotree][Neotree]] when I am screen-sharing my Emacs session with collegues as it shows a /project/ like an IDE.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package neotree
|
||||
:bind (:neotree-mode-map ; Let evil-collection do its thing
|
||||
("j" . 'neotree-next-line)
|
||||
("k" . 'neotree-previous-line))
|
||||
;; :bind (:neotree-mode-map ; Let evil-collection do its thing
|
||||
;; ("j" . 'neotree-next-line)
|
||||
;; ("k" . 'neotree-previous-line))
|
||||
:config ; evil-collection forget a couple:
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "TAB") 'neotree-enter)
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "SPC") 'neotree-quick-look)
|
||||
|
|
Loading…
Reference in a new issue