~some changes

CmakeLists, libgen, etc
This commit is contained in:
dx
2020-04-24 02:50:02 +01:00
parent 743221f985
commit e3e4bd9710

View File

@@ -162,7 +162,9 @@ Keybinds to org-mode for flyspell package
Add CMakeLists.txt to projectile-project-roots. Add CMakeLists.txt to projectile-project-roots.
#+BEGIN_SRC elisp #+BEGIN_SRC elisp
(after! projectile (after! projectile
(cl-pushnew "CMakeLists.txt" projectile-project-root-files :test 'string=)) (cl-pushnew "CMakeLists.txt" projectile-project-root-files :test 'string=)
(setq projectile-tags-command
"ctags -e -R --exclude=dist --exclude=.ccls --exclude=.ccls-cache"))
#+END_SRC #+END_SRC
* Language Config * Language Config
Configuration for various languages which I feel can be useful Configuration for various languages which I feel can be useful
@@ -215,8 +217,8 @@ std::string` which isn't supported in standard doom. So I add support for it.
Add lsp-ui-doc-mode to lsp-ui-mode: allows you to see documentation in a little Add lsp-ui-doc-mode to lsp-ui-mode: allows you to see documentation in a little
VSCode style web-kit window. VSCode style web-kit window.
#+BEGIN_SRC elisp #+BEGIN_SRC elisp
(after! lsp-ui (after! lsp
(add-hook 'lsp-ui-hook #'lsp-ui-doc-mode) (add-hook 'lsp-mode-hook #'lsp-ui-doc-mode)
(setq lsp-ui-doc-position 'top)) (setq lsp-ui-doc-position 'top))
#+END_SRC #+END_SRC
** CSharp ** CSharp
@@ -380,7 +382,8 @@ Setup the agenda-files and the org-directory.
#+BEGIN_SRC elisp #+BEGIN_SRC elisp
(after! org (after! org
(setq org-directory "~/Text" (setq org-directory "~/Text"
org-agenda-files '("~/Text/"))) org-agenda-files '("~/Text/")
org-log-repeat 'note))
#+END_SRC #+END_SRC
*** Org keymap *** Org keymap
- I like using org-export often, so bind it to a primary bind. - I like using org-export often, so bind it to a primary bind.
@@ -470,13 +473,13 @@ General keymap
(map! (map!
:leader :leader
:prefix ("c" . "code") ; Code :prefix ("c" . "code") ; Code
:desc "Fold all in level" "f" #'hs-hide-level
:desc "Compile via make" "C" #'+make/run :desc "Compile via make" "C" #'+make/run
:desc "Undo tree" "u" #'undo-tree-visualize :desc "Undo tree" "u" #'undo-tree-visualize
:desc "Narrow to function" "n" #'dx:narrow/toggle-narrow :desc "Narrow to function" "n" #'dx: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 "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))