[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
viper: viper-modify-major-mode
From: |
michael campbell |
Subject: |
viper: viper-modify-major-mode |
Date: |
Thu, 10 Mar 2011 12:00:27 +0000 |
User-agent: |
Pipex Webmail (IMP3.1) |
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
--
- viper: viper-modify-major-mode,
michael campbell <=