Commits

lhonda  committed 83ef3f3

added helm, helm-swoop

  • Participants
  • Parent commits 6ffb09c

Comments (0)

Files changed (1)

+(add-to-list 'load-path "~/Dropbox/helm")
+(require 'helm-config)
+
+;; helm from https://github.com/emacs-helm/helm
+(require 'helm-config)
+(helm-mode 1)
+
+;; Locate the helm-swwop folder to your path
+(add-to-list 'load-path "~/Dropbox/helm-swoop")
+(require 'helm-swoop)
+
+;; Change the keybinds to whatever you like :)
+(global-set-key (kbd "M-i") 'helm-swoop)
+(global-set-key (kbd "M-I") 'helm-swoop-back-to-last-point)
+
+;; When doing isearch, hand the word over to helm-swoop
+(define-key isearch-mode-map (kbd "M-i") 'helm-swoop-from-isearch)
+
 (defvar multiple-cursors-mode nil)
 (defvar mc--read-char nil)
 (defvar mc--read-quoted-char nil)