comparison lisp/emulation/viper-init.el @ 20206:f44ff2c52fac

new version
author Michael Kifer <kifer@cs.stonybrook.edu>
date Sat, 01 Nov 1997 01:46:51 +0000
parents 9bc6a4017c8c
children f7e788ea680b
comparison
equal deleted inserted replaced
20205:cdaddfc03fe8 20206:f44ff2c52fac
202 the Ex command :map!.") 202 the Ex command :map!.")
203 203
204 (viper-deflocalvar viper-replace-minor-mode nil 204 (viper-deflocalvar viper-replace-minor-mode nil
205 "Minor mode in effect in replace state (cw, C, and the like commands).") 205 "Minor mode in effect in replace state (cw, C, and the like commands).")
206 206
207 ;; Mode for vital things like \C-z and \C-x) 207 ;; Mode for vital things like \C-z and \C-x) This is set to t, when viper-mode
208 ;; This is t, by default. So, any new buffer will have C-z defined as 208 ;; is invoked. So, any new buffer will have C-z defined as switch to Vi, unless
209 ;; switch to Vi, unless we switched states in this buffer 209 ;; we switched states in this buffer
210 (viper-deflocalvar viper-emacs-intercept-minor-mode t) 210 (viper-deflocalvar viper-emacs-intercept-minor-mode nil)
211 211
212 (viper-deflocalvar viper-emacs-local-user-minor-mode t 212 (viper-deflocalvar viper-emacs-local-user-minor-mode nil
213 "Minor mode for local user bindings effective in Emacs state. 213 "Minor mode for local user bindings effective in Emacs state.
214 Users can use it to override Emacs bindings when Viper is in its Emacs 214 Users can use it to override Emacs bindings when Viper is in its Emacs
215 state.") 215 state.")
216 216
217 (viper-deflocalvar viper-emacs-global-user-minor-mode t 217 (viper-deflocalvar viper-emacs-global-user-minor-mode nil
218 "Minor mode for global user bindings in effect in Emacs state. 218 "Minor mode for global user bindings in effect in Emacs state.
219 Users can use it to override Emacs bindings when Viper is in its Emacs 219 Users can use it to override Emacs bindings when Viper is in its Emacs
220 state.") 220 state.")
221 221
222 (viper-deflocalvar viper-emacs-kbd-minor-mode t 222 (viper-deflocalvar viper-emacs-kbd-minor-mode nil
223 "Minor mode for Vi style macros in Emacs state. 223 "Minor mode for Vi style macros in Emacs state.
224 The corresponding keymap stores key bindings of Vi macros defined with 224 The corresponding keymap stores key bindings of Vi macros defined with
225 `viper-record-kbd-macro' command. There is no Ex-level command to do this 225 `viper-record-kbd-macro' command. There is no Ex-level command to do this
226 interactively.") 226 interactively.")
227 227
228 (viper-deflocalvar viper-emacs-state-modifier-minor-mode t 228 (viper-deflocalvar viper-emacs-state-modifier-minor-mode nil
229 "Minor mode used to make major-mode-specific modification to Emacs state. 229 "Minor mode used to make major-mode-specific modification to Emacs state.
230 For instance, a Vi purist may want to bind `dd' in Dired mode to a function 230 For instance, a Vi purist may want to bind `dd' in Dired mode to a function
231 that deletes a file.") 231 that deletes a file.")
232 232
233 (viper-deflocalvar viper-vi-minibuffer-minor-mode nil 233 (viper-deflocalvar viper-vi-minibuffer-minor-mode nil