projectile keybinds and co.
This commit is contained in:
parent
a9907f20ec
commit
87e7a9f793
25
init.org
25
init.org
|
@ -460,8 +460,6 @@ Honestly not very happy with this at the moment, but it's kind of hacked togethe
|
|||
:prefix-map 'nemo/leader-prefix-map)
|
||||
(general-create-definer leader-other-def
|
||||
:states '(emacs normal)
|
||||
:prefix-map 'nemo/leader-prefix-map
|
||||
:prefix-command 'nemo/leader-prefix-command
|
||||
:global-prefix nemo/leader-global
|
||||
:prefix nemo/leader-evil
|
||||
)
|
||||
|
@ -640,12 +638,16 @@ Also use =undo-fu=, which evil can use.
|
|||
|
||||
** Projectile
|
||||
#+begin_src emacs-lisp
|
||||
(use-package projectile
|
||||
:straight t
|
||||
:defer t
|
||||
:config
|
||||
(setq projectile-project-search-path '("~/code/"))
|
||||
(projectile-mode))
|
||||
(use-package projectile
|
||||
:straight t
|
||||
:defer t
|
||||
:general
|
||||
(leader-def
|
||||
"p" '(:keymap project-prefix-map :wk "Projectile")
|
||||
)
|
||||
:config
|
||||
(setq projectile-project-search-path '("~/code/"))
|
||||
(projectile-mode))
|
||||
#+end_src
|
||||
|
||||
** =ripgrep= & Co.
|
||||
|
@ -994,7 +996,11 @@ Use the =move-text= package to move the current line or selection up or down wit
|
|||
:straight t
|
||||
:defer t
|
||||
;; hijack projectile prefix because they fit together
|
||||
:bind (("C-x p t" . treemacs-select-window))
|
||||
:general-config
|
||||
(general-define-key
|
||||
:prefix-map 'project-prefix-map
|
||||
"t" '("Treemacs" . treemacs-select-window)
|
||||
)
|
||||
:config
|
||||
(setq treemacs-width 25)
|
||||
)
|
||||
|
@ -1303,7 +1309,6 @@ Enable =hs-minor-mode= in =prog-mode= to allow for folding away comments and mod
|
|||
#+begin_src emacs-lisp
|
||||
(use-package smartparens
|
||||
:straight t
|
||||
:defer t
|
||||
:hook ((prog-mode text-mode markdown-mode) . smartparens-mode)
|
||||
:config
|
||||
(require 'smartparens-config))
|
||||
|
|
Loading…
Reference in a new issue