A cool thing about setting the man pager to neovim with `export MANPAGER="nvim --clean +Man!"` is that you can access the table of contents with `gO` in the manual while viewing it. Pretty handy to navigate through massive manuals, like the one of `tar`, for example.
@@mananabanana You can maintain a separate config directory where you may keep any third-party colour scheme file, or whichever plugin or extra commands you may want, and have ```bash alias nvim-temp='XDG_CONFIG_HOME=/config XDG_DATA_HOME=/data nvim' ``` and then have `export MANPAGER="nvim-temp +Man!"` in your rc, and this instance of neovim should start with the plugin you prefer to have while viewing manpages. I haven't tried this, though, but it's worth a shot.
@@solitaryfox69 @catfan5618 Thanks for the help guys. Going on from what you said I figured out that you can set NVIM_APPNAME to the name of the directory of your second config to open neovim with that.
Today was the first really cold day here too. Thankfully we got all this outstanding content to keep us busy during the coming winter nights ! Thanks bread! 🤘
I use :Man in neovim ^_^ hehe. Love learning new things from the kids. I already knew about bat, but this is helpful. Looking forward to the next video! ^_^
Nice video! I'd love to see a video in the future of you showing a fresh install and setting up your system like this . Sorry if you already made it, I'm quite new to the channel ❤
Oh wow. That wikiman tool looks very useful! I'm currently now daily driving Gentoo on my desktop, trying to learn more about it, and I find myself always consulting the Gentoo wiki constantly. This will make it much easier to get the information, and I don't even have to open a web browser! Kudos, Bread!
Yay, youtube ate my comment again. Well good thing I found your video this morning, before I jumped to using most. I had just been looking up how to colorize man pages, among other things. Found out I should be using less this entire time, instead of more. Still not sure why more has been such a habit of mine. Less is by far superior
@@xmvziron Ya, I'm used to editing my comments now, just to be sure they took, and when I get an error after edit, I know they didn't. Just kind used to it. Can never tell exactly what word YT decides it'll take issue with 😆
The same thing has happened to me and I've seen comments disappear when refreshing a page as well, thanks TH-cam. Lol, thanks for the leaving the comment again though - I appreciate it! Less > more ;^) Glad you were able to get less set up instead!
bat-extras 3mb with bash scripts, nice!. Totaly forgat about those. That tldr rust clone tealdeer is a nice substitute to the man pages, it is linux comunity based man pages.
Hola Pan; ripgrep (rg) es fantástico al igual que bat. Hace años (+ de 20) que uso Linux y siempre descubro algo nuevo para la terminal, como el comando "tee" que hace unos meses descubrí , por citar un ejemplo. Los hábitos hacen que nos "encapsulemos" y solo hace falta un poco de curiosidad para que este sistema operativo, que es tan inmenso y maravilloso, nos sorprenda. Muy bueno lo que haces en el área de informática y magníficas las reflexiones y charlas en el bosque. Un saludo.
Hello, thank you for suggesting ripgrep! It is a great utility and worth showcasing. You are completely correct - it's good to consider alternate ways to accomplish a goal, and to have an open mind to learning new commands. Thank you very much, and I appreciate your comment :-)
Beautiful desktop wallpaper. Did you paint it yourself? This landscape reminds of my childhood in Polesie region, Belarus, very similar nature in winter :)
It is by Alois Arnegger, called Sonnenuntergang am vereisten Bach. His paintings are gorgeous. It's very interesting you say that! Arnegger mostly painted in his home country of Austria, to my knowledge, but maybe this one was elsewhere. Or maybe it is just similar :-)
So, admittedly, I'm a old, dumb guy who works in JunOS fairly often and I love the way that one can search through a line of potential commands using the question mark. I have limited, minimal success learning Linux through man pages. I have no doubt that is my fault but there are absolutely many ways that Linux could made more accessible to us "normies?" and that is one.
I just looked up how the ? feature works, it'd be great to see that appearing on other distros. Seems super helpful. The more helpful and accessible programs are added to Linux, the more widespread adoption we'd see.
some penguin species, like adelie and gentoo, have a peculiar behaviour known as "stone stealing". they collect stones, arrange them neatly, and then steal from their neighbours' piles, often while being watched
That's really interesting, animal behavior is fascinating and I have not (yet!) had the chance to observe penguins in the wild. Sometimes you see similar stealing and dominance-establishing behaviors with birds caching seeds
Thanks for the video. I tried using the method using just less but it doesn't use the colours for bold or underline, just the pager prompt. The only way I got it to work was using the LESS_TERMCAP variables. I'm using OpenSUSE tumbleweed so it should be pretty recent versions. Any ideas?
Hm, the only thing I can think of is that less may not universally support --use-color (and possibly the tab spacing options) on all distros, iirc I've heard of that before. Hope you can get it figured out - best of luck!
@@BreadOnPenguins so in case anyone else sees this and has the same issue. The solution was to set MANROFFOPT="-c". This passes -c to groff which man uses to format its output. -c means something like "handle colors in the old way" where "the old way" is the way that works with less. The other way to do it is to set GROFF_NO_SGR=1 but that (potentially) affects things other than man.
Linux "man pages" feels incomplete in comparison to BSD's. In Linux they hint you in the right direction, you always have to use a search engine from there, whereas in BSD it is ALL there!
I saw that and did wonder for just a second if he had seen my vid! Either way, such is the curse of Linux content.. a single topic can only be covered in finite ways :-)
A cool thing about setting the man pager to neovim with
`export MANPAGER="nvim --clean +Man!"`
is that you can access the table of contents with `gO` in the manual while viewing it. Pretty handy to navigate through massive manuals, like the one of `tar`, for example.
I like the --clean option but is there any way to just keep your theme while not loading any other plugin?
@@mananabananaYou could use the -c or -cmd flag to execute the command to set your preferred color scheme.
Thanks for mentioning! Very useful trick.
@@mananabanana You can maintain a separate config directory where you may keep any third-party colour scheme file, or whichever plugin or extra commands you may want, and have
```bash
alias nvim-temp='XDG_CONFIG_HOME=/config XDG_DATA_HOME=/data nvim'
```
and then have `export MANPAGER="nvim-temp +Man!"` in your rc, and this instance of neovim should start with the plugin you prefer to have while viewing manpages.
I haven't tried this, though, but it's worth a shot.
@@solitaryfox69 @catfan5618 Thanks for the help guys. Going on from what you said I figured out that you can set NVIM_APPNAME to the name of the directory of your second config to open neovim with that.
Who knew there was so many ways to make man pages not suck. Thanks Bread!
Ikr! No problem :^)
The wallpaper is so comfy
Today was the first really cold day here too. Thankfully we got all this outstanding content to keep us busy during the coming winter nights ! Thanks bread! 🤘
Winter is coming! That's nice of you to say, no problem :-)
Are you also from Europe? I was shocked at how cold it was, my hands were freezing all the way to school but I got there!
@@xmvziron Indeed! Even though the numbers say it's not that cold yet, the stark contrast today was dire (both puns intended).
Nice video. I feel fortunate to have stumbled upon this channel.
I appreciate that! :)
I use :Man in neovim ^_^ hehe. Love learning new things from the kids. I already knew about bat, but this is helpful. Looking forward to the next video! ^_^
Haha fair enough, glad I could share something useful! :-)
wtf I was switching from fish to zsh and I was literally looking for this. I swear you're tracking my every move even after all the safeguards
Good timing then! Lol :-)
Been watching for a while, finally had to subscribe. I use macOS most of the time, but still learning a lot of useful stuff from you.
Thanks for subbing, I appreciate it! macOS is unix-based after all, so many of the same things still apply :-)
Killer content after more killer content! WOW! The pace is amazing.
Thank you!
Nice video! I'd love to see a video in the future of you showing a fresh install and setting up your system like this . Sorry if you already made it, I'm quite new to the channel ❤
Thank you! I do have a couple vids on my channel actually for both a full arch install, and what to do afterwards to get started :)
Learned something as per usual. Thank you.
Glad to hear! :-)
Oh wow. That wikiman tool looks very useful! I'm currently now daily driving Gentoo on my desktop, trying to learn more about it, and I find myself always consulting the Gentoo wiki constantly. This will make it much easier to get the information, and I don't even have to open a web browser! Kudos, Bread!
Glad to hear you found it useful! :-)
Yay, youtube ate my comment again.
Well good thing I found your video this morning, before I jumped to using most. I had just been looking up how to colorize man pages, among other things. Found out I should be using less this entire time, instead of more. Still not sure why more has been such a habit of mine. Less is by far superior
Yeah, it really sucks. You could be writing a really good comment, and TH-cam thinks it's bad or something and removes it...
@@xmvziron Ya, I'm used to editing my comments now, just to be sure they took, and when I get an error after edit, I know they didn't. Just kind used to it. Can never tell exactly what word YT decides it'll take issue with 😆
The same thing has happened to me and I've seen comments disappear when refreshing a page as well, thanks TH-cam. Lol, thanks for the leaving the comment again though - I appreciate it!
Less > more ;^) Glad you were able to get less set up instead!
Thanks, great stuff! I look forward to the next video, so I can learn more.
More to come soon! 👍
Great! 👍
bat-extras 3mb with bash scripts, nice!. Totaly forgat about those. That tldr rust clone tealdeer is a nice substitute to the man pages, it is linux comunity based man pages.
Hola Pan; ripgrep (rg) es fantástico al igual que bat.
Hace años (+ de 20) que uso Linux y siempre descubro algo nuevo para la terminal, como el comando "tee" que hace unos meses descubrí , por citar un ejemplo.
Los hábitos hacen que nos "encapsulemos" y solo hace falta un poco de curiosidad para que este sistema operativo, que es tan inmenso y maravilloso, nos sorprenda.
Muy bueno lo que haces en el área de informática y magníficas las reflexiones y charlas en el bosque.
Un saludo.
Hello, thank you for suggesting ripgrep! It is a great utility and worth showcasing. You are completely correct - it's good to consider alternate ways to accomplish a goal, and to have an open mind to learning new commands.
Thank you very much, and I appreciate your comment :-)
, Very Intensive, beyond My Scope
Awesome! I didn't know about Wikiman 😂 I've always just used apropos!
Haha fair enough! Thanks for commenting :-)
Very cool, thanks for the info.
No prob, glad you found it useful!
Thank you keep up the good work.
👍👍
Thank you
Strongly recommend a heated wrist rest! It’s safer and warms the blood coming into your hands, which is way more effective.
Nice suggestion, thanks :)
Super interesting content. I am new to Linux so I am trying to keep up 😅 Cool channel 😊
Thank you! Welcome to Linux :-)
can you do a video about pywall or how do you generate color pallets, thank you
For sure, it is pywal and that vid is on the to-do list :^)
@@BreadOnPenguins another vote for this! look forward to learning stuff from your vids, thanks :)
Beautiful desktop wallpaper. Did you paint it yourself?
This landscape reminds of my childhood in Polesie region, Belarus, very similar nature in winter :)
It is by Alois Arnegger, called Sonnenuntergang am vereisten Bach. His paintings are gorgeous.
It's very interesting you say that! Arnegger mostly painted in his home country of Austria, to my knowledge, but maybe this one was elsewhere. Or maybe it is just similar :-)
So, admittedly, I'm a old, dumb guy who works in JunOS fairly often and I love the way that one can search through a line of potential commands using the question mark. I have limited, minimal success learning Linux through man pages. I have no doubt that is my fault but there are absolutely many ways that Linux could made more accessible to us "normies?" and that is one.
I just looked up how the ? feature works, it'd be great to see that appearing on other distros. Seems super helpful. The more helpful and accessible programs are added to Linux, the more widespread adoption we'd see.
@@BreadOnPenguins thank you for looking into that and responding :)
Do you use pywal or pywal16? I just started using the second one since it's still being updated.
I use pywal! I'll have another look at pywal16 - thanks for letting me know about it.
I really like your taste in visual theming. Beautiful painting, but I'm a nature lover, so I bias that way.
Good vid!
Thank you! :)
some penguin species, like adelie and gentoo, have a peculiar behaviour known as "stone stealing". they collect stones, arrange them neatly, and then steal from their neighbours' piles, often while being watched
That's really interesting, animal behavior is fascinating and I have not (yet!) had the chance to observe penguins in the wild. Sometimes you see similar stealing and dominance-establishing behaviors with birds caching seeds
@@BreadOnPenguins ye i've only ever seen penguins in a zoo too
. ...is this the Hyprland experience video? . ...the candle vibes!!!
Another great video, cheers!
Thanks, cheers! :-)
Thanks for the video. I tried using the method using just less but it doesn't use the colours for bold or underline, just the pager prompt. The only way I got it to work was using the LESS_TERMCAP variables. I'm using OpenSUSE tumbleweed so it should be pretty recent versions. Any ideas?
Hm, the only thing I can think of is that less may not universally support --use-color (and possibly the tab spacing options) on all distros, iirc I've heard of that before. Hope you can get it figured out - best of luck!
@@BreadOnPenguins so in case anyone else sees this and has the same issue. The solution was to set MANROFFOPT="-c". This passes -c to groff which man uses to format its output. -c means something like "handle colors in the old way" where "the old way" is the way that works with less. The other way to do it is to set GROFF_NO_SGR=1 but that (potentially) affects things other than man.
"when i was your age i had to warm my hands by candle light just to program"
LOL
hey, thanks nerd 😃🥰
👍👍
good video
Thanks :)
Verjnuarmu
Well GNU info is the one that's supposed to replace man pages with goodies like hyperlinks and colors but for some reason it's still not as popular
I'll have to review it at some point, thanks for mentioning!
1:08 My tz is OMSK +6 and its definitely 1.30 at night. And Bread blinded me again.
My bad lol I did get dark-mode themes for github & archwiki, this vid was recorded before then but future vids will have that. Have a good night
are you left handed or is camera mirrored? if so, did you switch j/k with d/f?
It's mirrored!
Pro tips : Use finger less gloves to fight the cold and still type on your computer
True, I should wear my outdoor gloves inside
Is wikiman not an archlinux package?
Yup my bad, it's in Arch official repos
Great video, thanks! Hope you're now feeling... toasty 🤣🤦🏻♂️
LOL good one
wow, first luke smith woman distro
Lmao yup
I don't know what's man pages 😢
Its the scared texts written by the ancients that explain how the world works
Why does everybody say tealdear was superior to tldr ?
It's a little bit faster but that's pretty much it. No huge differences :-)
te quiero mucho linux girl
But what about woman pages?
Oh god please make this stop.
Not just the man pages, but the woman pages, and the children pages too! They're manuals! I read them like manuals! I learned them!!!
I feel like I see this joke on literally any video that mentions "man pages" LOL
I apologize, y'all, I saw the blank comment section and panicked a bit...
Use emacs.
I just remembered the entire man page (syntax included) with my brain,
I use Arch Btw
>brain chair wojack
@BreadOnPenguins read this from the terminal
start using a gaming laptop and your hands will never be cold again
LOL true
Linux "man pages" feels incomplete in comparison to BSD's. In Linux they hint you in the right direction, you always have to use a search engine from there, whereas in BSD it is ALL there!
I'll have to check out the BSD man pages then!
😲 are you real?
Penguins poop every 20 mins. I wonder if they use cron for scheduling?
Lmao, they probably do!
Boy pages😂
Lol
The similarities between what Mental Outlaw recently posted and what you posted here are... strange. You might have a copycat, Bread.
I saw that and did wonder for just a second if he had seen my vid! Either way, such is the curse of Linux content.. a single topic can only be covered in finite ways :-)
Oh now i know where i heard that tealdear was best before - but aint nobody says why. I dont get it. Whats wrong be tldr?