Ido and Vimpulse/Viper and C-p, C-n

2011-04-15 Thread Nikolai Weibull
Is there any way of getting C-p and C-n do ido-prev-match and ido-next-match in Ido mode? I’ve tried with the following, but it doesn’t work: (add-hook 'ido-setup-hook (lambda () (define-key ido-completion-map \C-p 'ido-prev-match) (define-key ido-completion-map

Re: Ido and Vimpulse/Viper and C-p, C-n

2011-04-16 Thread Nikolai Weibull
On Fri, Apr 15, 2011 at 17:07, Vegard Øye vegard_...@hotmail.com wrote: On 2011-04-15 12:58 +0100, Nikolai Weibull wrote: Is there any way of getting C-p and C-n do ido-prev-match and ido-next-match in Ido mode? As it turns out, `ido-setup-hook' is not executed in the minibuffer, so `viper

Re: Short edits with vimpulse

2011-05-02 Thread Nikolai Weibull
On Mon, May 2, 2011 at 16:07, argetek senvx argetek.se...@gmail.com wrote: I am hoping to use vimpulse in the following manner: To have it disabled globally, but bind viper-escape-to-vi to a custom key so I could perform a quick editing operation when necessary. I haven't found a documented

Re: Evil status?

2011-05-10 Thread Nikolai Weibull
On Tue, May 10, 2011 at 14:41, Vegard Øye vegard_...@hotmail.com wrote: On 2011-05-10 13:25 +0200, Alan Schmitt wrote: After browsing the archives for a bit, trying to learn more about Vimpulse, I read about the Evil project. I see on gitorious that it regularly has some commits, and I was

[TENTATIVE PATCH] Digraph implementation for Evil

2011-05-17 Thread Nikolai Weibull
Hi! So I have an implementation of RFC1345 digraphs that I’ve been using with viper/vimpulse. I would like to donate it to Evil and figured I might as well write the integration patch as well. There does, however, not seem to be any insert mode commands yet, so I don’t have an example to

Re: [TENTATIVE PATCH] Digraph implementation for Evil

2011-05-19 Thread Nikolai Weibull
On Thu, May 19, 2011 at 14:49, Vegard Øye vegard_...@hotmail.com wrote: On 2011-05-17 15:51 +0200, Nikolai Weibull wrote: So I have an implementation of RFC1345 digraphs that I’ve been using with viper/vimpulse. I would like to donate it to Evil and figured I might as well write

Re: [TENTATIVE PATCH] Digraph implementation for Evil

2011-05-23 Thread Nikolai Weibull
Hi! Sorry about the late reply. I had the weekend off e-mail. On Sun, May 22, 2011 at 12:34, Vegard Øye vegard_...@hotmail.com wrote: On 2011-05-19 19:23 +0200, Nikolai Weibull wrote: OK, I’ve created a merge request on gitorious: https://gitorious.org/evil/evil/merge_requests/1 I only

Add mappings to what-cursor-position for ga and g8

2011-05-24 Thread Nikolai Weibull
Hi! So I did another small merge request: https://gitorious.org/evil/evil/merge_requests/2 It adds mappings to what-cursor-position for ga and g8. These commands are different in Vim, and perhaps g8 should run what-cursor-position with a numeric argument. What do you think? I don’t really

Switching s and l

2011-09-20 Thread Nikolai Weibull
Hi! I use a DVORAK layout and switch s and l. I can’t get it working in Evil, however, as s is in evil-normal-state-map and l is in evil-motion-state-map. How do I perform the switch? ___ implementations-list mailing list

Re: Evil experiences

2011-09-22 Thread Nikolai Weibull
On Thu, Sep 22, 2011 at 08:24, Frank Fischer frank.fisc...@mathematik.tu-chemnitz.de wrote: On Thu, Sep 22, 2011 at 01:12:16AM -0400, Timothy Washington wrote: I hope this doesn't make me sound hopelessly ignorant and lazy. But will there ever be a way to use an existing .vimrc file to

Share your Magit keymap!

2011-09-24 Thread Nikolai Weibull
Hi! Has anyone come up with a nice keymap for Magit mode under Evil? If so, please, do share! ___ implementations-list mailing list implementations-list@lists.ourproject.org https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list

\C-^ gets confused after having run an ex command

2011-10-28 Thread Nikolai Weibull
Hi! It seems that \C-^, evil-buffer, gets confused after having run an ex command, as, it seems, it tries to use the latest ex command as the buffer to switch to. ___ implementations-list mailing list implementations-list@lists.ourproject.org

Re: \C-^ gets confused after having run an ex command

2011-10-31 Thread Nikolai Weibull
On Mon, Oct 31, 2011 at 14:31, Frank Fischer frank.fisc...@mathematik.tu-chemnitz.de wrote: Am Fri, 28 Oct 2011 16:00:20 +0200 schrieb Nikolai Weibull n...@bitwi.se: It seems that \C-^, evil-buffer, gets confused after having run an ex command, as, it seems, it tries to use the latest ex

How easy would it be to add a comment selector?

2011-11-01 Thread Nikolai Weibull
I was thinking that it would be nice to, for example, be able to type gqac and have the current comment be formatted. I don’t know Emacs well enough to set this up, however, and was wondering if anyone had any input on this. Thanks! ___

Re: Toggling evil-local-mode off when updating buffers with magit

2011-11-16 Thread Nikolai Weibull
On Fri, Nov 4, 2011 at 11:48, Nikolai Weibull n...@bitwi.se wrote: On Thu, Nov 3, 2011 at 10:29, Nikolai Weibull n...@bitwi.se wrote: On Thu, Nov 3, 2011 at 08:34, Frank Fischer frank.fisc...@mathematik.tu-chemnitz.de wrote: On Wed, Nov 02, 2011 at 06:14:40PM +0100, Nikolai Weibull wrote

Re: Toggling evil-local-mode off when updating buffers with magit

2011-11-17 Thread Nikolai Weibull
On Thu, Nov 17, 2011 at 13:48, Michael Markert markert.mich...@googlemail.com wrote: On 17 Nov 2011, Nikolai Weibull wrote: Sure, but in this case I’m still not clear if this is a problem with Evil or not.  The problem is that revert-buffer is told to not restore local modes.  The question

Re: Toggling evil-local-mode off when updating buffers with magit

2011-11-17 Thread Nikolai Weibull
On Thu, Nov 17, 2011 at 17:11, Frank Fischer frank.fisc...@mathematik.tu-chemnitz.de wrote: On Thu, Nov 17, 2011 at 04:16:51PM +0100, Nikolai Weibull wrote: Ah, might the problem be that I use, for example,   (define-key evil-insert-state-local-map e 'ruby-electric-end-character) in my ruby

Re: Toggling evil-local-mode off when updating buffers with magit

2011-11-18 Thread Nikolai Weibull
On Fri, Nov 18, 2011 at 08:30, Frank Fischer frank.fisc...@mathematik.tu-chemnitz.de wrote: Could you please give a minimal example, ideally starting with a fresh make emacs from evil's source I can’t run ‹make emacs› on my terminal for some reason (PuTTYCyg at work), as Emacs complains that

Re: Toggling evil-local-mode off when updating buffers with magit

2011-11-18 Thread Nikolai Weibull
On Fri, Nov 18, 2011 at 11:20, Frank Fischer frank.fisc...@mathematik.tu-chemnitz.de wrote: On Fri, Nov 18, 2011 at 09:47:35AM +0100, Nikolai Weibull wrote: Running ‹make terminal› works and after saying no to running the tests (running the tests gives the same result) I run the following: C

Re: Toggling evil-local-mode off when updating buffers with magit

2011-11-22 Thread Nikolai Weibull
On Fri, Nov 18, 2011 at 13:12, Frank Fischer frank.fisc...@mathematik.tu-chemnitz.de wrote: On Fri, Nov 18, 2011 at 12:29:53PM +0100, Nikolai Weibull wrote: The buffer a should be in Fundamental mode.  You can also use M-x revert-buffer to get the same result. This explains the problem

Last commit breaks desktop file loading

2012-04-25 Thread Nikolai Weibull
Hi! The last commit, 3474346fba687aaf265037ca8fd9ede705727262, that doesn’t enable evil-local-mode when load-in-progress is t breaks loading of files through a desktop file at Emacs boot time. The commit message notes that Emacs loads a package into a buffer called “ *load” with load-in-progress

Re: Last commit breaks desktop file loading

2012-04-25 Thread Nikolai Weibull
On Wed, Apr 25, 2012 at 11:20, Vegard Øye vegard_...@hotmail.com wrote: On 2012-04-25 10:40 +0200, Nikolai Weibull wrote: The commit message notes that Emacs loads a package into a buffer called “ *load” with load-in-progress set to t.  Shouldn’t the condition then be ((and (string= (buffer

CJK support makes evil-forward-word-begin slow

2012-07-29 Thread Nikolai Weibull
Hi! The CJK support added in 7adc3b119fcb4ef58d3d077dc38bc974af8c584b seems to make evil-forward-word-begin run a lot slower than before. evil-backward-word-begin seems to be unaffected, speed wise. ___ implementations-list mailing list

Re: CJK support makes evil-forward-word-begin slow

2012-07-31 Thread Nikolai Weibull
On Mon, Jul 30, 2012 at 8:28 AM, Frank Fischer frank-fisc...@shadow-soft.de wrote: On 2012-07-29, Nikolai Weibull n...@bitwi.se wrote: The CJK support added in 7adc3b119fcb4ef58d3d077dc38bc974af8c584b seems to make evil-forward-word-begin run a lot slower than before. evil-backward-word-begin

Re: CJK support makes evil-forward-word-begin slow

2012-07-31 Thread Nikolai Weibull
On Tue, Jul 31, 2012 at 10:11 PM, Frank Fischer frank-fisc...@shadow-soft.de wrote: Am Tue, 31 Jul 2012 17:40:49 +0200 schrieb Nikolai Weibull n...@bitwi.se: I just hold down ‘w’ and let it auto-repeat. Did you try that? Yes, that's what I tried but apparently on a too powerful machine

Re: CJK support makes evil-forward-word-begin slow

2012-08-01 Thread Nikolai Weibull
On Tue, Jul 31, 2012 at 11:32 PM, Barry OReilly gundaeti...@gmail.com wrote: You byte compiled Evil right? 'make' does it. Um, no? That seems to have solved it, though. Jeesh. Thanks! Still, it’s worked fine before without a byte-compiled version.

Re: CJK support makes evil-forward-word-begin slow

2012-08-01 Thread Nikolai Weibull
On Wed, Aug 1, 2012 at 10:02 AM, Vegard Øye vegard_...@hotmail.com wrote: On 2012-07-31 22:11 +0200, Frank Fischer wrote: The problem is that evil does a lot of cleanup work after each single command (usually in post-command-hooks, for example the repeat-system and cursor adjustment at the

Multiple-cursors

2013-08-26 Thread Nikolai Weibull
Hi! Has anyone set up Evil with multiple-cursors? I’ve just started investigating multiple-cursors and it seems preferable over iedit. It doesn’t play as well with Evil, however, at least not out of the box, and I was wondering if there are some obvious changes to make to get them to work well

Re: Multiple-cursors

2013-08-27 Thread Nikolai Weibull
On Mon, Aug 26, 2013 at 8:31 PM, Frank Fischer frank-fisc...@shadow-soft.de wrote: Am Mon, 26 Aug 2013 13:38:25 +0200 schrieb Nikolai Weibull n...@disu.se: Has anyone set up Evil with multiple-cursors? I’ve just started investigating multiple-cursors and it seems preferable over iedit

Re: Multiple-cursors

2013-08-27 Thread Nikolai Weibull
On Tue, Aug 27, 2013 at 1:43 PM, Tom Short tshort.rli...@gmail.com wrote: There are a couple of open issues filed for multiple-cursors that mention evil. Here's the main one: https://github.com/magnars/multiple-cursors.el/issues/17 Yeah, I saw that. I figured that since newest comment is

Wrapping paredit-forward

2014-05-29 Thread Nikolai Weibull
Hi! How should I go about wrapping paredit-forward so that it will work in normal mode? The problem currently is that once you hit a ‘)’ at the end of a line you can’t go forward any more, as point will be /at/ the ‘)’, due to the way Evil works, not /after/ the ‘)’, as paredit expects it to be.

Re: Wrapping paredit-forward

2014-05-29 Thread Nikolai Weibull
On Thu, May 29, 2014 at 3:09 PM, Óscar Fuentes o...@wanadoo.es wrote: Nikolai Weibull n...@disu.se writes: How should I go about wrapping paredit-forward so that it will work in normal mode? The problem currently is that once you hit a ‘)’ at the end of a line you can’t go forward any more

Motion in grep-mode

2014-09-16 Thread Nikolai Weibull
Hi! Why isn’t grep-mode’s bindings overriding those defined in motion-state? Since grep-mode is derived from compilation-mode, I’d have thought that it’d work. I’ve also tried (evil-set-initial-state 'grep-mode 'motion) without success (even though (evil-motion-state-p) returns t).

Re: Mapping ( and ) in paredit mode

2014-10-01 Thread Nikolai Weibull
On Sun, Sep 21, 2014 at 3:43 PM, Gordon Gustafson gordon3...@gmail.com wrote: Correct, but I'm still curious if it helps your situation. If it does, we can restore the default () bindings whenever you don't want to use paredit mode in a change-mode-hook (or whatever that hook is called) That

Stable release

2015-02-16 Thread Nikolai Weibull
Hi! Evil hasn’t been updated in Marmalade Repo since forever. Will we be seeing a stable release soon that can be included there? If not, how does versioning work in Melpa? I don’t particularly need the bleeding edge that Melpa seems to promote, but perhaps Evil is being versioned responsibly

Evil-ret/evil-ret-and-indent and electric-indent-mode

2015-02-16 Thread Nikolai Weibull
Hi! Evil-ret/evil-ret-and-indent and electric-indent-mode, don’t seem to play nice. The problem is that evil-ret-gen calls newline without the second argument, indicating that it’s being invoked interactively, which it should do if evil-ret is, in fact, being invoked interactively.

Re: Input-method during isearch

2015-03-03 Thread Nikolai Weibull
On Tue, Mar 3, 2015 at 2:31 AM, Gordon Gustafson gordon3...@gmail.com wrote: I'm actually getting `Invalid function: evil-without-input-method-hooks` when I try using / in 20150219.53. ! Really? Does this happen when you remove any customizations that tinker with search? If so that may mean

Re: Input-method during isearch

2015-03-02 Thread Nikolai Weibull
/15, Nikolai Weibull n...@disu.se wrote: Hi! I'm trying to get input-method to work during isearch. It works if, for example, isearch-forward-regexp is started in insert mode, as evil doesn't disable input-method then. However, when started in normal mode, it won't work, as evil disables input