Bubble up avy

master
Jacopo De Simoi 9 years ago
parent c82ab38b1e
commit f6276e37fd
  1. 12
      global.org

@ -349,6 +349,13 @@
(global-set-key (kbd "<H-f14>") 'mc/mark-pop) (global-set-key (kbd "<H-f14>") 'mc/mark-pop)
(global-set-key (kbd "H-#") 'mc/insert-numbers) (global-set-key (kbd "H-#") 'mc/insert-numbers)
#+END_SRC #+END_SRC
** avy
#+BEGIN_SRC emacs-lisp
(global-set-key (kbd "C-c SPC") 'avy-goto-word-or-subword-1)
(global-set-key (kbd "M-s") 'avy-goto-word-or-subword-1)
(global-set-key (kbd "M-g M-g") 'avy-goto-line)
(global-set-key (kbd "M-g g") 'avy-goto-line)
#+END_SRC
** Atomic chrome ** Atomic chrome
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
;;(require 'atomic-chrome) ;;(require 'atomic-chrome)
@ -394,11 +401,6 @@
(global-smart-tab-mode 1) (global-smart-tab-mode 1)
(global-set-key (kbd "C-j") 'smart-tab) ;; try this; I never use C-j for goto-line (global-set-key (kbd "C-j") 'smart-tab) ;; try this; I never use C-j for goto-line
(global-set-key (kbd "C-c SPC") 'avy-goto-word-or-subword-1)
(global-set-key (kbd "M-s") 'avy-goto-word-or-subword-1)
(global-set-key (kbd "M-g M-g") 'avy-goto-line)
(global-set-key (kbd "M-g g") 'avy-goto-line)
;; * redefine line-beginning to handle indentation properly ;; * redefine line-beginning to handle indentation properly
(defun smart-line-beginning () (defun smart-line-beginning ()
"Move point to the beginning of text on the current line; if that is already "Move point to the beginning of text on the current line; if that is already

Loading…
Cancel
Save