aboutsummaryrefslogtreecommitdiff
path: root/Doom/.doom.d/org/config.org
diff options
context:
space:
mode:
Diffstat (limited to 'Doom/.doom.d/org/config.org')
-rw-r--r--Doom/.doom.d/org/config.org12
1 files changed, 11 insertions, 1 deletions
diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org
index 2d2eacd..bb815a9 100644
--- a/Doom/.doom.d/org/config.org
+++ b/Doom/.doom.d/org/config.org
@@ -222,6 +222,17 @@ Add keybind to recompile (inside the buffer)
'company-mode-hook
#'(lambda () (setq company-frontends '(company-preview-frontend company-pseudo-tooltip-frontend))))
#+END_SRC
+** Counsel and Ido
+#+BEGIN_SRC elisp
+(map!
+ :map ivy-minibuffer-map
+ "C-j" #'ivy-next-line-or-history
+ "C-k" #'ivy-previous-line-or-history
+ :map (ido-common-completion-map ido-file-dir-completion-map)
+ "C-j" #'ido-next-match
+ "C-k" #'ido-prev-match
+ "TAB" #'ido-complete)
+#+END_SRC
* Language Config
Configuration for various languages which I feel can be useful
** C-style languages
@@ -361,7 +372,6 @@ General keymap
#+BEGIN_SRC elisp
(map!
:leader
- :after counsel ; Counsel or ivy
(:prefix ("s" . "search")
:desc "RipGrep!" "r" #'counsel-rg ; Ripgrep is faster than Ag in most cases and makes me feel cool
:desc "Search Tags" "t" #'counsel-etags-find-tag)); is quicker to do than <SPC>/b, for something that is done so often