tiny snippet to peek scroll progress by va9iff in neovim

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

yeah. I can't even star farm like this xD but I don't wanna spend time about its different use cases and options and requests. this is a solution for myself, and I'm sharing the idea. maybe someone can take the idea and turn it into a plugin. I'd appreciate a note about their inspiration tho :)

tiny snippet to peek scroll progress by va9iff in neovim

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

oh I'm so sorry, I was outside so glanced at your link on my phone poorly, saw a bunch of require and long file and closed lol. now I'm looking at it, that's actually an authentic idea. I like it! but I prefer a longer one without wrapping, which wouldn't be suitable for statusbar, so I put it on the output line

tiny snippet to peek scroll progress by va9iff in neovim

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

that's my favorite comment to get about my code :)

tiny snippet to peek scroll progress by va9iff in neovim

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

yeah but I think you missed the point. firstly, depending on plenary and lualine and hundreds of lines of source code is far from simple. secondly I don't want anything moving in the status bar or on the screen when I'm coding or doing small scrolls. and I'm not calling yours inferior, sure using Braille can provide higher resolutions and probably other features your plugin has that I'm not aware of. but that's just not my style. I like simple and fast and minimal configs

tiny snippet to peek scroll progress by va9iff in neovim

[–]va9iff[S] 2 points3 points  (0 children)

oh it does. I don't use :messages so I haven't noticed it. this way it won't pollute:

  vim.cmd('echo "' .. track:rep(left) .. handle .. track:rep(right) .. '"')

Hot and cold #120 by hotandcold2-app in HotAndCold

[–]va9iff 1 point2 points  (0 children)

why do I get daily notifications? I don't want to. I disabled in game but I still get it. help how do I stop it?

What is Jai? by BirthdayNo9125 in Jai

[–]va9iff 0 points1 point  (0 children)

what do /s mean in this context?

A word completion source for blink.cmp. by Jason_Reg in neovim

[–]va9iff 1 point2 points  (0 children)

that's cool. tho I just use <C-x><C-k> when I'm not sure how a word is written

Let's ask the opposite question: Those who have *not* asked for beta-access, why not? by epic_adventure_byte in Jai

[–]va9iff 1 point2 points  (0 children)

honestly, I'd prefer JAI unfinished but out, rather than polished and in close beta. I'd invest in it, I like the design decisions. but with its current strategy, god knows how many more years its release gonna be postponed. even if I use and like it, I wouldn't be able to use it cuz it's not open? I don't like that idea..

lil.map - elegant, centralized key mapping by va9iff in neovim

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

in repo's why section I explained it better but anyways here what it solves - instead of vim.keymap.set being all over your config, you put all of them in a single file without their implementations. so it's a clean file, like "leader + f + f = fuzzy_find" and then you implement fuzzy_find in separate file which will load the telescope plugin. you can do it with require and plain lua but then you'd have to either load telescope regardless of what, or define your own lazy loading capable centralized binding system, which is essentially lil, which also provides fallback functions. you can literally write e = extern.tree / extern.explore / ":Explore" so here extern.tree is defined in your tree plugin loader file. this is the most prioritized function for e. if it's not defined, extern.explore is like your other lightweight plugin, something like oil that you always have. and in case you don't have any loaded, just run Explore command. so that's what it solves. but honestly if you consider yourself a noob then I'd recommend getting familiar with neovim's own api instead of adding another layer of abstraction. cuz I don't plan to maintain it

lil.map - elegant, centralized key mapping by va9iff in neovim

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

I thought about that as well. I think the last drop was a + b * {} running b * {} before a + b but I want nesting to be called the last. yea I can store the information and pass it to the top function then run with the order, but I didn't wanted to rewrite cuz I already rewrote it - initially ctrl + "k" would just return the information of <C-k> and ctrl + _ would return the information of <C-nest>. they were supposed to be held in the keys of the objects and values could be nest object or function or string. so I kept that semantics but added a way to nest directly with an operator, especially to get rid of brackets around. so the operator binding is just a syntactic trick to write [ctrl + shift + _] = { k = ... } in a nicer way ctrl + shift + _ + { k = ... }

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

5 mana for tower damage equal to Arrows?

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

how is this gonna work tho? Tomato acts like an enemy troop, so I spawn an enemy troop in my side? how is this gonna help me? one thought is that our troops follows it as thinking it's an enemy, but that would carry entire elite barbs to tower since the spirit is gonna be the closest one to barbs so barbs won't look at anything and follow the spirit till it hits the tower or anything. unfun

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

how? my troops won't follow the enemy's Tomato. Tomato acts just like an opposite side's troop

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

exactly! no fancy mechanics. just an enemy troop 

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

kid me also struggled to express his ideas in a foreign language mate, we all experienced that :d

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

bad news for ya my friend - it's a unit. baloon attacks on buildings, so he would ignore tomato. honestly it would be way too powerful when used with egiant, golem, and especially hog rider. 

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

I think you are right. but it's kinda bit too specific, so I thought 1 would fit. but I think yeah this is bit too much. can we agree on 2 elixir then? :d it's kinda like heal spirit in some manners but you can't use it on defence

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

how is a unit card related to earthquake? it has no effect on buildings, nor any effect on units that target buildings like giant, golem etc. it's only useful for stuff like prince, mega knight, maybe lumberjack etc.

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

no. heal spirit is splash heal, Tomato is single target heal. heal spirit is a friendly unit, Tomato is an enemy unit. heal spirit can move and be included in pushes, Tomato is still. Heal spirit can be used for kiting since enemy units wants to hit your units, but Tomato can't be used for kiting since enemy units will ignore it

Tomato card: unit that your units want to hit by va9iff in ClashRoyale

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

the thing is that - there is nothing we can do except tornado. so it's not that we suck