Monday, February 15, 2016

Re: Cursor behaviour change?

Hi otajuun!

On So, 14 Feb 2016, otajuun wrote:

> Hi,
>
> I've been using vim for over 15 years now, and is the only editor I use for coding. Today, I updated to the last version (using arch linux), and there has been a change in the cursor behaviour, which is driving me completely nuts!
>
> Whenever I write a new code block, I always write the braces first, and then place the cursor inside, for instance:
>
> void test()
> {
> }
>
> When I'm done writing this, the cursor is at the right of the closing brace.
> For years upon years, I've always done up arrow, enter, tab. The first up arrow would place the cursor to the right of the opening brace, enter add a new line, and tab obviously indent.
>
> But since today, when I press the up arrow, the cursor places itself *before* the opening brace. So it goes from:
>
> {
> }|
>
> to:
>
> |{
> }
>
> instead of the expected:
> {|
> }
>
> I understand this is very minor, but it's really messing with my brain, going against years of repeated usage.
>
> I use the same vimrc I've always used.
> I use gvim, but vim in console has the same behaviour.
>
> Is that a bug? Or a deliberate change in behaviour?
> The change in behaviour must have happened in the past month or two, which is when I last updated vim in arch.
>
> If it's a deliberate change, would there be anything I could add to vimrc to revert to the old behaviour?
>
> I could always get an older version of vim and manually install, but I'd rather know first wether its a bug or not.

I think this is a bug in the matchparen plugin. You might need to update
your vim.


Best,
Christian
--
Alle Vorurteile kommen aus den Eingeweiden.
-- Friedrich Wilhelm Nietzsche

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment