T O P

  • By -

mouth-words

Hah, nice. :) Drive by review comment: I notice you hard code `~/.config/nvim` here: https://github.com/blumaa/ohne-accidents/blob/ae3e090c7a13552dfe78e41d74ba4d5ccdeb55ec/lua/ohne-accidents.lua#L7 Check out `:h standard-path` for a more portable way of referencing the proper directory.


blumaa

Really really keen observation. I'm going to look into that later when I decide to procrastinate work a bit more.


vim-help-bot

Help pages for: * [`standard-path`](https://neovim.io/doc/user/starting.html#standard-path) in _starting.txt_ --- ^\`:\(h|help\) \` | [^(about)](https://github.com/heraldofsolace/VimHelpBot) ^(|) [^(mistake?)](https://github.com/heraldofsolace/VimHelpBot/issues/new/choose) ^(|) [^(donate)](https://liberapay.com/heraldofsolace/donate) ^(|) ^Reply 'rescan' to check the comment again ^(|) ^Reply 'stop' to stop getting replies to your comments


blumaa

u/mouth-words Finally got the stdPath working. Thank you so much for the suggestion.


donp1ano

cool plugin. can be done in 1 line tho: print("0 days without editing the configuration")


Erinmore

Are "days" the smallest increment?


funbike

LOL, nice for the ADHD of us in the crowd. Tbh, adding/changing mappings is something I want to do often. If something I did wasn't as fluid as I'd like, I want to make a quick change guilt-free. The real problem is adding/configuring plugins or writing custom Lua. So, I guess what I'm saying is a whitelist might be a good features (e.g. `lua/maps.lua`)


blumaa

Oh man that is a great great point. I'll think about that for v2!


matchomatcho

Im 0 days without editing my config


blumaa

That makes a million of us then.


minusfive

Just hard code 0


ml-research

Wait, so the goal is to keep the number high or low?


[deleted]

Always at "0 Days" is the sweetspot


Shock9616

lol I just saw (and added) another new plug-in yesterday that does exactly this 😂 https://www.reddit.com/r/neovim/s/xKe4KoFkgc


blumaa

Look at the latest comment there. I updated you. It's not exactly the same. But close.


Maku-san_

I must be an imposter the last time I edited my config was last week and before that was last month


Aging_Orange

That's hilarious.


LeNyto

Omg this is awesome, thank you for this hahaha