+config for counsel and ido
This commit is contained in:
@@ -222,6 +222,17 @@ Add keybind to recompile (inside the buffer)
|
|||||||
'company-mode-hook
|
'company-mode-hook
|
||||||
#'(lambda () (setq company-frontends '(company-preview-frontend company-pseudo-tooltip-frontend))))
|
#'(lambda () (setq company-frontends '(company-preview-frontend company-pseudo-tooltip-frontend))))
|
||||||
#+END_SRC
|
#+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
|
* Language Config
|
||||||
Configuration for various languages which I feel can be useful
|
Configuration for various languages which I feel can be useful
|
||||||
** C-style languages
|
** C-style languages
|
||||||
@@ -361,7 +372,6 @@ General keymap
|
|||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
(map!
|
(map!
|
||||||
:leader
|
:leader
|
||||||
:after counsel ; Counsel or ivy
|
|
||||||
(:prefix ("s" . "search")
|
(:prefix ("s" . "search")
|
||||||
:desc "RipGrep!" "r" #'counsel-rg ; Ripgrep is faster than Ag in most cases and makes me feel cool
|
: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
|
:desc "Search Tags" "t" #'counsel-etags-find-tag)); is quicker to do than <SPC>/b, for something that is done so often
|
||||||
|
|||||||
Reference in New Issue
Block a user