« back to discussion

Vim 7.4a beta

almost 1000 bugfixes... I noticed a lot of minor annoyances for me have been cleared up.

Today is a good day.

if you're using macvim

over 3 years ago, by pineapple

5 Replies

SkinnyGeek1010

Niiiiiiiiiiiiiceeee.... I was wondering if you upgraded yet.

Does pasting in code now work like every other editor on the planet?!?!? Or is it mostly power user fixes? I can't seem to find a list of fixes :/

SkinnyGeek1010, over 3 years ago

pineapple
posted by SkinnyGeek1010 on Tue, Jul 9 at 09:11PM

Niiiiiiiiiiiiiceeee.... I was wondering if you upgraded yet.

Does pasting in code now work like every other editor on the planet?!?!? Or is it mostly power user fixes? I can't seem to find a list of fixes :/

https://code.google.com/p/vim/source/browse/runtime/doc/version7.txt?name=v7-4a#10159

For the paste issue, I assume you're talking about when you copy and paste something and it doesnt actually paste it where the cursor is? That seems to happen when you copy several newline with your text.

I tested it and it was reproducable, but only if I copied like 5 newline characters... just 1 or 2 didn't mess it up.

pineapple, over 3 years ago

SkinnyGeek1010

Wow thanks for the link, that's just what I was looking for!!!

Yea i've only ran into the paste issue when pasting in codeblocks online into regular terminal vim.... now that i'm thinking about it, perhaps it's a terminal issue, because I have vim alised to my macvim path. I have to always open macvim and paste in lol. It does this:

module MyAppNamespace {
      export class ChatApp {
                User: Models.Person;
                        constructor () => {
                                      this.User = new Models.Person("John");
                                                  this.User.Message = new Mo    dels.Message("Hello World");
                                                          }
                                                              }
}
                        }
      }
}

instead of:

module MyAppNamespace {
    export class ChatApp {
        User: Models.Person;
        constructor () => {
            this.User = new Models.Person("John");
            this.User.Message = new Models.Message("Hello World");
        }
    }
}

SkinnyGeek1010, over 3 years ago

pineapple

lol wtf. maybe remove 3 extra }? that's weird though, not quite sure. If you're referring to the indenting, you can download much better indentation plugins. I have one for JS that's nice in my repo, then just gg=G

pineapple, over 3 years ago

SkinnyGeek1010

lol, I know right. When I paste the bottom 'correct' block, it adds 3 extra braces and the indenting freaks out... apparently you have to set paste and then set unpaste... which seems totally ridiculous in 201*.

The indent plugin works great in MacVim though!

SkinnyGeek1010, over 3 years ago


Login or to comment.

« back to discussion

Tutorials are any resources you learn from.

Examples: an intro to html5 screencast, a pdf about git, photoshop effects tutorials, meta-programming in ruby, lambda calculus, higher-order fixed-point combinators.

Tools are websites, apps or services used -on- your project (indirectly), to aid the process.

Examples: A color scheme generator, email marketing software, usability heat maps, css3 code generators, a downloadable png compressor.

Assets are downloadable files used -in- your projects, usually as code, textures, or images.

Examples: a jquery sticky menu, photoshop brushes, background textures, mvc frameworks, twitter bootstrap, 960 grid system.