Live data from Hacker News

LazyVim

lazyvim.org

521–530 of 537 posts

Re: LazyVim

#521

Earlier quoted context omitted.

Then you musta accept suboptimal UX. Its one way to live your life.

Just because it’s predefined doesn’t mean it’s suboptimal. On the contrary - anything I do myself likely has less about of thought and consideration from an officially published configuration.

That is just not true. Anything not customized to your specific need and context is certainly more complex and bloated. "Officially published" is a common falacy (resorting to authority)

Re: LazyVim

#522
post #29
post #21

Earlier quoted context omitted.

copilot works wonderfully inside NeoVim; I use it daily. You are right that some of the more advanced integrations (Chat, direct analysis/explanation) aren't ported though. I use shellgpt in tmux for a (not as good but almost) experience.

Does it really work wonderfully for you? I am often times shocked by how it just can't guess the most obvious completions. Then I jump into VSCode to sanity check, and it works fine there. Talking about tpope's official neovim plugin

It's not perfect, but it's still generally valuable. I do still bounce between VSCode/NeoVim (depending how often my current task will need a stable debugger vs how often i need better neovim code search), so I see how the VSCode implementation is better; but I still prefer to live in neovim as much as possible.

Re: LazyVim

#523
Using setups like this is a great way to get into neovim. Over time you'll start tweaking it and then realize you can just read the source code and implement your own version. That's what my journey over the past ~8 months has been, at least.

Here's to hoping we get a nice way to play with containers in neovim. I'm sorely missing devcontainers from vscode.

Re: LazyVim

#524
I switched from vim to jetbrains IDEs (with vim keybindings) nearly a decade ago because of visual debuggers being incredibly useful. Is there one of these for vim (or neovim) now that works well with popular languages?

Re: LazyVim

#525
post #511
post #448

Earlier quoted context omitted.

>just login in GitHubs vscode Imagine if you had to do that to every program you want to configure. Sure, rsync/git cloning your config may be less straightforward than logging in somewhere, but it's far more convenient when you have to configure dozens of programs anyway.

I understand your point, but the person above has to login to Git every time they want to pull down their .vim config. It's a similar thing.

You don't have to login to Git if your dotfiles are public. Or if you throw them up on a "private only by lack of awareness" repo.

Re: LazyVim

#527
post #500

Earlier quoted context omitted.

Sysadm here as well, been using vi since the '80s. A year or so ago I threw away all my custom vimrc and went with (nearly) bone stock LunarVim, and have really enjoyed getting off the treadmill of maintaining a custom vim setup. Partly because of the 100s of machines issue, partly because of managing plugins and interactions between them. I program maybe 5% of the time, so the stuff I do to make it IDE-like often is…

One of the things I noticed about LunarVim is that they were not very receptive about it in the official NeoVim rooms whereas people there (including NeoVim developers) were quite positive about LazyVim. The other alternative they suggested was https://github.com/echasnovski/mini.nvim TLDR is that with the global lvim object, custom path, breakages because of unstable plugins it causes a lot of support issues where p…

I've got a painstakingly crafted neovim config that approximately works how I want it to, most of the time, and I'm happy with it. But it's taken a while, a lot of nights inevitably spent mucking with plugins and LSP and gluing it all together instead of working on more rewarding things.

I'd be lying if I said I'd never thrown something at a wall in frustration due to vim acting in some bizarre, inexplicable way and not knowing why, although that definitely happens less nowadays with nvim.

I hadn't heard of lazyvim until the other day and I doubted I'd really need it, but now that I know it's something new from folke, I'm gonna have to give it a shot. Always quality stuff from him -- dude is a machine, when does he sleep?

Re: LazyVim

#528

Earlier quoted context omitted.

Sure: set ts=4 set sw=4 set softtabstop=4 set expandtab set hlsearch set incsearch set wildmode=longest,list OK, only 7 lines then :) Basically: tabs are 4 spaces, searching works better, and tab completion works like bash.

Oh no, I need at the very least timeoutlen, visualbell and line number. I type that manually when I SSH if I must. Don't want to wait for ESC, no beeps at all and I wanna know where I am on the document. And lots more is needed for decent Vim IMO. smartcase, set hidden, etc.

I read that most people only use about 10% of vim's features, but everyone uses a different 10% :)

Re: LazyVim

#529

Earlier quoted context omitted.

Oh no, I need at the very least timeoutlen, visualbell and line number. I type that manually when I SSH if I must. Don't want to wait for ESC, no beeps at all and I wanna know where I am on the document. And lots more is needed for decent Vim IMO. smartcase, set hidden, etc.

relativenumber is essential too, unless you like typing something like d-638- -G just to delete 15 or 20 lines of text.

I actually think lack of line numbering is essential, because I quite frequently want to select blocks of code with the mouse and yank into the clipboard.

Re: LazyVim

#530

Earlier quoted context omitted.

relativenumber is essential too, unless you like typing something like d-638- -G just to delete 15 or 20 lines of text.

I actually think lack of line numbering is essential, because I quite frequently want to select blocks of code with the mouse and yank into the clipboard.

That is true, but you can integrate tmux and vim with the system's clipboard. Then again, :set nu! is easy to type.
Post reply on HN