~formatting in config.el
This commit is contained in:
@@ -491,7 +491,6 @@ General keymap
|
|||||||
:desc "Swap windows" "S" #'ace-swap-window) ; allows me to switch windows more efficiently than before, better than just motions
|
:desc "Swap windows" "S" #'ace-swap-window) ; allows me to switch windows more efficiently than before, better than just motions
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Code
|
** Code
|
||||||
*** Keybinds
|
|
||||||
- Some keybinds for the code prefix which help me with coding or working with
|
- Some keybinds for the code prefix which help me with coding or working with
|
||||||
code, particularly LSP
|
code, particularly LSP
|
||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
@@ -502,12 +501,12 @@ General keymap
|
|||||||
:desc "Undo tree" "u" #'undo-tree-visualize
|
:desc "Undo tree" "u" #'undo-tree-visualize
|
||||||
:desc "Narrow to function" "n" #'+narrow/toggle-narrow
|
:desc "Narrow to function" "n" #'+narrow/toggle-narrow
|
||||||
(:after format-all
|
(:after format-all
|
||||||
:desc "Format code" "=" #'format-all-buffer)
|
:desc "Format code" "=" #'format-all-buffer)
|
||||||
(:after lsp
|
(:after lsp
|
||||||
:desc "Format code lsp" "f" #'+default/lsp-format-region-or-buffer
|
:desc "Format code lsp" "f" #'+default/lsp-format-region-or-buffer
|
||||||
:desc "Execute action" "a" #'lsp-execute-code-action)
|
:desc "Execute action" "a" #'lsp-execute-code-action)
|
||||||
(:after dap-mode
|
(:after dap-mode
|
||||||
:desc "Debug hydra" "h" #'dap-hydra))
|
:desc "Debug hydra" "h" #'dap-hydra))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Projectile
|
** Projectile
|
||||||
- Projectile config, for leader and for project prefix
|
- Projectile config, for leader and for project prefix
|
||||||
|
|||||||
Reference in New Issue
Block a user