diff options
author | dx <aryadevchavali1@gmail.com> | 2020-04-24 02:50:02 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-05 02:59:45 +0100 |
commit | e3e4bd9710f2d144ef4fecebebe69d8cc852ed94 (patch) | |
tree | bb0f9a054b69ccdfcd9c073658ebcf6276df624a /doom.d/org/config.org | |
parent | 743221f98585c07eec323f31ce48e49217c4a5f8 (diff) | |
download | dotfiles-e3e4bd9710f2d144ef4fecebebe69d8cc852ed94.tar.gz dotfiles-e3e4bd9710f2d144ef4fecebebe69d8cc852ed94.tar.bz2 dotfiles-e3e4bd9710f2d144ef4fecebebe69d8cc852ed94.zip |
~some changes
CmakeLists, libgen, etc
Diffstat (limited to 'doom.d/org/config.org')
-rw-r--r-- | doom.d/org/config.org | 13 |
1 files changed, 8 insertions, 5 deletions
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)) |