Questions tagged [viper-mode]
35 questions
2
votes
2 answers
viper-next-line, viper-previous-line has trouble with visual-line-mode?
Anyone else have any trouble with j and k in viper-mode when visual-line-mode is enabled? It skips many lines... is there any harm in re-binding them to next-line and previous-line, which recognizes visual "line breaks" in Emacs > version 23?

hatmatrix
- 42,883
- 45
- 137
- 231
2
votes
1 answer
how to get started with viper/vimpulse?
I obtained a git clone of vimpulse and followed the instructions for installation. It basically says to put (require 'vimpulse) in my .emacs file - but this will start viper/vimpulse upon startup, so I tried to have vimpulse load only if I invoke…

hatmatrix
- 42,883
- 45
- 137
- 231
2
votes
1 answer
What’s in your .viper file at start-up of Emacs?
Similar to this question, but for Viper users specifically. How do you customize Viper mode in Emacs?

Alexey Romanov
- 167,066
- 35
- 309
- 487
1
vote
1 answer
Issuing ElScreen's prefix key while in viper mode
I would like to use ElScreen in conjunction with viper & vimpulse. Here's how I have configured both packages in my .emacs file:
(load "elscreen" "ElScreen" t)
(elscreen-set-prefix-key "\C-\\")
(setq viper-inhibit-startup-message t)
(setq…

Samad Lotia
- 723
- 1
- 7
- 14
1
vote
1 answer
Ctrl-o in vimpulse?
does anyone know how to enable Ctrl-o to switch to normal-mode for one command in viper-mode or vimpulse? In viper-mode it's bound to open-line (which is what it does for vanilla Emacs and in vimpulse it is bound to (vimpulse-jump-backward ARG). I'm…

hatmatrix
- 42,883
- 45
- 137
- 231
1
vote
1 answer
Getting YASnippet and viper-mode to work together in emacs
I use viper-mode in emacs, but I want to use YASnippet as well. However, when I enable viper-mode and try using tab-completion through YASnippet, nothing happens. How do I get the two of them to work together?

Chetan
- 46,743
- 31
- 106
- 145
1
vote
1 answer
Making Viper state global
EmacsWiki says:
There is a way to make Viper state and Viper insert state global, like in Vim (and probably vi). In Vim (and probably vi), you start in Normal Mode. You can switch buffer, and Vim stays in Normal Mode. Pressing “i” puts Vim in…

Alexey Romanov
- 167,066
- 35
- 309
- 487
1
vote
2 answers
Rebinding C-c to C-c
I'm using Viper, and I want to change its C-c and C-g to the original emacs functions. I can rebind C-g with (define-key viper-vi-global-user-map "C-g" 'keyboard-quit), but how can I rebind C-c, since it's a prefix key?
Thanks!

konr
- 1,173
- 12
- 26
1
vote
1 answer
Enable viper-mode when I open a file in Octave mode [emacs]
I've set up my emacs so that it automatically uses Octave mode when I open a .m file (really I'm working on Matlab files). I like to use viper-mode.
However, when I open a .m file, viper mode gets turned off, and I have to manually
restart it. Is…

Dave
- 7,555
- 8
- 46
- 88
1
vote
1 answer
How can I do viper search incrementally using / and ? in emacs?
something like what has been mentioned in the TODO section below:
http://common-lisp.net/project/vial/darcs/extended-viper/vimlike.el
Anyone ?
maindoor
0
votes
2 answers
Enabling viper-mode and vimpulse in compilation-mode
viper.el is hardcoded to disable viper in compilation-mode. How can I fix this without modifying the original file?

Natan Yellin
- 6,063
- 5
- 38
- 57
0
votes
1 answer
Invoke single normal-mode command with Ctrl-o in Vimpulse?
The usual behavior in vim is for C-o in insert-mode to allow the user to use one normal-mode command and then return to insert-mode.
Following the suggestions in this comment, I've set
(vimpulse-imap "\C-o" 'viper-escape-to-vi)
But when I press…

hatmatrix
- 42,883
- 45
- 137
- 231
0
votes
1 answer
remapping and in Vimpulse to scroll more
In Some Thoughts on Emacs and Vim, Shinobu recommendation to remap and doesn't work on Emacs 2.3.1 with Vimpulse 0.5.
What am I doing wrong?
;; from .emacs
; simulate vim's "nnoremap 1010j"
(vimpulse-map " " (lambda…

Natan Yellin
- 6,063
- 5
- 38
- 57
0
votes
3 answers
viper-mode changes key
I want to use the key (C-d, I think) for forward-deletion in viper-mode.
Before starting viper-mode, works correctly. In viper-mode, jumps to the buffer's last line.
I have added (setq viper-ex-style-editing nil) to…

Natan Yellin
- 6,063
- 5
- 38
- 57
0
votes
1 answer
Getting viper-mode to play well with magit-key-mode
I use viper-mode in emacs and magit with magit-key-mode. Problem I am having is that I don't want viper to load in magit-key-mode as I then must hit Ctl-z to get into emacs mode before selecting a key in the magit-key-mode buffer? Any ideas on how…

m7d
- 31
- 2