Live data from Hacker News

Vim 8.0 is coming

github.com

131–140 of 420 posts

Re: Vim 8.0 is coming

#131
post #10
post #4

I have vim, neovim and emacs (and spacemacs) installed. Right now I'm trying to get into emacs a bit more. What's interesting to me, and the reason I try to keep up to date with the latest changes for all four editors, is that it's been now, what, 25 years (?) since emacs and vim started "competing" and they still are. I guess we could be saying the same in 10 years about firefox and chrome, but it still is amazing i…

I became an heavy Emacs user as I could not find the comfort of Borland IDEs in UNIX, as I started to use it. Since I moved away from C++ into Java and .NET land, never felt the need to use them any longer. And nowadays, with Qt Creator, Clion, xCode, AppCode and VS, I also don't feel the need of them when I need to go back to C++. It is very good to know the basics from plain Vi, because there are still commercial U…

One of my primary reasons for using emacs is because I decided I wanted to learn how to do as much of my computing from a terminal as possible, and emacs is closer to an OS itself than just a txt editor. (I know enough vi vim to do just fine when on systems without emacs though.)

Another reason is because I conciously have decided that gnu and gpl are what I want to run whenever possible, which also affects my other tool choices, eg, screen vs tmux.

Re: Vim 8.0 is coming

#132
I've been trying to evaluate the different editors.

https://github.com/melling/EditorNotes/blob/master/vim.org

To me it feels like the vim key bindings are more efficient for programmers. No one has ever done a scientific comparison, and it always seems to end in a religious war, but we should do a better job of evaluating our tools. Then hopefully, we can improve them.

Re: Vim 8.0 is coming

#133

Is there a way how I can copy blocks of code outside the vim window to another application without also copying the line numbers? Also is there one simple key combination to [un]comment a line or a selected block? I found out how to do many simple operations with this ancient tool, what can be really fun if you have nothing else funny in life (too many people have no other sources of fun, really) - but I am still not…

Normally you should be able to yank the lines you want to copy to the * register (check :registers). The * register is basically the clipboard. You can use it to copy stuff from and to Vim. It does not necessarily work under every OS, but so far in Windows and OSX it worked fine on console and GUI.

For commenting and uncommenting you can check the NerdCommenter plugin.

Re: Vim 8.0 is coming

#134

Is there a way how I can copy blocks of code outside the vim window to another application without also copying the line numbers? Also is there one simple key combination to [un]comment a line or a selected block? I found out how to do many simple operations with this ancient tool, what can be really fun if you have nothing else funny in life (too many people have no other sources of fun, really) - but I am still not…

Ctrl-V to turn on rectangular visual mode, select the area you want to copy (presumably you understand to not select the line numbers), then "*y to copy it to the system clipboard. Once it's on the system clipboard, you can then paste it into another application; generally this is done with Ctrl-v or something similar, but you should check your operating system's user manual to verify this.

Re: Vim 8.0 is coming

#135

Earlier quoted context omitted.

Neovim also has the terminal buffers, which Vim has explicitly stated to never add. (Source: Somewhere in :help, but unfortunately I can't find it right now.)

Well, from my previous not great experience with terminal inside Emacs I don't really need that. I would be much happier if Emacs and Vim just had correct color support in the console so that I could use both from the console in a Tmux terminal and have a real terminal open side-by-side with the editor. I can do that in Vim nicely after hacking the console colors, and Neovim without having to care about the colors an…

I don't personally use the terminal support. Except it turns out that I actually did, implicitly. I use fzf for opening files, and I noticed recently that it's not actually 'integrated' into neovim, it just spawns within its terminal emulator. I tried fzf in vim, and the result was less than satisfactory, to say the least.

Re: Vim 8.0 is coming

#136

Earlier quoted context omitted.

no, i do not want to disable line numbering. I want to avoid to copy them. I do not want to switch line numbering on off for every copy process. Absurd idea.

A better option would be to use a plugin that yanks text to the system clipboard.

You don't need a plugin for that. Just set the 'clipboard' option.

Re: Vim 8.0 is coming

#137
post #10

Earlier quoted context omitted.

I became an heavy Emacs user as I could not find the comfort of Borland IDEs in UNIX, as I started to use it. Since I moved away from C++ into Java and .NET land, never felt the need to use them any longer. And nowadays, with Qt Creator, Clion, xCode, AppCode and VS, I also don't feel the need of them when I need to go back to C++. It is very good to know the basics from plain Vi, because there are still commercial U…

I value very different things than you do. Vim and Emacs have a more difficult learning curve but the beauty of it... and configuring it to your liking is that it can surpass in speed and capabilities what some very convenient editors can do for a single language. I use MacVim and my .vimrc file follows me around wherever I go. My experience is great in my editor because the few minutes I invested here and there have…

> I use MacVim and my .vimrc file follows me around wherever I go.

Minor nit in support of parent comment: no it doesn't, you have to copy or sync it around yourself.

Atom is a great example of an editor that is aware of the internet existing. Vim, while my daily driver, is not.

Re: Vim 8.0 is coming

#138
Soo, are these changes already in the git repository? Because the readme is still pointing out that the repository is for 7.4 and the tags/branches are not very helpful. Did I miss something?

Re: Vim 8.0 is coming

#139
The new breakindent options sounds very useful. I've run into the same issue from time to time. This hasn't been possible to fix before, has it?

Re: Vim 8.0 is coming

#140
post #60
post #43

Earlier quoted context omitted.

I don't need to learn Qt Creator, Clion, xCode, AppCode and VS if I already know vim. Why I would to need to use a different text editor for each different language?

Unlike vim or emacs, you don't need to learn VS, Qt Creator, Clion or similar... Mostly, these tools are so intuitive, you just start being productive right after first time.

Depending on the meaning of "productive" of course...
Post reply on HN