Evil-snipe customizations

This commit is contained in:
Kashish Sharma 2015-03-24 03:05:14 +05:30
parent d766eb35cf
commit f92b269914
1 changed files with 24 additions and 0 deletions

24
init.el
View File

@ -208,6 +208,30 @@
(kill-line 0))
(define-key evil-insert-state-map (kbd "C-u") 'kill-start-of-line)
;;;; evil-snipe
(require 'evil-snipe)
;(define-key evil-normal-state-map "f" 'evil-snipe-s)
;(define-key evil-operator-state-map "f" 'evil-snipe-s)
;(define-key evil-motion-state-map "f" 'evil-snipe-s)
;
;(define-key evil-normal-state-map "F" 'evil-snipe-S)
;(define-key evil-operator-state-map "F" 'evil-snipe-S)
;(define-key evil-motion-state-map "F" 'evil-snipe-S)
;
;(define-key evil-normal-state-map "s" 'evil-substitute)
;(define-key evil-normal-state-map "S" 'evil-change-whole-line)
(setq evil-snipe-count-scope 'letters)
;;;; s<RET>, S<RET>, ; and , don't work with this
;(setq evil-snipe-scope 'buffer)
;;;; This doesn't take two chars by default, which combined with unimplemented evil-snipe-count-scope 'vertical makes it nearly useless as a replacement for fFtT;
(evil-snipe-replace-evil)
;;;; buggy :(
;(setq evil-snipe-count-scope 'letters)
;;;; not implemented Q_Q
;(setq evil-snipe-count-scope 'vertical)
(global-evil-snipe-mode 1)
;;;; Ace Jump mode
;(require 'ace-jump-mode)
;(define-key global-map (kbd "C-c SPC") 'ace-jump-mode)