Live data from Hacker News

Vim after 15 Years

statico.github.io

91–100 of 176 posts

Re: Vim after 15 Years

#91

Vim, apparently, is the new emacs. /me ducks and runs out of the room

I think there's loads of great ideas in emacs we can use for inspiration.

I've tried Spacemacs a couple of times, it's very good but not for me I think. I'd be happy to import ideas like dired though.

Re: Vim after 15 Years

#92
post #67

Earlier quoted context omitted.

I have not heard any good argument for a leader key better than . f, t, b for fzf (and t is not a stretch on my keyboard layout)

The only thing preventing me from using is the slight lag it introduce each time is used in insert mode. It is bearable with ',', but I cannot stand it with . If it is possible to remove completely this lag (not simply reduce it), then it would be awesome.

Apologies if this is incorrect (on my phone atm) but I've been using as leader for two years now, and have never ever noticed lag in insert mode.

Perhaps it's a setting you have enabled/disabled, or unrelated to vim?

Re: Vim after 15 Years

#93

I was split between using Emacs and Vim for last 2 years (I used Vim for last 6, and learned Emacs 2 years ago). But what made Vim my main editor is fzf and ag, and smooth workflow that I had in terminal. But I have to say, ivy and counsel made my Emacs experience much, much nicer. But I guess that I got too deep into Vim already that I kinda got used to it so much, that I appreciated more that "terminal" workflow.

> But what made Vim my main editor is fzf and ag, and smooth workflow that I had in terminal.

For emacs, try helm to replace fzf (or just use fzf.el). helm-ag is awesome. On the terminal, just alias 'vi' to 'emacsclient -nw -a ""'.

If you miss the vi keybindings (which are a pretty nice way to deal with code), then evil-mode or a full Spacemacs are pretty good options for you.

Re: Vim after 15 Years

#94

Vim, apparently, is the new emacs. /me ducks and runs out of the room

That's what I don't get: for years, vi (and vim) mocked the emacs community (with some justification) for throwing everything and the kitchen sink into our editor. We were building an entire operating environment, while vi was providing a nice, solid, fast text editor.

But with vim & neovim, people are building a complex operating environment in a terrible language, and ignoring the man-centuries of effort which have gone into emacs.

Why not just switch over? In what ways is a tricked-out vim or neovim preferable to emacs? In what ways is tricking out vim or neovim preferable to emacs?

Re: Vim after 15 Years

#95
post #15

Earlier quoted context omitted.

Switched to i3 a few weeks back and I absolutely love it. Switching between applications and workspaces is incredibly fast, and the _only_ time I need the mouse is for web browsing. It's amazing.

Use qutebrowser, and you'll never need the mouse again!

+1 liked from a qutebrowser instance :)

Re: Vim after 15 Years

#96
post #67

Earlier quoted context omitted.

The only thing preventing me from using is the slight lag it introduce each time is used in insert mode. It is bearable with ',', but I cannot stand it with . If it is possible to remove completely this lag (not simply reduce it), then it would be awesome.

Apologies if this is incorrect (on my phone atm) but I've been using as leader for two years now, and have never ever noticed lag in insert mode. Perhaps it's a setting you have enabled/disabled, or unrelated to vim?

This lag is introduced by vim, to wait for the next keys and see if you are actually inserting them or using mapped key sequence.

It is configurable in vim, but then either you have a lag and you are able to use your key sequence, or you don't and sequences cannot be used.

So maybe I have something configured that sets it wrong, but I do not see how to reconcile both things.

Re: Vim after 15 Years

#97
post #34

I made a Vim plugin to use 'normal' sublime/atom-like keybindings: https://github.com/tombh/novim-mode I have an almost identical setup as that described in this post. Being in the terminal and integrating with tmux is a wonderful environment - lightweight and immersive. And all these Vim plugins are of such good quality - are Vim plugin authors perhaps of a different, geekier, ilk? So it's a shame that vanilla Vim i…

Many newcomers using your plugin will have a huge problem when using vanilla VIM. The same problem exist with Spacemacs, Spacevim or other weird things.

If someone don't want to use VIM modal editing why not to stay with Sublime/Atom/VSCode or any other editor? They also have very rich plugins ecosystem. Not mentioning that Sublime is like crazy fast...

To clarify it's not an attack on anyone. For instance evil mode in emacs is also a heart breaking plugin for me. Every editor is made for different workflow, why on earth mix them up? And in most cases it does not work very well.

Re: Vim after 15 Years

#98

Earlier quoted context omitted.

Something faster than ag? Honestly had no idea. I've been so happy with ag.

I think it only matters for very large trees. I didn't notice much difference personally.

It also handles unicode correctly without killing performance.

Re: Vim after 15 Years

#100

Earlier quoted context omitted.

I've been using i3 for years now. I experienced the same pain. Mac hijacks a lot of the child vm keybindings. I didn't have this problem with windows as the host os. But that doesn't really make sense. Best of luck with the transition. Posting from a thinkpad, with i3, pycharm and vim right now :).

How are you posting on HN from vim?

I didn't. Just saying I ran a similar setup as the parent poster.
Post reply on HN