summaryrefslogtreecommitdiff
path: root/evil-surround.el
diff options
context:
space:
mode:
authorMatthias Pall Gissurarson <mpg@mpg.is>2014-12-15 20:51:38 +0000
committerMatthias Pall Gissurarson <mpg@mpg.is>2014-12-15 21:08:20 +0000
commitfac48838ea75e943e2e33bbbd4265d91f464317e (patch)
tree0e36699ea9655b95eca160fea9f9aebcacf8090f /evil-surround.el
parent71f380b6b6ed38f739c0a4740b3d6de0c52f915a (diff)
fixed inconsistency with vim-surround. fixes #47 and #26.
Diffstat (limited to 'evil-surround.el')
-rwxr-xr-xevil-surround.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/evil-surround.el b/evil-surround.el
index b75b9a8..3e6e476 100755
--- a/evil-surround.el
+++ b/evil-surround.el
@@ -273,10 +273,6 @@ Becomes this:
(goto-char (overlay-start overlay)))
(delete-overlay overlay))))
-(evil-define-operator evil-Surround-region (beg end type char)
- "Call surround-region, toggling force-new-line"
- (interactive "<R>c")
- (evil-surround-region beg end type char t))
;;;###autoload
(define-minor-mode evil-surround-mode
@@ -300,8 +296,7 @@ Becomes this:
"Global minor mode to emulate surround.vim.")
(evil-define-key 'operator evil-surround-mode-map "s" 'evil-surround-edit)
-(evil-define-key 'visual evil-surround-mode-map "s" 'evil-surround-region)
-(evil-define-key 'visual evil-surround-mode-map "S" 'evil-Surround-region)
+(evil-define-key 'visual evil-surround-mode-map "S" 'evil-surround-region)
(provide 'evil-surround)