aboutsummaryrefslogtreecommitdiff
path: root/Doom/.doom.d/org/config.org
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-06-14 01:03:27 +0100
committerdx <aryadevchavali1@gmail.com>2020-06-14 01:03:27 +0100
commit1bbb1f1d41ead1d3fed5af965ae48f27f2f82ad5 (patch)
treebdf19e8fa8c2a0f2230df0a0ca76334f38d86010 /Doom/.doom.d/org/config.org
parent933e9ce5556e1ed5f975bfc2607fb9412ea04f01 (diff)
downloaddotfiles-1bbb1f1d41ead1d3fed5af965ae48f27f2f82ad5.tar.gz
dotfiles-1bbb1f1d41ead1d3fed5af965ae48f27f2f82ad5.tar.bz2
dotfiles-1bbb1f1d41ead1d3fed5af965ae48f27f2f82ad5.zip
+config for counsel and ido
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