One more evil user: ^W and viper-in-more-modes
Hi Frank, hi Vegard, here is one more user who switched from vimpulse to evil. It's great to see that there has been so much progress recently, and that there is even a lot of functionality that had not existed before. (Well, at least vim-style macros with q and @ did not exist in vimpulse – maybe they did in vim-mode – and I was impressed to see them supported.) You can be sure that I will report any bugs as soon as I encounter them. For now, there are two things I'm missing: * I would like ^W in insert mode to behave as in vi. For now I fixed that as follows: (define-key evil-insert-state-map "\C-w" 'backward-kill-word) Maybe you could make it customizable as something like "Evil Want C W Delete". (Note that the term "delete" is rather vim than Emacs style. I took it from vim's help, which documents ^W as "delete word before the cursor".) * I am looking forward to a port of viper-in-more-modes, which I am currently using in emacs-lisp-mode and LaTeX-mode. Cheers, Christoph -- Christoph Lange, http://de.wikipedia.org/wiki/Benutzer:Langec, Skype duke4701
On 2011-08-14 23:13 +0200, Christoph LANGE wrote:
I would like ^W in insert mode to behave as in vi.
Added in commit 1c8413d.
I am looking forward to a port of viper-in-more-modes, which I am currently using in emacs-lisp-mode and LaTeX-mode.
Rather than creating evil-in-more-modes, I think it should be split up into several packages: one for the Elisp bindings, and another for LaTeX. The porting should be fairly straightforward. I'll look into it. -- Vegard
Hi Vegard, thanks for ^W and for your plan to port the viper-in-more-modes functionality! One more suggestion: I think it would make sense to add recentf-dialog-mode to evil-emacs-state-modes by default. In this mode (which is activated via M-x recentf-open-files), one usually hits a number to open the N-th most recent file. Cheers, Christoph -- Christoph Lange, http://de.wikipedia.org/wiki/Benutzer:Langec, Skype duke4701
On 2011-08-17 16:44 +0200, Christoph LANGE wrote:
I think it would make sense to add recentf-dialog-mode to evil-emacs-state-modes by default. In this mode (which is activated via M-x recentf-open-files), one usually hits a number to open the N-th most recent file.
Fixed in commit 16f4705. -- Vegard
Dear evil developers, here is another candidate for "Emacs mode by default": Buffer-menu-mode, which is active in the buffer invoked with C-x C-b (= M-x list-buffers), uses a number of single-key shortcuts, including: --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- o -- select that buffer in another window, so the buffer menu buffer remains visible in its window. V -- select current line's buffer, but in view-mode. C-o -- make another window display that buffer. m -- mark current line's buffer to be displayed. v -- select current line's buffer. Also show buffers marked with m, in other windows. … --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- Cheers, Christoph -- Christoph Lange, http://de.wikipedia.org/wiki/Benutzer:Langec, Skype duke4701
On 2011-08-18 09:51 +0200, Christoph LANGE wrote:
Buffer-menu-mode, which is active in the buffer invoked with C-x C-b (= M-x list-buffers), uses a number of single-key shortcuts
Fixed in commit 68f5701. Buffer-menu still comes up in Motion state, but its bindings have precedence over Evil's (with the exception of "h", "j", "k" and "l"). -- Vegard
participants (2)
-
Christoph LANGE -
Vegard Øye