From 6c9337fc28d5f38698c4c31968e4d21556854cb1 Mon Sep 17 00:00:00 2001 From: York Zhao Date: Thu, 21 Apr 2011 19:02:12 -0400 Subject: [PATCH 1/3] Add "g;" and "g," commands --- vimpulse-misc-keybindings.el | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/vimpulse-misc-keybindings.el b/vimpulse-misc-keybindings.el index 6b0af99..09aebf5 100644 --- a/vimpulse-misc-keybindings.el +++ b/vimpulse-misc-keybindings.el @@ -4,6 +4,8 @@ (require 'vimpulse-modal) (require 'vimpulse-visual-mode) ; vimpulse-apply-on-block, vimpulse-visual-mode +(require 'goto-chg) + (declare-function vimpulse-range "vimpulse-operator" (&optional no-repeat dont-move-point whole-lines keep-visual custom-motion)) (declare-function vimpulse-set-replace-cursor-type "vimpulse-viper-function-redefinitions" nil) @@ -36,6 +38,8 @@ (define-key viper-vi-basic-map "g0" 'vimpulse-beginning-of-visual-line) (define-key viper-vi-basic-map "g$" 'vimpulse-end-of-visual-line) (define-key viper-vi-basic-map "gJ" 'vimpulse-Join) +(define-key viper-vi-basic-map "g;" 'goto-last-change) +(define-key viper-vi-basic-map "g," 'goto-last-change-reverse) (define-key viper-vi-basic-map "J" 'vimpulse-join) (define-key viper-vi-basic-map "K" 'woman) (define-key viper-vi-basic-map "m" 'vimpulse-mark-point) -- 1.7.4