emacs.d: initial config version
- starting init.el just basics (package, use-package, path-handlin) - include my-site-start.el that includes site-start.d directory and imports all *.el files in lexical order - functionality is imported via use-package inside the *.el file (first run: internet connection is needed to MELPA)
This commit is contained in:
35
site-start.d/104-avy.el
Normal file
35
site-start.d/104-avy.el
Normal file
@@ -0,0 +1,35 @@
|
||||
;;; 104-avy-ace.el --- Quick jumping inside Emacs
|
||||
|
||||
;;; Commentary:
|
||||
;; Avy - Jump to Characters and Words
|
||||
;; Ace - Jump to Windows
|
||||
|
||||
;;; Code:
|
||||
(use-package avy
|
||||
:bind ("M-SPC" . avy-goto-char)
|
||||
:config
|
||||
(setq avy-background t
|
||||
avy-keys '(?a ?o ?e ?u ?i ?d ?h ?t ?n ?s)))
|
||||
|
||||
(use-package ace-window
|
||||
:bind (("C-x o" . ace-window)
|
||||
("M-2" . ace-window))
|
||||
:init
|
||||
(setq aw-background nil
|
||||
aw-keys '(?a ?o ?e ?u ?i ?d ?h ?t ?n ?s)))
|
||||
|
||||
(use-package ace-link
|
||||
:init
|
||||
(ace-link-setup-default))
|
||||
|
||||
(bind-keys :prefix-map avy-map
|
||||
:prefix "C-c j"
|
||||
("c" . avy-goto-char)
|
||||
("l" . avy-goto-line)
|
||||
("w" . avy-goto-word-or-subword-1)
|
||||
("W" . ace-window)
|
||||
("z" . avy-zap-to-char)
|
||||
("Z" . avy-zap-up-to-char))
|
||||
|
||||
(provide '104-avy-ace)
|
||||
;;; 104-avy-ace.el ends here
|
||||
Reference in New Issue
Block a user