aboutsummaryrefslogtreecommitdiffstats
path: root/doom/config.el
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-09-18 11:36:00 +0100
committerYann Herklotz <git@yannherklotz.com>2021-09-18 11:36:00 +0100
commit3d818e0635b9d121615ed4853271eaef77b957fc (patch)
tree0dc7b4dc46153deb0c4f1570fa4a33e2558febf0 /doom/config.el
parent156ab372afe69b4fc05e66f2891bece71fc894fd (diff)
downloaddotfiles-3d818e0635b9d121615ed4853271eaef77b957fc.tar.gz
dotfiles-3d818e0635b9d121615ed4853271eaef77b957fc.zip
Remove counsel from configuration
Diffstat (limited to 'doom/config.el')
-rw-r--r--doom/config.el14
1 files changed, 4 insertions, 10 deletions
diff --git a/doom/config.el b/doom/config.el
index a56220c..ea2df57 100644
--- a/doom/config.el
+++ b/doom/config.el
@@ -496,12 +496,6 @@
(set-register ?p (cons 'file "~/Dropbox/org/projects.org"))
(set-register ?c (cons 'file (format-time-string "~/Dropbox/org/%Y-%m.org")))
-(use-package counsel
- :config
- (setq counsel-rg-base-command
- '("rg" "-M" "240" "--max-columns-preview" "--with-filename"
- "--no-heading" "--line-number" "--color" "never" "%s")))
-
;; Bibtex stuff
(use-package! ebib
:bind (("C-c y b" . ebib))
@@ -671,10 +665,10 @@
(org-zettelkasten-create-next)
(org-zettelkasten-create-branch))))
-(defun org-zettelkasten-search-current-id ()
- (interactive)
- (let ((current-id (org-entry-get nil "CUSTOM_ID")))
- (counsel-rg (concat "#" current-id) "~/Dropbox/zk" "-g *.org" "ID: ")))
+;;(defun org-zettelkasten-search-current-id ()
+;; (interactive)
+;; (let ((current-id (org-entry-get nil "CUSTOM_ID")))
+;; (counsel-rg (concat "#" current-id) "~/Dropbox/zk" "-g *.org" "ID: ")))
(define-key org-mode-map (kbd "C-c y n") #'org-zettelkasten-create-dwim)
(define-key org-mode-map (kbd "C-c y s") #'org-zettelkasten-search-current-id)