Add org-roam.

This commit is contained in:
kj 2022-05-05 20:04:23 -04:00
parent 38b36468f8
commit d39a050a04
3 changed files with 20 additions and 1 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@ private/cache
bookmarks
.lsp-session*
projectile-bookmarks.eld
.org-id-locations
org-roam.db

View File

@ -72,5 +72,10 @@
(define-key company-active-map (kbd "<tab>") 'company-indent-or-complete-common) ; autocompletar con tab como se haría en bash-competition en la terminal de linux
(define-key company-active-map (kbd "<escape>") 'company-abort) ; cerrar las sugerencias de autocompletado precionando escape.
;; Atajos org-roam
(global-set-key (kbd "C-c r i") 'org-roam-node-insert)
(global-set-key (kbd "C-c r f") 'org-roam-node-find)
(global-set-key (kbd "C-c r t") 'org-roam-buffer-toggle)
(provide 'base-keys)
;;; base-keys.el ends here

View File

@ -136,5 +136,17 @@
(setq-default visual-fill-column-center-text t)
)
(use-package org-roam
:defer t
:ensure t
:init
(setq org-roam-v2-ack t)
(setq org-roam-completion-system 'ivy)
:custom
(org-roam-directory "~/Proyectos/RoamNotes")
(org-roam-completion-everywhere t)
:config
(org-roam-setup))
(provide 'org-config)
;;; org-config.el ends here