 Hey everybody welcome back to the channel today. We're gonna take a look at a terminal emulator named kitty now if You've watched the channel before you know that my preferred terminal emulator is termite and it has been for a long time and after playing around with kitty I'm pretty sure I'm gonna be sticking with termite. So that's just kind of a spoiler for you, but Kitty does have some interesting features and it has a very Interesting I'll say configuration file. So we're gonna jump into that here in just a second But before we do make sure you hit the subscribe button because we do Looney Tunes Videos seven days a week on all sorts of false related topics Terminal emulators window managers desktop environments. We talk about it all on this channel or more specifically I do we also do a podcast one So we called the Linux cast which is where the channel gets its name from so make sure you hit the subscribe button and the notification Bell icon so you don't miss anything. So that being said, let's jump into the documentation for kitty so It is very well documented for a terminal emulator, but I haven't seen too many out there that are this well documented actually Termite I don't think really is But I'll be honest. I haven't looked at the termite Documentation in quite some time. I know it's just on github That really doesn't mean all that much I Think all acuity does have some a documentation like this, but kitty is very well documented. It's um It's meant to be a very fast terminal emulator kind of like Alacrity, I think it's like GPU enabled or whatever I'm like Like assisted I guess so if you're looking for a fast terminal emulator kitty might be the one that you're doing So let's actually take a look at it now. I will say this I have gone through and done some customization of the configuration file So we'll just by default you'll just get a black screen with your prompt. That's all you'll get I Did not want to do that. I've also changed the font and increase the font size So those are the four things that I've done. I've changed the color scheme I've went through and changed the font and the font size But we'll we'll take a look at it. So let's uh by default The configuration file is in dot-config kitty If we do an LS all is there is the comp file So if we them into kitty dot-con and this is what you get by default it is um When I first seen this I was like what the hell is that? Yeah, I had never seen nested or whatever Configuration files like this before I in them. I'd never seen it before. I was like, how am I supposed to work with that? Haha, it was very confused. It was a very confusing five minutes for me Like I don't understand how am I supposed to go there if you go on these and just hit enter enter Just takes you down and down line. So how do you do get to that? So the way you do it is actually just going to insert mode. That's how you do it But you got to remember now you're in insert mode. So um I wonder if there's there's probably another key binding in vim to open those up without going in in insert mode. I wonder Because if you if you oops I don't I don't remember how to close it now This is I'm telling I've never seen this before it was very confusing anyway So this is um by default everything is commented out. So you have to go through And uncomment things out and I actually believe that I think I have to go through and actually Remove that column too Yeah, we'll see if that actually works. I'm wondering if uh, that's the reason why I didn't show a new new fetch earlier Anyway, so these are the fonts. There's a lot of stuff you can do here with fonts um More than is I think not completely necessary I wouldn't go so far as to say I am a suckless kind of guy I've made videos before saying that suckless is kind of terrible unless you add some stuff to it So I want my terminal emulator and window manager for that matter to have features But I don't want to have too many features, you know, because It goes past being convenient to have some features to being What luke smith would say would be bloat Of course, I don't think he actually uses the word bloat anymore because I think it became meme worthy. So whatever But This looks I mean granted. This is just the documentation. You could remove all this stuff If you didn't want to because most of this here these paragraphs and paragraphs of texts are just explaining what the things do so um This is all just for fonts and I mean that is uh That is over 100 and 100 Almost 150 lines of font stuff. So and then we have cursor customization scroll back, which is 46 lines where Scroll back does not need 46 lines. It needs two. So let's actually see take a look and see what the hell they're doing here Literally scroll back lines. That's the only one you need That tells you how many lines you can scroll back in your history and your terminal You only need that one. What is the rest of this stuff? Scroll back pager, uh, I don't know that is um number of lines All right, here's another thing that you'll notice. I'm sorry another thing you'll notice about the configuration file is that Unlike normal things the uh normal configuration files the kind of explaining whatever It is explaining comes after the thing that it's explaining So we have we have the command and then we have the the explanation of the command command exclamation explanation of the command That is just Very weird. That's not that's not the way I would do things I guess but you know whatever So this tells you how many lines you I guess just modify the amount of scrolled by the mouse lines Modify the amount scrolled by the mouse wheel if you're gonna have uh, you know Grammar is important Touch scroll rule, I'm assuming this is for the touch pads. I mean that's cool I so really that's not 48 lines where the stuff that's that's one two three four lines of stuff with 40 lines worth of explanation explanation One of those words that I just cannot say worth a damn today explanation so Okay, I mean, that's not I mean, it's not a line. It's just really weird Same thing with the mouse thing here. There's 104 lines. That is going to be almost definitely Mostly explanation Um, you know most explanation that's really like six lines Focus follows mouse, which is That's a weird setting to have in a terminal emulator. I'm just saying that's something for your window manager. Why does it need this? Um, so let's see we're here. We have um terminal Bell I'm assuming that's for what sound? Yeah Okay, window layout tab bar. So kitty has tabs in it by default, which is I don't know I don't really need tabs. It's really weird Um I like tabs and other things like file managers and stuff, but I don't really need tabs in my in my Uh terminal emulator I also don't need multiple windows because I use a window or you like a split window like you'd have in like tmux or something I use a window manager for a reason I guess I'm just simple that way Advanced here's the color scheme So basically the color scheme is fairly, yeah easy to get around it's just uh most of this stuff here is dealing with opacity although Oddly the opacity settings are in two different places. So there's the dynamic background opacity here I think this has to do more with if you're going to use a background image, which you can do for some Inexplicable reason. I'm not sure why you'd want to use a background image In your terminal emulator, but whatever But there's also above this. There's a place where you can set just regular opacity I mean It just seems unnecessary right to me I don't know if anybody who wants a terminal emulator. It has a background image Solid colors are the way to go other than that. This is just a standard Uh Color scheme that you can get from something like terminal dot sexy or something What I did was I went through and found a term a color scheme And then just copy the termite one the termite one is Uses syntax almost exactly like this. You just have to go through and remove the equals signs in between So that's really all I did there um So and then the last one I want to look at is keyboard shortcuts So this does have some keyboard shortcuts I don't usually use keyboard shortcuts in my terminal emulator But it's nice to know that you can get into like vim mode or yes, um Or create key bindings to go up lines and repeat Uh commands or something. I don't know There's just there's a ton of them here or quite a few of here anyways, so I don't there's more. I didn't even notice that there's more What's the difference between scroll back and scroll on? Oh, this is actually within in Okay, so this is nested within the uh the key binding section I didn't even know you could do that in vim. Okay, so you went on That's the configuration file. So overall my thoughts on that are it's very very complicated. It's very very long It's over 1,300 lines long. I bet you you could probably take about 1,000 lines away by not having the documentation built right into the configuration file I mean, that's a preference. I guess I would rather just use a man page Say if you knew you need to do this just use a man page But maybe I'm just old-fashioned like that. So the last thing I want to do Is look at the time See if we can definitively say this is faster than something like termite. So let's uh cd into our home directory and clear you know command l I've always forget that Control l will actually go through and clear things. I always forget that key binding. So I just use c I have an alias for c That does clear Anyway, so let's do time neo fetch and fish goes through and You know So these are these are the numbers we're looking at here the beginning It was like 76 milliseconds or so And let's look at termite termite is the one that I use neo fetch. Oops time neo fetch Look at that. Look at that Almost exactly the same uh Termite a little bit faster. Also not gpu accelerated on termite. So you don't have to deal with any of that and just For comparison, this is this is still termite Let's cd into that config termite ls and vim config This is the config file for termite It is 87 lines long Uh, and some of these are actually fonts. So these could actually all go away Okay That's in comparison now there's Obviously more you can do with kitty because termite doesn't have built-in key bindings as far as I know Uh I've never actually looked I don't need them. Um, let's go back to kitty kitty oops I actually have to spell things right Let's zoom in here. Let's do time Uh, I don't know Well, let's just do time ls And that runs in 10 milliseconds and we'll do time ls Like ran as like 134 Interesting. So at least with this, um Command it was much slower But these are reading as micros in that milliseconds I don't know Which one's smaller micro section? I I'm assuming micro section says smaller than a millisecond But I might be completely wrong have that completely backwards. I don't know. Um Fish is weird because you let's run it again 153 micros 96 micros so that's less um Termite is faster. I'm just going to go on and say that these are just regular small ass Commands that she don't don't take really any time at all but Termite is faster so That was the first look at kitty My impressions I've only played around with it for a little bit before I started recording and whatever you've seen on this recording Um, my impressions are it's meh Why would you use it? Uh, unless you need a lot of configure unless you need a lot of options for your terminal emulator That would be a an option But I think a lackity is a little bit better You put together from what I've you know the little bit of lackity that I've used And it's probably about as fast. So termite isn't or uh, kitty is not slow Termite is still faster. Termite is just faster people and I don't understand. So like the likes of dick distro tube and um Brody robinson they all use a lackity and preach it to high heaven because it's the fastest terminal emulator ever termites faster And at least unless I'm reading that completely wrong like which I could be I suppose It's happened before I've been wrong many times before so on that happy note Thanks for watching if you want to subscribe Support the channel you can subscribe hit the notification icon You can also support us on patreon at patreon.com slash linux cast again. Thanks for watching. I'll see you next time