viper

Vim macros don't work when using viper + vimpulse in emacs.

Any other tweaks for making emacs as vim-like as possible would be appreciated as well. Addendum: The main reason I don't just use vim is that I love how emacs lets you open a file in two different frames [ADDED: sorry, this was confusing: I mean separate windows, which emacs calls "frames"]. It's like making a vertical split but I don...

What Vim features are missing in Emacs with Viper and Vimpulse?

There are important features of Emacs which are missing in Vim, such as the comint mode, and there are no scripts/plugins which can replace them. There are also benefits of Vim over Emacs, such as modal editing and generally better default shortcuts. However, Viper mode gets me both. Vimpulse also enables visual mode. Unfortunately, no ...

Dynamic Memory Allocation Failure Recovery

I'm working on an embedded processor (400 MHz Intel PXA255 XScale), and I thought I saw one case where there wasn't enough memory to satisfy a 'new' operation. The program didn't crash, so I assumed other threads had freed their memory and it was just a transient thing. This is some pretty critical code, so exiting is not an option, and...

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 ? ...

Viper mode in all modes

Hi! I'm moving from vi to emacs and, using viper and vimpulse, it gets pretty annoying when I C-w C-w to a window and cannot get back to the original one with the same command because the other buffer, which could be a help buffer, is not in the Viper mode. How can I fix this? I tried to add other modes to the viper configuration and m...

Rebinding C-c to C-c

Hi! 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! ...

How can I remap the prefix keys 'c', 'd' etc. in Emacs viper-mode

I'm using the Colemak keyboard layout, and want to try the Vim layout from here with Vimpulse. However, the layout remaps the command prefix Vim keys 'c' and 'd' among others, and these keys don't seem to be easily remappable with the standard Viper key remap command. They are all mapped to "viper-command-argument" in the viper keymap, a...

viper-insert wrong number of arguments error

Hey, I have the following function and keybinding in my .viper file: (defun th-change-to-regexp (regexp) (interactive "s") (kill-region (point) (progn (re-search-forward regexp nil nil 1) (- (point) 1))) (backward-char) (viper-insert)) (define-key viper-vi-global-user-map "ct" ...

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 Insert Mode. Then if you switch buffers by clicking on another window, Vim stays in Insert M...

What’s in your .viper?

Similar to this question, but for Viper users specifically. How do you customize Viper? ...

viper elisp loop until event

So, in vim, in insert mode, there is C-o which puts you in command mode until a cursor movement. I find this to be very convenient to move around while in insert mode. I know of no equivalent in emacs viper. This question is how to elisp this. Basically it would be something like this (define-key viper-insert-global-user-map (kbd "C-o"...

Disable ESC as meta in emacs viper mode?

Hey all, I'm a long-time vim user trying to make the switch to emacs. I'm using viper-mode in emacs and I keep typing ESC (to get out of insert mode) and then a key (say, j). I type fast and often hit them at the same time. Emacs then thinks I'm hitting META-j and runs a function which I do not intend. I like using option as meta and d...

Ctrl-o in vimpulse?

Hi, 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 using Viper-mode + vimpulse at level 2. ...

[viper-mode] 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? ...

How to install Vim scripts / plugins using viper-mode in emacs

I'm using viper-mode in emacs, and I'd like to use the Vim-LaTeX plugin with it (http://vim-latex.sourceforge.net/index.php). How do I install the plugin to use in viper-mode? ...

Emacs define-key, Viper-mode key binding

I'm trying to learn emacs, getting vi custom key bindings. Using Viper-mode, what is the correct way to re-bind a key? (I'm using Colemak keyboard layout(instead of qwerty) so have to change things like n->j) But would like it to work in viper-mode. From this key binding guide on GNU.org: http://www.gnu.org/software/emacs/manual/html_n...