Use avy
This commit is contained in:
parent
9e350ae334
commit
223ca11977
1 changed files with 9 additions and 5 deletions
14
emacs/.emacs
14
emacs/.emacs
|
@ -59,7 +59,7 @@
|
|||
'(menu-bar-mode nil)
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(org-bullets counsel powerline-evil powerline origami projectile terminal-here shell-pop swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil)))
|
||||
(evil-org org-bullets counsel powerline-evil powerline origami projectile terminal-here shell-pop swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil)))
|
||||
'(scroll-bar-mode nil)
|
||||
'(shell-pop-shell-type
|
||||
(quote
|
||||
|
@ -313,10 +313,11 @@
|
|||
(use-package avy
|
||||
:ensure t
|
||||
:demand t
|
||||
:disabled
|
||||
:bind ("C-s" . avy-goto-word-0)
|
||||
:config (progn
|
||||
(setq avy-keys '(?a ?s ?d ?f ?g ?q ?w ?e ?r ?t ?y ?x ?c ?v ?z ?u ?i ?o ?p ?h ?j ?k ?l ?b ?n ?m))))
|
||||
:bind ("C-c f" . avy-goto-line)
|
||||
:config
|
||||
(setq avy-keys '(?w ?a ?s ?d ?q ?e))
|
||||
(dolist (face avy-lead-faces)
|
||||
(set-face-attribute face nil :background "gray28" :foreground "light blue" :weight 'bold)))
|
||||
|
||||
;; Magit
|
||||
(use-package magit
|
||||
|
@ -466,6 +467,9 @@
|
|||
|
||||
(global-set-key (kbd "C-c C-d") 'time-german)
|
||||
|
||||
(global-set-key (kbd "<prior>") 'backward-paragraph)
|
||||
(global-set-key (kbd "<next>") 'forward-paragraph)
|
||||
|
||||
;; Comment fun
|
||||
|
||||
;(defun extend-comment ()
|
||||
|
|
Loading…
Reference in a new issue