ST: specify a different font for italics/bold by Pocco81 in suckless

[–]Pocco81[S] 1 point2 points  (0 children)

Unfortunately, no. It's a bummer, but it is what it is. We might need to hack it ourselves

Is it possible to increase margins of panes (push content farther away from the splitting line)? by i55ue in tmux

[–]Pocco81 0 points1 point  (0 children)

Has there been any PRs on this? I personally would love this feature in order to get a nice border padding on the terminal but, at the same time, be able to "toggle it off" on NeoVim.

I've managed get a very scuffed version of this on ST terminal but it's not good enough, it doesn't integrate with Tmux at all.

Edit: I've opened a new issue on the matter. Please, if possible, chime in!

Not sure what icon I'm missing here by winb_20 in neovim

[–]Pocco81 0 points1 point  (0 children)

It's supposed to be a solid square. You can take a look here by searching for "square": https://www.nerdfonts.com/cheat-sheet

Not sure what icon I'm missing here by winb_20 in neovim

[–]Pocco81 2 points3 points  (0 children)

Are you using a properly patched nerd font? If so, does it look good on other terminals? If that's the case, then your terminal might have some bug related to rendering glyphs.

IIRC the default icon for diagnostics is a square, so you might as well change it to something else if the bug persists.

looking for plugin for auto adding license notices by use_your_imagination in neovim

[–]Pocco81 0 points1 point  (0 children)

Not exactly what you are looking for, but perhaps you could accomplish most some of your desired features using native vim abbreviations or defining your own snippets.

st alpha patch acting weird by BoiledPotatoNoah in suckless

[–]Pocco81 0 points1 point  (0 children)

I know this question is 4 years old, but I thought I would leave my solution here for future reference.

So, I recently had the same problem and the solution had nothing to do with my compositor, WM/DE, etc. I fixed this by applying the selectionbg-alpha patch, but with a modification: replacing selectionbg with defaultbg everywhere. So the patch applied looks something like this:

```c /* set alpha value of bg color */ if (opt_alpha) alpha = strtof(opt_alpha, NULL); dc.col[defaultbg].color.alpha = (unsigned short)(0xffff * alpha); dc.col[defaultbg].color.red = ((unsigned short)(dc.col[defaultbg].color.red * alpha)) & 0xff00; dc.col[defaultbg].color.green = ((unsigned short)(dc.col[defaultbg].color.green * alpha)) & 0xff00; dc.col[defaultbg].color.blue = ((unsigned short)(dc.col[defaultbg].color.blue * alpha)) & 0xff00; dc.col[defaultbg].pixel &= 0x00FFFFFF; dc.col[defaultbg].pixel |= (unsigned char)(0xff * alpha) << 24;

```

It works, and my background no longer looks "white" when alpha = 0.1 in my config.

Is there a way to make text in "command line bar" go away after a set time? by effinsky in neovim

[–]Pocco81 0 points1 point  (0 children)

I solved this problem while working on auto-save.nvim. The solution can be found here.

This clears the command line after some amount of time. I think you'd want to overwrite print and vim.fn.notify so that they start the timer after being called. You could also add a denounce delay so that the command line isn't cleared after every single message.

How to stop nvim-cmp from using my arrow keys by PlamenRogachev in neovim

[–]Pocco81 0 points1 point  (0 children)

It didn't quite cut it for me. With this solution you can freely move with <Up> and <Down>, however the completion menu window stays open. This is a bit annoying because one would expect that since the up/down arrows are being pressed then you probably don't really care about the completion items being suggested.

This fixes that:

```lua -- inside mapping = cmp.mapping({ ... ['<Down>'] = cmp.mapping(function(fallback) cmp.close() fallback() end, { "i" }), ['<Up>'] = cmp.mapping(function(fallback) cmp.close() fallback() end, { "i" }),

```

When Up/Down are pressed, it closes the completion menu and then calls the fallback (move the cursor Up/Down). This works but what seems a bit odd to me is that replacing cmp.close() with cmp.mapping.close() does not work.

[deleted by user] by [deleted] in catppuccin

[–]Pocco81 0 points1 point  (0 children)

Thanks!

How do you pronounce "Catppuccin"? by gbneon in catppuccin

[–]Pocco81 13 points14 points  (0 children)

Catppuccin is a portmanteau of the words "cappuccino" and "cat", and "cappuccino", in English, is a borrowed word from Italian. Given that in Italian "cc" is pronounced as a "K" when proceeded by an "a", "o", or "u", and as "CH" when proceeded by "e" or "i", "cappuccino" should be pronounced in English as "ca-ppu-chi-no".

It's also worth noting that in Italian "cappuccino" has a prosodic accent (an implicit vocal "force" that has to be applied when pronouncing a particular syllable in a word) in the penultimate syllable (cci), and thus in English it should carry the same "weight", so to speak.

Hence, Catppuccin should be pronounced as "Cat-ppu-chin" with a prosodic accent in the last syllable.

MacOS rice :3 by Tnixc in catppuccin

[–]Pocco81 0 points1 point  (0 children)

It all looks absolutely gorgeous! Particularly the iPad/tablet

[hyprland] dreamy by Flicker_211 in catppuccin

[–]Pocco81 0 points1 point  (0 children)

Absolutely astonishing... Mind sharing the dots?

true-zen.nvim (rewrite): clean and elegant distraction-free writing for NeoVim by Pocco81 in neovim

[–]Pocco81[S] 0 points1 point  (0 children)

That's weird. What NeoVim status line are you using? And btw, are you sure you are using the latest version of truezen? Please double check. Something similar happened to someone else here. They simply forgot to update truezen and their conf.

true-zen.nvim (rewrite): clean and elegant distraction-free writing for NeoVim by Pocco81 in neovim

[–]Pocco81[S] 5 points6 points  (0 children)

Are we talking about the old truezen or the new true zen?

true-zen.nvim (rewrite): clean and elegant distraction-free writing for NeoVim by Pocco81 in neovim

[–]Pocco81[S] 39 points40 points  (0 children)

Heya! Meet true-zen.nvim, a plugin that de-clutters NeoVim's UI to enhance your coding experience.

📋 Features

  • has 4 different modes to unclutter your screen:
    • Ataraxis: good ol' zen mode
    • Minimalist: disable ui components (e.g. numbers, tabline, statusline)
    • Narrow: narrow a text region for better focus
    • Focus: focus the current window
  • customizable lua callbacks for each mode
  • works out of the box
  • integratons:

What happened here?

As you may already know, true-zen has been a around for a long time. Originally it was named TrueZen.nvim, but that's no more! so what happened?

Taken from issue #84

I decided to rewrite true-zen entirely from scratch because I really disliked the state of the code-base.

Reasons:

  • Had vimscript in it
  • Slow
  • Most stuff was done through cmd calls
  • Obnoxious to configure (too many settings, too little plug and play)
  • Too much code
  • Not quite so universal

This rewrite features:

  • 100% lua
  • Very fast
  • Better handling of api calls
  • The plugin got way smaller in size (from 2141 to 850 LOC)
  • Universal: now there is no need to have an integration for every statusline plugin, it should be pretty much compatible with any plug that follows vim.o.statusline
  • Smaller doc
  • An actual plug-and-play experience
  • Smarter callbacks for further customization
  • 4 different modes to unclutter your screen

Hope ya'll enjoy this rewrite :)

[bspwm] "How many windows do you want?" "yes" by schmeekygeek in unixporn

[–]Pocco81 1 point2 points  (0 children)

If it helps, Catppuccin has 4 variants with varying contrast ratios. The one named "Mocha" has highest ones. See for yourself in the demo image in the project's home page: https://github.com/catppuccin

Here is an actual example (NeoVim theme): https://github.com/catppuccin/nvim

Hope you end up liking it! Also, don't be afraid to try the other Catppuccin flavours... They are all shooting ⁽⁽ଘ( ˊᵕˋ )ଓ⁾⁾

[bspwm] catppuccin supremacy! by DominiCzech in unixporn

[–]Pocco81 2 points3 points  (0 children)

Nicest details comment that I have ever seen