all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* viper: viper-modify-major-mode
@ 2011-03-10 12:00 michael campbell
  2011-03-10 23:29 ` Edward O'Connor
  0 siblings, 1 reply; 5+ messages in thread
From: michael campbell @ 2011-03-10 12:00 UTC (permalink / raw)
  To: help-gnu-emacs

I'm trying to customise viper in comint mode. I'd like the j and k keys to behave like control-down and control-up 
in comint mode in vi-state. I have this

(viper-modify-major-mode 'comint-mode 'vi-state my-modifier-map)

in my .viper where my-modifier-map has been set up appropriately. It doesn't work.

But in emacs-state, it does work. I have this

(viper-modify-major-mode 'comint-mode 'emacs-state my-modifier-map)

in my .viper and it behaves as expected.

Emacs version is "23.2.1"
Viper version is "3.14.1 of August 15, 2009"

$ uname -a
Linux sunspot 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux


Any ideas?

Michael


-- 





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-17 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 12:00 viper: viper-modify-major-mode michael campbell
2011-03-10 23:29 ` Edward O'Connor
2011-03-11 20:50   ` michael campbell
2011-03-11 21:09     ` Edward O'Connor
2011-03-17 20:19       ` michael campbell

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.