Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added evil-args #100

Merged
merged 1 commit into from
Nov 9, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion spacemacs/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
ess-R-object-popup
ess-smart-underscore
evil
evil-args
evil-exchange
evil-search-highlight-persist
evil-jumper
Expand Down Expand Up @@ -433,6 +434,12 @@ DELETE-FUNC when calling CALLBACK.
(spacemacs/evil-numbers-micro-state-overlay-map))
(evil-leader/set-key "n+" 'spacemacs/evil-numbers-increase)
(evil-leader/set-key "n-" 'spacemacs/evil-numbers-decrease)))
(use-package evil-args
:init
(progn
;; bind evil-args text objects
(define-key evil-inner-text-objects-map "a" 'evil-inner-arg)
(define-key evil-outer-text-objects-map "a" 'evil-outer-arg)))

;; define text objects
(defmacro define-and-bind-text-object (key start-regex end-regex)
Expand Down Expand Up @@ -2011,7 +2018,7 @@ DELETE-FUNC when calling CALLBACK.
(setq undo-tree-history-directory-alist
`(("." . ,(concat spacemacs-cache-directory "undo"))))
(setq undo-tree-visualizer-timestamps t)
(setq undo-tree-visualizer-diff t)
(setq undo-tree-visualizer-diff t)
:config
(spacemacs//hide-lighter undo-tree-mode)))

Expand Down