Live data from Hacker News

Show HN: CuteVim – Portable Vim with a cute vimrc

github.com

41–50 of 74 posts

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#41

Earlier quoted context omitted.

To quote from their readme: “Overriding dark themes to replace the uggly muddy darkgreys by a pure #000000 black: this is ideal on OLED screens which can do pitchblack and give you a higher constrast” Those muddy dark greys are actually there for purposefully lowering the contrast, to prevent fatigue. It takes a while to accommodate to lesser contrast, but once you do it, you will likely never want the pure blacks ba…

I think you're talking about two orthogonal topics. If the fatigue comes from the difference between foreground and background, it's independent of how "pure" the black is. You can have #000 black AND keep a low contrast between bg and fg, which looks great on OLED screens AND doesn't hurt your eyes. This is anyway very subjective. For example, I feel the widely popular Solarized colorscheme MORE tiring because the l…

I literally have mentioned that you can have black and low contrast by adjusting the foreground colors.

It’s subjective indeed, and it requires an investment, purposefully putting up with it for a while, to be able to harvest the benefits. But everyone I personally know who did that, doesn’t want to go back to rich contrast.

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#42
post #39

Earlier quoted context omitted.

To quote from their readme: “Overriding dark themes to replace the uggly muddy darkgreys by a pure #000000 black: this is ideal on OLED screens which can do pitchblack and give you a higher constrast” Those muddy dark greys are actually there for purposefully lowering the contrast, to prevent fatigue. It takes a while to accommodate to lesser contrast, but once you do it, you will likely never want the pure blacks ba…

Anyway, if you want to lessen eyestrain, you want light mode. Light text on a dark background blooms more and makes it harder to distinguish the characters.

Well, I guess not many will agree with your statement, but I respect your opinion

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#43
post #32

This is sick and eliminates the "but I want my muscle memory to work on bare-metal Vim installed by default on every Linux" complaint against stuffing too much config into Vim. Why bother using the barebones install when you can just scp a single binary over that contains everything, to literally any OS ? Amazing. That being said, the config is definitely highly personal — it would be amazing to have a set of scripts…

If there's an "m" it's not portable vi and that's a fraud anyway.

The binary was compiled with Cosmopolitan Libc [0], and therefore the binary will execute natively on Linux, Mac, Windows, FreeBSD, OpenBSD, NetBSD, and bare metal (BIOS boot).

I would call that portable.

[0] https://github.com/jart/cosmopolitan

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#44
post #29
post #28

Earlier quoted context omitted.

> How do you split if ctrl+w is cut word instead? Before I tell you how, I want to tell you the 2 reasons why I don't like splitting with Ctrl-W: 1) because I think Ctrl-W should the same thing as on readline or emacs 2) because even if existing uses of Ctrl-W were removed from the picture, splitting with Ctrl-W use 3 keys. Why use 3 keys when you can use 2? I like short sequences, and chording, and there are many 2…

I'll be honest, I just took a bit of offence to the "sensible defaults" wording. I think there probably are some things you can do in vim that the vast majority would agree with. But I think you've gone a wee bit too far into just making it your preferences. I totally get your logic by the way, I'm just not convinced it's strong enough to be considered a "sensible default" ;). You're not wrong that it's 3 keys instea…

> I'll be honest, I just took a bit of offence to the "sensible defaults" wording.

Then I have to apologize for the bad joke.

I wanted to show cute and inspiring things, that would make people smile during the holidays, not offend people with bad jokes.

> They make no sense to me. I have no idea what any of those key combos do.

It's made to evoke what the result will look like, based on the characters on the keys (like ; is a thing above the other, so it evokes vertical split)

However, I feel Ctrl-T should be the default to create tabs (since that's how anyone does in the browser, while Ctrl-Shift-T reopens) so I'm not sure about how to mix and match all that (+ my lack of use of vim splits) to select defaults that'll give a great experience.

> Maybe I'm just grumpy because I'm sick during the holiday season :(.

Then get better and let's talk about shortcuts later!

Someone who likes window splitting and care about vim shortcuts in vim could help a lot!

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#45
post #40

With the risk of being somewhat off-topic, in this thread I'll be the one bringing up Helix first. As a vim user for 20 years, I tried it out last time it was brought up on HN two months ago. I have been using it ever since and I probably won't go back. Despite my 20 years of vimming I had never really successfully customized it deeply, going with very few plugins and changes. Tried neovim a few times and it is amazi…

Neovim is a bit of a disappointment on a certain front.

The devs stated decision is not to deliver an actual editor (up to a point), their focus is on creating an editing component and ecosystem. Which is fair on their side, but it shows in the quality of end-user tooling. For example nvim-qt is quite barebones compared to Gvim (which could be argued to have had too many features... maybe).

> Tried neovim a few times and it is amazing when it works, but the various distros, plugin updates and occasioanal errors made me anxious.

I have the exact problem as you. I don't even need a ton of features besides the core Vim/Neovim ones, I'd just want stuff I've come to expect from similar editors/IDEs in the past decade, and Neovim doesn't want to bless any of them:

- file manager

- universal search (commands and files; Ctrl-Shift-P, Ctrl-P)

I think it's best to accept that the target audience for Vim/Neovim is a certain kind of person and despite a relative match on many fronts, we're probably not enough of a match for long term use. Oh well.

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#46
post #43
post #32

Earlier quoted context omitted.

If there's an "m" it's not portable vi and that's a fraud anyway.

The binary was compiled with Cosmopolitan Libc [0], and therefore the binary will execute natively on Linux, Mac, Windows, FreeBSD, OpenBSD, NetBSD, and bare metal (BIOS boot). I would call that portable. [0] https://github.com/jart/cosmopolitan

That's actually really cool. I remember reading about it a few years ago, I didn't know it's still around and apparently quite active.

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#47

To solve the issue with Ctrl-k Ctrl-u leaving out one char in normal mode, have you considered setting virtualedit=onemore? It's often a sensible option when you want to "unify" the behavior of normal and insert modes (I've not tested it in your environment, though).

I hadn't. but I will! I like Ctrl-k Ctrl-u to clear the line, and this leftover character is something I really don't like, so THANK YOU!

If you have more suggestions, I'd be interested to know! (the best way might be for you to try to edit files with it for like 10 minutes, to see what's missing from your usual configuration)

I'd love hear what different people find missing from CuteVim to make it more helpful and pratical (ex: I leared the sudoedit security issues here, so I'll add a undo and backup exclusion for files from /var/tmp)

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#48
post #45
post #40

With the risk of being somewhat off-topic, in this thread I'll be the one bringing up Helix first. As a vim user for 20 years, I tried it out last time it was brought up on HN two months ago. I have been using it ever since and I probably won't go back. Despite my 20 years of vimming I had never really successfully customized it deeply, going with very few plugins and changes. Tried neovim a few times and it is amazi…

Neovim is a bit of a disappointment on a certain front. The devs stated decision is not to deliver an actual editor (up to a point), their focus is on creating an editing component and ecosystem. Which is fair on their side, but it shows in the quality of end-user tooling. For example nvim-qt is quite barebones compared to Gvim (which could be argued to have had too many features... maybe). > Tried neovim a few times…

> I have the exact problem as you. I don't even need a ton of features besides the core Vim/Neovim ones, I'd just want stuff I've come to expect from similar editors/IDEs in the past decade, and Neovim doesn't want to bless any of them:

> - file manager

> - universal search (commands and files; Ctrl-Shift-P, Ctrl-P)

Can you describe what you'd like to see? How it would work, what it would do?

I'd like to add more interaction between fzy and vim, and better integrate bash and vim.

It looks like a good usecase!

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#49
post #45
post #40

With the risk of being somewhat off-topic, in this thread I'll be the one bringing up Helix first. As a vim user for 20 years, I tried it out last time it was brought up on HN two months ago. I have been using it ever since and I probably won't go back. Despite my 20 years of vimming I had never really successfully customized it deeply, going with very few plugins and changes. Tried neovim a few times and it is amazi…

Neovim is a bit of a disappointment on a certain front. The devs stated decision is not to deliver an actual editor (up to a point), their focus is on creating an editing component and ecosystem. Which is fair on their side, but it shows in the quality of end-user tooling. For example nvim-qt is quite barebones compared to Gvim (which could be argued to have had too many features... maybe). > Tried neovim a few times…

Project governance types affect the end result. While smaller projects like Helix have a few (or maybe one?) decision makers, vi/vim/nvim is such a large and decades old community with so much diversity that the proliferation of plugins - which in itself would not be bad if there wasn't so much low quality and abandonware without clear signs that that is the case - cannot be easily transformed into a solution most will agree on. Most 'the ultimate vim/nvim plugin pack' will just have its own small community, rise and fall.

Re: Show HN: CuteVim – Portable Vim with a cute vimrc

#50
post #48
post #45

Earlier quoted context omitted.

Neovim is a bit of a disappointment on a certain front. The devs stated decision is not to deliver an actual editor (up to a point), their focus is on creating an editing component and ecosystem. Which is fair on their side, but it shows in the quality of end-user tooling. For example nvim-qt is quite barebones compared to Gvim (which could be argued to have had too many features... maybe). > Tried neovim a few times…

> I have the exact problem as you. I don't even need a ton of features besides the core Vim/Neovim ones, I'd just want stuff I've come to expect from similar editors/IDEs in the past decade, and Neovim doesn't want to bless any of them: > - file manager > - universal search (commands and files; Ctrl-Shift-P, Ctrl-P) Can you describe what you'd like to see? How it would work, what it would do? I'd like to add more int…

Well, open up any of Sublime Text, VS Code and quite a few other editors.

You press a key combo (Ctrl-P is the standard combo these days, it seems).

A small input window pops up at the top and the search results drop down, this is way more ergonomic for reading, unfortunately, than the old timey Emacs/Vim command mode input at the bottom and pop up results.

Ctrl-Shift-P would be for searching for commands. So you'd go "find" and the drop down would contain the relevant "find" commands which you could then select and parameterize: https://youtu.be/B-s71n0dHUk?feature=shared&t=380

For search, you go Ctrl-P and the same input window pops up, just that it does a fuzzy search of your project folder by default.

For the file manager, it's that thing on the left in Sublime Text, VS Code. It's a mini file manager that shows the project/folder you've opened. It's very convenient when not editing a lone file, which is probably 99% of the time for DevOps and dev work.

Post reply on HN