Live data from Hacker News

Plans for Vim 7.4

groups.google.com

61–70 of 86 posts

Re: Plans for Vim 7.4

#63
post #4

I am curious what "add IDE features" means. It seems like a wide-open feature request. A few things I can think of: * Better support for background tasks .. :mak, :grep, system(), :! without interrupting editing. * Fancier errorlist and locationlists. cexpr()/lexpr() really make you fit round pegs into square holes. * Better omni-completion performance (any completion dialogs other than , buffer keyword completion, a…

>> I'm sad to see VimScript de-emphasized, having invested a good bit of time in getting good with it, but VimScript is pretty slow, so this is good news. I'm a Vim enthusiast who hasn't tried Emacs, but one thing I've heard that makes me jealous is that they can script their editor using a flavor of Lisp. This is extra awesome for devs whose primary language is already Lisp. Sometimes I wish for a Vim-like editor wi…

You can write plugins with Racket. However the API is AFAIK the same as for Python or Ruby so you can't really escape vimscript.

Re: Plans for Vim 7.4

#64
post #25

The number one thing I'd want in vim is support for Multi Cursors, ala Sublime Text. This is something that's very hard to get right with a vim plugin, but could probably be added to core vim much more easily.

I've been using this for a few weeks: https://github.com/terryma/vim-multiple-cursors

Works great!

Re: Plans for Vim 7.4

#65

Just because people who follow the vim google group want more ide features and python integration doesn't mean thats what most vim users want. Why don't they fix the obvious flaw, mouse integration? (I know, because it would be hard)

Maybe because mouse integration already works?

Re: Plans for Vim 7.4

#66
post #60

Earlier quoted context omitted.

What are you talking about? http://docs.python.org/2/library/string.html

>>> a = "string" >>> a[1] = 'g' Traceback (most recent call last): File " ", line 1, in TypeError: 'str' object does not support item assignment >>> b = a.replace('t', 'g') >>> b 'sgring' >>> a 'string' >>> id(b) 3065252256L >>> id(a) 3075481632L Also from here[1]: Strings and tuples are immutable sequence types: such objects cannot be modified once created. [1] http://docs.python.org/2/library/stdtypes.html#mutable-…

Oh. I guess I never thought of strings as immutable because there are so many ways to change them.

Re: Plans for Vim 7.4

#67
post #52
post #23

Earlier quoted context omitted.

evil-mode[1] is a really well crafted vim emulator for emacs. Not those clunky emulations that barely do hjkl but something that replicates even text objects or repeat (.) . This made my migration from vim to emacs possible. [1] http://gitorious.org/evil/pages/Home

After over 20 years of very happily using vim and other vi-clones, I'm in the process of making emacs+evil my main editor. Making the switch is slow and painful for this veteran vim user who has perfected his vim environment, but I can already see that the emacs environment that I build will be superior... eventually. Plus, I get the joy of scripting my editor in elisp and eventually guile (I hope). No more vimscript…

I'm thinking of making the switch. Are you able to port your vim plugins to emacs in evil mode?

Re: Plans for Vim 7.4

#68
post #67
post #52

Earlier quoted context omitted.

After over 20 years of very happily using vim and other vi-clones, I'm in the process of making emacs+evil my main editor. Making the switch is slow and painful for this veteran vim user who has perfected his vim environment, but I can already see that the emacs environment that I build will be superior... eventually. Plus, I get the joy of scripting my editor in elisp and eventually guile (I hope). No more vimscript…

I'm thinking of making the switch. Are you able to port your vim plugins to emacs in evil mode?

I don't know if it's possible to automatically port vim plugins to evil. However, according to the emacswiki page on evil[1], a number of vim plugins have been ported:

  evil-surround:       Port of Vim’s surround script.
  evil-numbers:        Vim-like increment and decrement.
  evil-leader:         Port of Vim’s mapleader.
  evil-rails:          Port of rails.vim.
  evil-nerd-commenter: Port of Vim’s Nerd-Commenter
Also, there are many emacs packages that provide functionality that's more or less equivalent to various vim plugins (sometimes even unenhanced emacs will already be capable of doing what you need).

Just a couple of tips for vim fans giving emacs+evil a go:

  * Don't expect to quickly master emacs or quickly be able
    to replicate the vim environment you spent years
    perfecting.  Getting emacs set up nicely will take a lot
    of learning, tweaking and hacking (especially if you
    want to make it more vim-like).  Be prepared for that.

  * Come to #emacs and #evil-mode on freenode for help.

  * You might want to go through the emacs tutorial (C-h t)
    before you install evil or do any other customizations.
    That'll teach you some basics of emacs that you'll run
    in to elsewhere, and help minimize confusion.

  * Search the emacswiki[2] on any topics you're interested
    in.  There's a lot of good stuff there.

[1] - http://www.emacswiki.org/emacs/Evil

[2] - http://www.emacswiki.org

Re: Plans for Vim 7.4

#69
post #64
post #25

The number one thing I'd want in vim is support for Multi Cursors, ala Sublime Text. This is something that's very hard to get right with a vim plugin, but could probably be added to core vim much more easily.

I've been using this for a few weeks: https://github.com/terryma/vim-multiple-cursors Works great!

Actually, I found this plugin to be kind of buggy. However, I'm sure it'll get better soon, as it only had its first release a few weeks ago.

Re: Plans for Vim 7.4

#70
post #26

Earlier quoted context omitted.

E M A C S s e l o h c t t n i a a t f p r t e o l

Come on , there is room for both VIM and Emacs , but i must say VIM seems more popular today.

Maybe on r/vim, but on r/emacs it seems that Emacs is, by far, the most used text editor in the whole world!

What I mean is that it's hard to know which editor is the most popular, it really depends on the communities you visit

Post reply on HN