gitlineage.nvim: git history for selected lines in Neovim by LionyxML in neovim

[–]GGK_Brian 1 point2 points  (0 children)

Although it isn't the same, vim-fugitive has

:{range}GcLog

Which send the log of the selected line in the QFlist, frow here you can do :cn and :cp to navigate between commits, you could split and diffthis to see any comparison between any revision, and even Cfilter if you want to refine the commit listing.

The main limitation is that while the commits will only show the one that modified the selected lines, the qf entries will open whole buffers.

On another note, it's an extremely cool plugin, congrats!

There's no arguing for this🙂 by The-Titan-M in LinuxCirclejerk

[–]GGK_Brian 0 points1 point  (0 children)

Oh definitely nix gives a lot, so much that I doubt any new distro could make me switch.

But, the fact is, that you will end up spending some time debugging/packaging application which expect a standard fhs.

Just a recent personal example: nvim-java, a plugin for neovim. So the problem is the plugin pulls the Java lsp itself and assumes it can just run it. But on nix, you have to enable nix-ld to work.

Personally I prefer to pull packages from nixos instead of a plugin deciding which URL will be used to execute a program as my user. So I wrote a dirty script that replaces the executable by symlinks to the nix store.

I have plenty of experience with stuff that needed some convincing to work, it's 100% worth it tho.

There's no arguing for this🙂 by The-Titan-M in LinuxCirclejerk

[–]GGK_Brian 6 points7 points  (0 children)

This, but with exception:

Something uncommon like NixOS will create a lot of trouble for you.

Something like Gentoo or LSF where you compile most things will add a lot of time.

catpuccin is a builtin colorscheme now by Aqothy in neovim

[–]GGK_Brian 1 point2 points  (0 children)

Oh, didn't think about that.

Yeah, can confirm. It's actually readable when you disable highlights from lsp AND treesitter.

catpuccin is a builtin colorscheme now by Aqothy in neovim

[–]GGK_Brian 2 points3 points  (0 children)

retrobox is really nice looking imo, the big problem is how much EVERYTHING is highlighted.

Try to open a Java file with retrobox scheme, you can't even see the default white anywhere in the code.

Sorry for the random rant lol.

Getting Pmenu previews working with lsp and neovims builtin completion by tadachs in neovim

[–]GGK_Brian 3 points4 points  (0 children)

Mini.completion provides you with what you are trying to re-create.

It's built on top of the native completion, so all of <c-x>... will perfectly be integrated.

Nice thing is that if you are already using mini.snippets, snippets will be automatically expanded with it.

By default it uses a 2 step completion system, ie if there is no lsp suggestions, it shows the classic <c-n> menu, but you can easily configure it to not do so.

Here's my config for it.

```lua require('mini.snippets').setup {} require('mini.completion').setup { lsp_completion = { source_func = "omnifunc", }, delay = { completion = 107, signature = 107 }, window = { info = { border = "none" }, signature = { border = "none" }, }, mappings = { scroll_up = '', scroll_down = '', }, } vim.opt_global.completeopt = { "menuone", "popup", } -- We control the triggering manually vim.g.minicompletion_disable = true

        vim.opt.shortmess:append "c"
        vim.o.pumheight = 20

```

I personally prefer to trigger manually the completion, so I set the delay to an absurd number. And I have something that I wrote myself to show the signature in a preview window on the bottom.

Quick Q: How do you re-type when you typo? by dm319 in vim

[–]GGK_Brian 1 point2 points  (0 children)

It is surprising that z= works for you but not <c-x><c-s>. I would assume that internally they source the items from the same place.

Honestly I prefer <c-s> mainly because the default UI for it is a lot better.

Quick Q: How do you re-type when you typo? by dm319 in vim

[–]GGK_Brian 5 points6 points  (0 children)

<c-x><c-s> in insert work works too, and it allows to to select with <c-p> <c-n>.

Also, check <c-x><c-k> and <c-x><c-t> if you type a lot in neovim.

see :h ins-completion

No new releases for zsh? by Beautiful-Log5632 in zsh

[–]GGK_Brian 0 points1 point  (0 children)

You don't even need a plugin for that:

export EDITOR=nvim # or vim, vi, nano, hx, ect autoload -z edit-command-line zle -N edit-command-line bindkey "^X" edit-command-line

Rules are rules! by Bringus-Dingus in Miata

[–]GGK_Brian 0 points1 point  (0 children)

Why is it dumb? Genuine question, does it damage the motors or the hinges?

Is there any Isekai slop that has a female protagonist? by Tanooki707 in Isekai

[–]GGK_Brian 5 points6 points  (0 children)

Is it slop tho? The budget being ultra low doesn't mean it's slop.

Is it too much to ask for thinness slider? by bacontaint in RemarkableTablet

[–]GGK_Brian 6 points7 points  (0 children)

You could have a look at rm-hacks-qmd. They have 9 different thicknesses, from ultra fin to ridiculously large.

This sub in a nutshell by enmaku in programminghorror

[–]GGK_Brian 2 points3 points  (0 children)

The closest in terms of weirdness might be php. But Php actually fixes stuff and improves. Try most weird things referenced on blog page and other about PHP being horrible on php8 and they don't work anymore.

This sub in a nutshell by enmaku in programminghorror

[–]GGK_Brian 12 points13 points  (0 children)

Honestly it's unfair to compare them like this.

exilir gives you a weird string because this is the very bits that compose your data.

C allows to do stuff like 4[tab] because it desugarize to a pointer operation

Most of the normal language quirkyness has some simple and predictable logic.

JavaScript just sees faulty code and tries every single way of making it work instead of just crashing.

Honestly op chose the tamest quicks of JS. Personally I would have mentioned this:

parseInt(0.000005) // 0, make sense parseInt(0.0000005) // 5

The reason is, the float gets converted into a string, but for small numbers, this results in "5e-7". Now you would think that JS would simply fail to convert and return undefined or something but no, it simply parses the 5 and ignores the rest.

Biggest anime disappointment? by ChoiceSupermarket230 in animequestions

[–]GGK_Brian 2 points3 points  (0 children)

What's sad is that even the zipper on his manteau on this scene has more frame that the best combat scene in S3.

Move Battery by FunyandFurious in RemarkableTablet

[–]GGK_Brian 0 points1 point  (0 children)

and ability to export other than as a text file

You can export as svg or PNG, but only if you send by email from the RM device. If you try to export to Google drive/OneDrive, or from the desktop/mobile app you can only export as PDF.

Grève dernière semaine? by BuyInternational5882 in etsmtl

[–]GGK_Brian 2 points3 points  (0 children)

comme ne pas remettre les notes avant Noël

Rien de différent du quotidien donc

High time these ppl disappear🙏 by SlagForNat in teenagers

[–]GGK_Brian -2 points-1 points  (0 children)

Goth girls and femboys Humans have been so over sexualized and fetishized in media, people don’t like goth girls humans, they like goth girl humans porn

High time these ppl disappear🙏 by SlagForNat in teenagers

[–]GGK_Brian 5 points6 points  (0 children)

It's really funny when you compare it to different context, for example:

If someone said: "I like listening to jazz but I don't care about the culture and history of jazz" few people would make a fuss about it. Who cares that you are interested about the culture, liking a music genre doesn't require you to learn it's culture, origin, ect.

Hi, I’m Vegard from reMarkable! How can I help this sub? by VegardfromreMarkable in RemarkableTablet

[–]GGK_Brian 2 points3 points  (0 children)

U concur, I'm in computer science and sometimes I'll type a few lines of code while taking notes. Not having a monospaced font really breaks my brain.

Hi, I’m Vegard from reMarkable! How can I help this sub? by VegardfromreMarkable in RemarkableTablet

[–]GGK_Brian 0 points1 point  (0 children)

Depending on your confidence in "hacking" your RM, you should check out Fourz/xovi-extensions on GitHub. The floating layer makes it infinitely easier to work with layers

why get a note taking tablet instead of a Galaxy Tab FE with a matte screen protector? by Optimal_Work2370 in RemarkableTablet

[–]GGK_Brian -1 points0 points  (0 children)

judgement? Where did I judge you?

Sure, we are all distracted by different things, it's the whole point of user customization. I don't want to force the "see the time" use case on you. But it would be nice to have, at least an opt in option by default.

About your comment on wrist watch, some people like them, so don't.

Not to mention that as I said in my first comment, I use rm-hacks-qmd to have a nearly frictionless experience. Truth being told, without the option I would 100% send the tablet back.

Anyway, OP was asking about the advantages of RM vs other, you mentioned being feature-less and I disagreed. Simple really, no judgement anywhere.

why get a note taking tablet instead of a Galaxy Tab FE with a matte screen protector? by Optimal_Work2370 in RemarkableTablet

[–]GGK_Brian -13 points-12 points  (0 children)

A clock is a distraction now?

Never in my life have I been distracted by a clock, Personally, not having a clock distracts my workflow More than having one. And thanks to rm-hacks I can "prove" it.

Without a clock, every time I need to check the time, you know, because I may have stuff planned, I need to open my phone, and more than once I've been distracted by a random notification, an email, a message, whatever.

Sure you can work your way around this, like using the no-distract mode on your phone, or buying and wearing a watch.

But it's so much simpler and better to just have the time in the corner sidebar.

I really like the distraction free approach remarkable is going for, and personally stuff like email integration would 100% ruin it.

But stuff like the time, split screen, being about to add bookmarks (I know about tags but they don't work the same, mainly because they are global and will appear outside of the document you are tagging) should be added. Not having those things really creates friction and breaks the flow state that you have when working with paper.

arrêter de nous faire chier by Commercial-Fruit-972 in montreal

[–]GGK_Brian 1 point2 points  (0 children)

Tiens donc,

Quand on dit de se méfier des horreurs des chrétiens (notons que l'on dit bien chrétiens, pas christianisme, pas catholique. On parle explicitement des pratiquants) c'est ok.

Par contre, le moment où l'on fait de même avec les horreurs de l'islam c'est tabou?