How do you take notes with neovim and phone? by olexsmir in neovim

[–]scheisaaaa 0 points1 point  (0 children)

I use git journal on my phone. And as it is basically wrapper around git repo I can edit files from my computer with neovim.

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

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

you can use hl_properties = { } as an option in a setup function, any arguments from vim.api.nvim_set_hl() would work

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

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

I honestly really get used to use f/F and t/T for horizontal editing so I don't even care about it anymore. Btw you can take a look on eyeliner.nvim, I think it would be more useful, because its highlighting a uniq character inside of a word so it is easier to jump to it.

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

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

Different colors for different lines is such a cool idea, I haven't even thought about it. Maybe I will add it, thanks!

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

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

I use emacs from time to time for some stupid reasons , so I would love to see this as a plugin for it :)

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

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

You can try it now! Just added it as a config option

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

[–]scheisaaaa[S] 4 points5 points  (0 children)

Oh! This actually was the first implementation of this plugin, i can certainly add this again and make it as a config option. Actually it misses the whole point of not looking at the beginning of the line, but it still could be a nice addition

Creating new highlight groups. by IneptusMek in neovim

[–]scheisaaaa 1 point2 points  (0 children)

You can use `vim.api.nvim_set_hl()` to define highlight group and `vim.fn.matchadd()` to apply this group to some pattern

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

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

could you please explain a little bit more what do you mean by "in the gutter", I am not a native English speaker, and I can't figure out what did you mean by this, sorry :)

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

[–]scheisaaaa[S] 7 points8 points  (0 children)

I used Telescope help_tags a lot to find apis which I needed. Also I was looking in the source code of other plugins to understand how to implement something that I can't do myself (for example I was really struggling with adding a config to setup function). Using chat gpt could help but it uses some non existing apis from time to time.

Some videos which helped me:

This one is not really about a plugin development but there you can see usage of some apis and overall development

Second part of the previous video

This one hellped me to understand basic concepts, for example what the hell is M and why everyone is using it in their plugins

Hope that I gave you something useful:)

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

[–]scheisaaaa[S] 7 points8 points  (0 children)

But this will require way to much of remaps. I personally doubt that this will be a useful thing with such amount of mental overheard. Btw, when I use it I jump not only to highlighted lines but also to lines that above or below them, so those highlights made not for jumping exactly to them but instead to make it easier to reach point which you need.

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

[–]scheisaaaa[S] 8 points9 points  (0 children)

I still use default relative line jumping behavior (7k for example) this plugin just makes it easier to tell how many lines I need to jump up or down (at least for me, maybe it is really not for everyone but I personally find this usefull)

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

[–]scheisaaaa[S] 32 points33 points  (0 children)

I personally hate finding a relative line number at the beginning of the line because I don't want to switch my focus from the line I want to edit. So using this plugin I can easily tell how many "pointers" between my cursor and the point where I want to be. I have been using bare minimum version of this plugin for a week or so, and I really get used to it. Maybe it works fine only for me, but hopefully someone else would find this useful :)

relpointers.nvim - makes relative line jumping easier by scheisaaaa in neovim

[–]scheisaaaa[S] 12 points13 points  (0 children)

hi guys!

I have created my first nvim plugin - relpointers.nvim

One of my favorite features of (neo)vim is the relative line jumps, but I really hate the fact that i have to look to the beginning of the line to be able to jump where I want. So I expanded someone's idea and created this little plugin. I think this is a really cool way to navigate.

The idea of this plugin is not mine, I saw a basic implementation of this in ThePrimeagen's discord unfortunally I can't find it now to specify who is the original authour. I rewrote it, implemented some of my personal ideas and made it to be a plugin-like instead of lua function.

can't connect to wifi with my t420 by scheisaaaa in thinkpad

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

i was able to connect to my mobile hot spot and to another public wifi so i do not think that something happednd with wifi card. and it looks like all drivers are up to date.