From e3e4bd9710f2d144ef4fecebebe69d8cc852ed94 Mon Sep 17 00:00:00 2001 From: dx Date: Fri, 24 Apr 2020 02:50:02 +0100 Subject: ~some changes CmakeLists, libgen, etc --- doom.d/org/config.org | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'doom.d') diff --git a/doom.d/org/config.org b/doom.d/org/config.org index c295c7b..8783575 100644 --- a/doom.d/org/config.org +++ b/doom.d/org/config.org @@ -162,7 +162,9 @@ Keybinds to org-mode for flyspell package Add CMakeLists.txt to projectile-project-roots. #+BEGIN_SRC elisp (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 * Language Config 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 VSCode style web-kit window. #+BEGIN_SRC elisp -(after! lsp-ui - (add-hook 'lsp-ui-hook #'lsp-ui-doc-mode) +(after! lsp + (add-hook 'lsp-mode-hook #'lsp-ui-doc-mode) (setq lsp-ui-doc-position 'top)) #+END_SRC ** CSharp @@ -380,7 +382,8 @@ Setup the agenda-files and the org-directory. #+BEGIN_SRC elisp (after! org (setq org-directory "~/Text" - org-agenda-files '("~/Text/"))) + org-agenda-files '("~/Text/") + org-log-repeat 'note)) #+END_SRC *** Org keymap - I like using org-export often, so bind it to a primary bind. @@ -470,13 +473,13 @@ General keymap (map! :leader :prefix ("c" . "code") ; Code - :desc "Fold all in level" "f" #'hs-hide-level :desc "Compile via make" "C" #'+make/run :desc "Undo tree" "u" #'undo-tree-visualize :desc "Narrow to function" "n" #'dx:narrow/toggle-narrow (:after format-all :desc "Format code" "=" #'format-all-buffer) (:after lsp + :desc "Format code lsp" "f" #'+default/lsp-format-region-or-buffer :desc "Execute action" "a" #'lsp-execute-code-action) (:after dap-mode :desc "Debug hydra" "h" #'dap-hydra)) -- cgit v1.2.3-13-gbd6f