Setup with meow edit for WIP helix bindings
This commit is contained in:
commit
3a4bad98f4
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
auto-save-list/
|
||||||
|
elpa/
|
||||||
|
eln-cache/
|
||||||
|
# emacs temp files
|
||||||
|
**.**~
|
118
init.el
Normal file
118
init.el
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
;; Custom
|
||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(package-selected-packages '(meow)))
|
||||||
|
(custom-set-faces
|
||||||
|
;; custom-set-faces was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
)
|
||||||
|
|
||||||
|
;; Disable splash screen
|
||||||
|
(setq inihibit-startup-message t)
|
||||||
|
|
||||||
|
;; UI elements
|
||||||
|
(menu-bar-mode 1)
|
||||||
|
(tool-bar-mode -1)
|
||||||
|
(scroll-bar-mode -1)
|
||||||
|
(global-display-line-numbers-mode 1)
|
||||||
|
|
||||||
|
;; Theme
|
||||||
|
(load-theme 'modus-vivendi t)
|
||||||
|
|
||||||
|
|
||||||
|
;;;;
|
||||||
|
;; meow-mode
|
||||||
|
;;;;
|
||||||
|
(require 'meow)
|
||||||
|
|
||||||
|
(defun meow-setup ()
|
||||||
|
(setq meow-cheatsheet-layout meow-cheatsheet-layout-colemak-dh)
|
||||||
|
;; (meow-motion-define-key
|
||||||
|
;; Use e to move up, n to move down.
|
||||||
|
;; Since special modes usually use n to move down, we only overwrite e here.
|
||||||
|
;; '("<escape>" . ignore))
|
||||||
|
(meow-leader-define-key
|
||||||
|
'("?" . meow-cheatsheet)
|
||||||
|
'("1" . meow-digit-argument)
|
||||||
|
'("2" . meow-digit-argument)
|
||||||
|
'("3" . meow-digit-argument)
|
||||||
|
'("4" . meow-digit-argument)
|
||||||
|
'("5" . meow-digit-argument)
|
||||||
|
'("6" . meow-digit-argument)
|
||||||
|
'("7" . meow-digit-argument)
|
||||||
|
'("8" . meow-digit-argument)
|
||||||
|
'("9" . meow-digit-argument)
|
||||||
|
'("0" . meow-digit-argument))
|
||||||
|
(meow-normal-define-key
|
||||||
|
'("0" . meow-expand-0)
|
||||||
|
'("1" . meow-expand-1)
|
||||||
|
'("2" . meow-expand-2)
|
||||||
|
'("3" . meow-expand-3)
|
||||||
|
'("4" . meow-expand-4)
|
||||||
|
'("5" . meow-expand-5)
|
||||||
|
'("6" . meow-expand-6)
|
||||||
|
'("7" . meow-expand-7)
|
||||||
|
'("8" . meow-expand-8)
|
||||||
|
'("9" . meow-expand-9)
|
||||||
|
'("-" . negative-argument)
|
||||||
|
'(";" . meow-reverse)
|
||||||
|
'("," . meow-inner-of-thing)
|
||||||
|
'("." . meow-bounds-of-thing)
|
||||||
|
'("[" . meow-beginning-of-thing)
|
||||||
|
'("]" . meow-end-of-thing)
|
||||||
|
'("/" . meow-visit)
|
||||||
|
'("a" . meow-append)
|
||||||
|
'("A" . meow-open-below)
|
||||||
|
'("b" . meow-back-word)
|
||||||
|
'("B" . meow-back-symbol)
|
||||||
|
'("c" . meow-change)
|
||||||
|
'("d" . meow-delete)
|
||||||
|
'("D" . meow-backward-delete)
|
||||||
|
'("e" . meow-prev)
|
||||||
|
'("E" . meow-prev-expand)
|
||||||
|
'("f" . meow-find)
|
||||||
|
'("g" . meow-cancel-selection)
|
||||||
|
'("G" . meow-grab)
|
||||||
|
'("n" . meow-left)
|
||||||
|
'("N" . meow-left-expand)
|
||||||
|
'("o" . meow-right)
|
||||||
|
'("O" . meow-right-expand)
|
||||||
|
'("i" . meow-next)
|
||||||
|
'("I" . meow-next-expand)
|
||||||
|
'("j" . meow-join)
|
||||||
|
'("k" . meow-kill)
|
||||||
|
'("g" . meow-line)
|
||||||
|
'("G" . meow-goto-line)
|
||||||
|
'("m" . meow-mark-word)
|
||||||
|
'("M" . meow-mark-symbol)
|
||||||
|
'("n" . meow-left)
|
||||||
|
'("N" . meow-left-expand)
|
||||||
|
'("o" . meow-right)
|
||||||
|
'("O" . meow-right-expand)
|
||||||
|
'("p" . meow-yank)
|
||||||
|
'("q" . meow-quit)
|
||||||
|
'("r" . meow-replace)
|
||||||
|
'("h" . meow-insert)
|
||||||
|
'("H" . meow-open-above)
|
||||||
|
'("t" . meow-till)
|
||||||
|
'("u" . meow-undo)
|
||||||
|
'("U" . meow-redo)
|
||||||
|
'("v" . meow-search)
|
||||||
|
'("w" . meow-next-word)
|
||||||
|
'("W" . meow-next-symbol)
|
||||||
|
'("x" . meow-line)
|
||||||
|
'("y" . meow-save)
|
||||||
|
'("z" . meow-pop-selection)
|
||||||
|
'("'" . repeat)
|
||||||
|
'("<escape>" . ignore)))
|
||||||
|
|
||||||
|
(meow-setup)
|
||||||
|
(meow-global-mode 1)
|
||||||
|
|
||||||
|
;; Helm
|
||||||
|
(require 'helm)
|
Loading…
Reference in New Issue
Block a user