Browse Source

Add iy-go-to-char submodule, small cleanup

master
Macoy Madson 8 months ago
parent
commit
8c9e6810ab
  1. 3
      .gitmodules
  2. 1
      Emacs/emacsPackages.txt
  3. 1
      Emacs/iy-go-to-char
  4. 4
      Emacs/navigation.el
  5. 4
      Emacs/packages.el

3
.gitmodules

@ -0,0 +1,3 @@
[submodule "Emacs/iy-go-to-char"]
path = Emacs/iy-go-to-char
url = https://github.com/doitian/iy-go-to-char

1
Emacs/emacsPackages.txt

@ -28,7 +28,6 @@ simpleclip
smex
smooth-scrolling
sublime-themes
swiper
web-beautify
web-mode
xah-find

1
Emacs/iy-go-to-char

@ -0,0 +1 @@
Subproject commit 04ab4f5f3a241cbbc9b8c178a22b412a62f632f9

4
Emacs/navigation.el

@ -78,7 +78,7 @@
)
;; Go to char. This is like avy quick jump but instead just goes to the next one, not any onscreen
(when (require 'iy-go-to-char)
(when (load-file "iy-go-to-char/iy-go-to-char.el")
(define-key iy-go-to-char-keymap (kbd "C-g") 'iy-go-to-char-done)
(defun macoy-iy-go-to-char-regular-mode ()
(interactive)
@ -106,7 +106,7 @@
(define-key iy-go-to-char-keymap (kbd "<right>") 'macoy-iy-go-to-char-right-done)
(global-set-key (kbd "C-n") 'right-char)
(global-set-key (kbd "C-S-n") 'left-char))
;; (when (string-equal (user-login-name) "mmadson")
;; (macoy-iy-go-to-char-extreme-mode))
)

4
Emacs/packages.el

@ -43,7 +43,7 @@
ido-completing-read+
ivy
ivy-xref
iy-go-to-char
;;iy-go-to-char ;; Now provided by submodule
keyfreq
lua-mode
markdown-mode
@ -59,8 +59,6 @@
smart-tabs-mode
smex
smooth-scrolling
;; sublime-themes
swiper ;; TODO Remove
web-beautify
web-mode
yasnippet

Loading…
Cancel
Save