Live data from Hacker News

Vim 8.0 released

groups.google.com

81–90 of 308 posts

Re: Vim 8.0 released

#81

Thanks for the work done here. I'm not a VIM user anymore (I use Spacemacs now), but it opened my eyes/mind to what is a professional code editor. After using VIM, using any other editor feels like programming in Notepad. VIM you'll always be in my heart.

I use Spacemacs for Elixir programming and honestly, Emacs is slow, I would often type commands and then wait for it to complete. I think some reboot like Neovim did for Vim, could be beneficial as it is awesome editor, but it is just too slow to start and slow to use. It might be that Spacemacs layer is adding additional complexity, and maybe going through Helm is the issue, I don't know, just it does take quite a b…

Core Emacs is extremely snappy, slowdowns generally occur from packages. Helm is indeed a giant monster. Highlighting and redisplay is another area where things slow down.

Re: Vim 8.0 released

#83

Earlier quoted context omitted.

Neovim is still a lot faster for me. A simple example is always commenting out a block 10jI#, which takes 5 seconds or so in vim (including 8.0), but is instant in neovim.

I'd recommend https://github.com/tpope/vim-commentary for commenting out code. Anyway, it's not a good practice.

What would you recommend for turning off a section of code temporarily?

Re: Vim 8.0 released

#84

The biggest power of vi for me is about it running on pretty much anything. If it has a keyboard and a screen, it has vi. While I usually stick to I, A, N+G, Shitf-ZZ and :q! only, I appreciate the effort and keeping vi alive and well. Big thanks!

Here's a useful one:

cnoremap sudow w !sudo tee % >/dev/null

Or from inside your editing session:

:w !sudo tee % > /dev/null

For when you find you've edited a file you don't own (e.g. config file) and forgot to sudo first.

Re: Vim 8.0 released

#85
post #67
post #56

Earlier quoted context omitted.

Thanks, we updated the link from https://github.com/vim/vim/releases/tag/v8.0.0000 .

Maybe not the best idea, the new link now shows: > Over Quota > This application is temporarily over its serving quota. Please try again later.

https://raw.githubusercontent.com/vim/vim/master/runtime/doc...

Re: Vim 8.0 released

#86
post #69

Thanks for the work done here. I'm not a VIM user anymore (I use Spacemacs now), but it opened my eyes/mind to what is a professional code editor. After using VIM, using any other editor feels like programming in Notepad. VIM you'll always be in my heart.

How did you learn Spacemacs? I'm still using vim but would like to try & learn Spacemacs. What's a good way to learn it?

I have dabbled in spacemacs a tiny bit and I have been using vim for years. Basically I think there are two ways to learn spacemacs.

Method 1

1. Become proficient in vim

2. Become proficient in emacs

3. Learn spacemacs keyboard shortcuts

Method 2

1. Become proficient in emacs

2. Become proficient in vim

3. Learn spacemacs keyboard shortcuts

I'm a vim user, but I know almost nothing about emacs, so I am having a tough time adopting spacemacs. The basic editing features are a flawless reproduction of vim, but when I do `set textwidth=99` it doesn't work. Then I end up googling how to do this in spacemacs which is apparently `spc : set-fill-column 99`. This is just one example, but there are many others if you try to do anything different from the spacemacs defaults.

Re: Vim 8.0 released

#87

Earlier quoted context omitted.

this async thing was Neovim's main selling point, right? I mean cruft-removal is all well and good but vim works fast and fine for me so not important. What does Neovim now offer that this doesn't?

I believe it has a complete embedded terminal

I've actually started using neovim as a default terminal paired with my standard shell. I personally never got that used to the commands for tmux or screen, and with neovim I get the exact commands I am expected as well as -send line to REPL- with https://github.com/kassio/neoterm

Re: Vim 8.0 released

#88

Earlier quoted context omitted.

I'd recommend https://github.com/tpope/vim-commentary for commenting out code. Anyway, it's not a good practice.

What would you recommend for turning off a section of code temporarily?

Kill region, save, run/compile/read, undo if needed. With undo tree (or if you add commit to the process above) there is no need to comment just one region to turn off something.

Optionally, convert the region into a separate function/method and just don't call it while checking.

Re: Vim 8.0 released

#89
post #8

Given the occasion, and given that vim is charity-ware software ( http://charityware.info/ ), it would be cool to have some sort of HN-wide donation to ICCF ( http://iccf-holland.org/ ). Donation page: http://iccf-holland.org/donate.html It seems that you can send bitcoins too: http://iccf-holland.org/bitcoin.html Imho just mentioning HN in the payment description would be okay :)

Given Vim powers our industry, it'd be neat if pg or any of the other big members of our community donated a non-trivial amount. There is very few pieces of software I could never imagine replacing in my toolkit. Linux? I use Windows, too. GCC? Clang gets some love sometimes. Languages themselves? I'm fluent in several. Shell? I used Bash for years, now I switched to ZSH, but could go back to Bash if I needed. Tmux?…

> Given Vim powers our industry

I hope that you're being sarcastic.

Re: Vim 8.0 released

#90

Earlier quoted context omitted.

Given Vim powers our industry, it'd be neat if pg or any of the other big members of our community donated a non-trivial amount. There is very few pieces of software I could never imagine replacing in my toolkit. Linux? I use Windows, too. GCC? Clang gets some love sometimes. Languages themselves? I'm fluent in several. Shell? I used Bash for years, now I switched to ZSH, but could go back to Bash if I needed. Tmux?…

Nano

Are you seriously suggesting that nano is a valid replacement for vim?
Post reply on HN