Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_7tgr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
_7tgr
3y ago
Entering + exiting insert mode with i and Esc moves your cursor to the left by one, so I suppose this neutralizes it?
32.
▲
by
_7tgr
3y ago
It does, you'd just have to install a python plugin that registers the autocommand-- or leave out the plugin and register the autocommand yourself. The (n)vim/emacs communities aren't fond of integrating the hot new thing for
33.
▲
by
_7tgr
3y ago
For what it's worth, the 'VSCode-level' functionality in my init.lua has probably required roughly a few hours of maintenance over the ~7 years I've been using Neovim. The LSP setup is just a matter of finding a plugin m
34.
▲
by
_7tgr
3y ago
FWIW, I just needed to install the default nvim-lspconfig plugin (it's provided by the Neovim maintainers, and it doesn't do anything besides provide default LSP server configs for a lot of languages to the builtin Neovim LSP clie
35.
▲
by
_7tgr
3y ago
You might want to give nvim's Lua API a try. They took the opportunity to fix a lot of the semantic issues with vimscript
36.
▲
by
_7tgr
3y ago
Yeah, likely to update all the plugins it uses or something. I don't use it so unsure :)
37.
▲
by
_7tgr
3y ago
I'm playing into the joke here, but on most terminals, alt + <key> will actually be sent to the program as <esc> + key. You can use this to avoid pressing escape in Neovim.
38.
▲
by
_7tgr
3y ago
Helix is cool, but it doesn't have Vim keybinds, which is unfortunate. I find its own system to be a little worse than Vim's (see my other comment about it in this thread).
39.
▲
by
_7tgr
3y ago
Helix is interesting but I don't really gel with its editing language (subject + verb instead of verb + subject like (n)vim's). Happy to discuss what I think is lacking in more detail, but basically: the premise of 'you can s
40.
▲
by
_7tgr
3y ago
No, it's not clunky. The plugin community is just a lot more active, imo. I personally avoid plugins wherever I can, since I prefer to write my own little Lua scripts that do stuff the way I like. (And I quite like the Lua API-- the lu
41.
▲
by
_7tgr
3y ago
I see where you're coming from. FWIW, I've been using Neovim for an odd 7 years or so and only use plugins where absolutely necessary. I'll usually just add an appropriate BufWritePost (trigger after saving the buffer) autoco
42.
▲
by
_7tgr
3y ago
Well, sure, but setting up the build environment is pretty easy! You just specify the libraries as you normally would, and it works. The only difference is that those libraries are only available to that package, and not globally. The funct
43.
▲
by
_7tgr
3y ago
Sure, I agree that I could have been nicer. On the other hand, I have very few spoons for responding politely to people who retort to others’ requests to not be judged on the basis of their race with, effectively, “suck it up”. It’s difficu
44.
▲
by
_7tgr
3y ago
Can’t believe I have to state this explicitly, but I am on Hacker News, after all-- scraping the bottom of the barrel here. It is absolutely reasonable to ask people to reconsider their prejudices. Your line of thought does nothing but rein