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)
|
'(menu-bar-mode nil)
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(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)
|
'(scroll-bar-mode nil)
|
||||||
'(shell-pop-shell-type
|
'(shell-pop-shell-type
|
||||||
(quote
|
(quote
|
||||||
|
@ -313,10 +313,11 @@
|
||||||
(use-package avy
|
(use-package avy
|
||||||
:ensure t
|
:ensure t
|
||||||
:demand t
|
:demand t
|
||||||
:disabled
|
:bind ("C-c f" . avy-goto-line)
|
||||||
:bind ("C-s" . avy-goto-word-0)
|
:config
|
||||||
:config (progn
|
(setq avy-keys '(?w ?a ?s ?d ?q ?e))
|
||||||
(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))))
|
(dolist (face avy-lead-faces)
|
||||||
|
(set-face-attribute face nil :background "gray28" :foreground "light blue" :weight 'bold)))
|
||||||
|
|
||||||
;; Magit
|
;; Magit
|
||||||
(use-package magit
|
(use-package magit
|
||||||
|
@ -466,6 +467,9 @@
|
||||||
|
|
||||||
(global-set-key (kbd "C-c C-d") 'time-german)
|
(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
|
;; Comment fun
|
||||||
|
|
||||||
;(defun extend-comment ()
|
;(defun extend-comment ()
|
||||||
|
|
Loading…
Reference in a new issue