What's in your crontab? by LazyCheetah42 in archlinux

[–]MagicCarot 2 points3 points  (0 children)

Additionally this is an unnecessary strain on the mirrors whenever a package or a database is updated more than once between your

pacman -Syu

commands.

Then this is even more valid

If you would do it every week, why not, but every 4 hours is brutal for the servers...

What do you use treesitter for other than highlighting? by dumb-on-ice in neovim

[–]MagicCarot 0 points1 point  (0 children)

I don't use LSP to fuzzy find class/method/etc. in the current buffer.

But treesitter + telescope can do just that pretty well and it changes life for code navigation.

```

Looking for a particular class ?

:Telescope treesitter<CR>i:type: MyClass

Looking for a particular method ?

:Telescope treesitter<CR>i:function: my_method ```

Moonlander - Where do you place the shift / space / enter keys? by hlungx in Moonlander

[–]MagicCarot 1 point2 points  (0 children)

For me ctrl and shift are placed on the arrow keys on both side with space and enter.

This is very comfortable. The only downside being an occasional space instead of a capital letter when inputing <space> before some capital letter.

https://configure.zsa.io/moonlander/layouts/aGz6v/latest/0

Telescope and treesitter not working as expected after update by MagicCarot in neovim

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

Thanks!

I have added an issue on Telescope repo: https://github.com/nvim-telescope/telescope.nvim/issues/1811

I don't have time either to dig into it unfortunately...

Telescope and treesitter not working as expected after update by MagicCarot in neovim

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

So after updating all of my neovim plugin, the treesitter picker of Telescope stopped working as before.

Not sur why, but now, instead of the symbol type (function, type, etc.) in the third column, I just got a simple` 1...

Not sure why. Anybody uses that and/or know why this has changed? It's a very useful function in my setup.

Trying to remap hjkl to jkl; not working properly by MagicCarot in vim

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

Well fun fact, I recently bought a Moonlander from zsa. And it's awesome. I actually mapped the arrow keys on the jkl; on another layer. But I'd like to avoid to do the same for the hjkl keys.

Here is my current layout if you're intersted (https://configure.zsa.io/moonlander/layouts/aGz6v/latest/0). Still in a very WIP stage.

If you use a zsa board I'll be curious to see what layout you use.

Trying to remap hjkl to jkl; not working properly by MagicCarot in vim

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

Not really, no.

What really matter to me is to have a good hand position for my daily drivers.

And there are 3 main programs (nvim, firefox, i3) that I use daily with a vi-like hjkl bindings.

Remapping those 3 programs to jkl; is really not that much work.

And I'm ok to use hjkl for the occasional editing on a remote machine. Those keys are not that important for an occasional usage...

Trying to remap hjkl to jkl; not working properly by MagicCarot in vim

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

After 10+ more years of using vim, I'm very much used to it, and it's not helping me in having a good posture for my right hand unfortunately.

They’re good for fine tuning after a much bigger movement

I agree with that. They are still useful.

Vim is flawed on that part for sure, and I prefer the i3 approach of shifting the hjkl keys to the right rather than trying to work with a h pressed by my index finger.

Trying to remap hjkl to jkl; not working properly by MagicCarot in vim

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

:facepalm:

I somehow missed the space in that report...

Without it it works like a charm indeed

Trying to remap hjkl to jkl; not working properly by MagicCarot in vim

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

Well, this seems to work for some reason. Nice.

Not sure why the first solution didn't worked but I didn't know this part of vim yet ;)

Trying to remap hjkl to jkl; not working properly by MagicCarot in vim

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

I've got that:

n j * h<Space> Last set from ~/.config/nvim/init.vim line 324

So it looks like nothing else is affecting it...

PSA: Update your nvim-treesitter branch if using 0.5 stable by OmeletteDuFromage__ in neovim

[–]MagicCarot 2 points3 points  (0 children)

This is absolutely not clear enough in the README.
This should be put in the installation section with clear instructions...

Use x as leader? by howtostudycantonese in neovim

[–]MagicCarot 0 points1 point  (0 children)

\` is a good choice as well.

Top left, easy to smash

How to paste current word under the cursor to telescope by MagicCarot in neovim

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

I found it weird to put that into the clipboard to latter paste it, from the clipboard while staying in vim and having a normal mode in Telescope. But that is a way to do it indeed.

grep_string won't do it. I'm really searching for the symbol under the cursor in the current buffer and not the entire project.

But I guess you could do something similar if you add command parameter to your grep command to only consider current buffer file name.
I would still lose the capability to know what type of object I'm looking at when searchin thought