Browse Source

fixes in ivy

master
Marc Pohling 6 years ago
parent
commit
f09e121205
1 changed files with 39 additions and 11 deletions
  1. 50
      config.org

50
config.org

@ -121,17 +121,6 @@ Also auto refresh dired, but be quiet about it. [[http://whattheemacsd.com/sane-
#+end_src
* Recentf
#+begin_src emacs-lisp
(use-package recentf
:bind ("C-x C-r" . helm-recentf)
:config
(recentf-mode t)
(setq recentf-max-saved-items 200)
)
#+end_src
* Org Mode
** Installation
Although org mode ships with Emacs, the latest version can be installed externally. The configuration here follows the [[http://orgmode.org/elpa.html][Org mode ELPA Installation instructions.]]
@ -239,6 +228,7 @@ I noticed that fontification doesn't work with markdown mode when the block is i
#+end_src
* which-key
Greatly increases discovery of functions!
Click [[https://github.com/justbur/emacs-which-key][here]] for source and more info.
@ -256,9 +246,34 @@ Info in Emacs: M-x customize-group which-key
)
#+end_src
* Ido
better completion
begin_src emacs-lisp
(use-package ido
:init
(setq ido-enable-flex-matching t)
(setq ido-everywhere t)
(ido-mode t)
(use-package ido-vertical-mode
:ensure t
:defer t
:init
(ido-vertical-mode 1)
(setq ido-vertical-define-keys 'C-n-and-C-p-only)
)
)
end_src
* ivy / counsel / swiper
Flx is required for fuzzy-matching
Is it really necessary?
#+begin_src emacs-lisp
(use-package flx)
#+end_src
Ivy displays a window with suggestions for hotkeys and M-x
#+begin_src emacs-lisp
@ -274,6 +289,8 @@ Ivy displays a window with suggestions for hotkeys and M-x
(setq ivy-use-virtual-buffers t) ;; recent files and bookmarks in ivy-switch-buffer
(setq ivy-height 20) ;; height of ivy window
(setq ivy-count-format "%d/%d") ;; current and total number
(setq ivy-re-builders-alist ;; regex replaces spaces with *
'((t . ivy--regex-plus)))
)
#+end_src
@ -311,6 +328,17 @@ Swiper ivy-enhances isearch
)
#+end_src
* Recentf
Requires counsel
#+begin_src emacs-lisp
(use-package recentf
:bind ("C-x C-r" . counsel-recentf)
:config
(recentf-mode t)
(setq recentf-max-saved-items 200)
)
#+end_src
* Programming
** Common things

Loading…
Cancel
Save