mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
new version
This commit is contained in:
parent
4472bb0031
commit
73f5295803
@ -452,10 +452,6 @@ Useful in some modes, such as Gnus, MH, etc.")
|
||||
(define-key viper-dired-modifier-map ":" 'viper-ex)
|
||||
(define-key viper-dired-modifier-map "/" 'viper-search-forward)
|
||||
|
||||
(defvar viper-help-modifier-map (make-sparse-keymap)
|
||||
"This map modifies Help mode behavior.")
|
||||
(define-key viper-help-modifier-map "q" (if viper-xemacs-p 'help-mode-quit))
|
||||
|
||||
|
||||
|
||||
;;; Code
|
||||
|
@ -630,9 +630,10 @@ remains buffer-local."
|
||||
(defvar makefile-mode-hook)
|
||||
(add-hook 'makefile-mode-hook 'viper-mode)
|
||||
|
||||
;; Help mode is now for viewing only
|
||||
(defvar help-mode-hook)
|
||||
(add-hook 'help-mode-hook 'viper-mode)
|
||||
(viper-modify-major-mode 'help-mode 'vi-state viper-help-modifier-map)
|
||||
(add-hook 'help-mode-hook 'viper-change-state-to-emacs)
|
||||
(viper-modify-major-mode 'help-mode 'emacs-state viper-slash-and-colon-map)
|
||||
|
||||
(defvar awk-mode-hook)
|
||||
(add-hook 'awk-mode-hook 'viper-mode)
|
||||
|
Loading…
Reference in New Issue
Block a user