Configuring Emacs on My New Laptop

  Рет қаралды 16,694

Tsoding Daily

Tsoding Daily

Күн бұрын

Streamed Live on Twitch: / tsoding
Enable Subtitles for Twitch Chat
References:
- My dotfiles: github.com/rex...
- en.wikipedia.o...
- github.com/rex...
- github.com/rex...
- github.com/tso...
- magit.vc/manua...
Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
- Pay for my VPS: zap-hosting.co...

Пікірлер: 232
@two-spikes
@two-spikes 7 сағат бұрын
tsoding bought new laptop before gta6
@beeverfeever4930
@beeverfeever4930 6 сағат бұрын
I'm 55 seconds in and Tsoding is starting distro wars and text editor wars already.
@michaelvanzyl9418
@michaelvanzyl9418 7 сағат бұрын
Vim users are not invited!
@labsendeyshent
@labsendeyshent 6 сағат бұрын
OG viewer detected
@prostickman4946
@prostickman4946 6 сағат бұрын
damn, installing emacs right away
@nates9778
@nates9778 5 сағат бұрын
RAWR! HISS!! SNARL!!! This is Heresy >:U
@ecranfortessa
@ecranfortessa 5 сағат бұрын
Damn.
@surajmandal_567
@surajmandal_567 4 сағат бұрын
You don't need an OS running in an OS 😂
@NikPiermafrost
@NikPiermafrost 6 сағат бұрын
New laptop, new distro Uses Void Based
@RostislavArts
@RostislavArts 6 сағат бұрын
Great video (I use neovim btw)
@Xotchkass
@Xotchkass 6 сағат бұрын
Tsoding: "I hate how all programming content on KZbin nowadays is just 'Hey! Look at my cool vim config'... Also, here's a 2h stream about my emacs config."
@lightechoes
@lightechoes 4 сағат бұрын
Two wings of the same bird vibes. 😅
@strawberry_blush81
@strawberry_blush81 3 сағат бұрын
The man got a new laptop after 15 years of coding on a laptop that would make anyone pull their hair out. He earned the right :D
@MrAlanCristhian
@MrAlanCristhian 2 сағат бұрын
To be fair, in one video he tells you "c is horrible". A month later: "c is the GOAT". And so on. He already said that he rant a lot, and you shouldn't take him so serious.
@arthur-godart
@arthur-godart 2 сағат бұрын
@@MrAlanCristhian Xotchkass: makes a joke You: "you shouldn't take him so serious"
@patsbelly
@patsbelly 6 сағат бұрын
0:28 how dare you use a different package manager than me. I will not stand for this.
@Momoyon
@Momoyon 7 сағат бұрын
TSODING GOT A NEW PC LETSS GOOOOO
@two-spikes
@two-spikes 6 сағат бұрын
4:16 Emacs lips 🗿
@cranil
@cranil 4 сағат бұрын
For a sec I thought the mofo moved to windows 😳
@rudolf-adamkovic
@rudolf-adamkovic 5 сағат бұрын
Fido is a legacy thin wrapper over the builtin Icomplete mode. Instead of Fido, Smex, and all that ancient stuff, just run 'icomplete-mode'. That will give you M-x and more, out of the box. The same applies to your package installation helpers and similar. It is all built-in now man.
@ginzilb3395
@ginzilb3395 6 сағат бұрын
A new laptop that is crazy.
@ionutred8298
@ionutred8298 5 сағат бұрын
11:13 when will you release this on Spotify?
@RussTeeTrombone
@RussTeeTrombone 6 сағат бұрын
“Welcome to another recreational programming stream witha mister sausage”
@Pixelsuft
@Pixelsuft 6 сағат бұрын
He finally switched to Void Linux!
@RichardLofty
@RichardLofty 4 сағат бұрын
51:04 it does matter. Vim can open a 100gig file in no time. Emacs dies even thinking about it.
@azergante8268
@azergante8268 3 сағат бұрын
IIRC even vim doesn't handle huge single-line files very well (like data dumps etc), any go to editor for that?
@aaabbb-gu5pz
@aaabbb-gu5pz 3 сағат бұрын
@@azergante8268 but, why, this is 1-2 rows is I develop my text editor?
@tai9404
@tai9404 3 сағат бұрын
@@azergante8268 python
@kuettler
@kuettler 2 сағат бұрын
Last time I read a 100gig file, I died, too. :( But admittedly, there is always joe if you need it.
@ClosetFemboy
@ClosetFemboy 2 сағат бұрын
@@azergante8268 EmEditor is the go to for that
@MrAlanCristhian
@MrAlanCristhian 3 сағат бұрын
If you stopped using Debian because OBS is not working with an NVIDIA graphic card, the solution is to build the nvidia-vaapi-driver 0.0.10 from source. The maintainer of that package just disappeared. Two guys requested to be the new maintainers of it, but in the meantime, you have to build it yourself.
@Cemonix
@Cemonix 5 сағат бұрын
tea temperature is gone, oh no
@Lorenzo1938
@Lorenzo1938 4 сағат бұрын
Even the porn folder
@rogo7330
@rogo7330 2 сағат бұрын
and porn folder size too
@ndrechtseiter
@ndrechtseiter Сағат бұрын
Porn folder size as well 😢
@fischi9129
@fischi9129 5 сағат бұрын
to be honest, VSCode doesn't have the toolbar either. It just has a sidebar with files etc, which are actually tools, and the top bar like every GUI app pretty much. No Undo button that I know of in VScode, or Save, or copy/paste/cut.... xD
@flamendless
@flamendless 6 сағат бұрын
New laptop? No need to write in C anymore because your RAM can handle the modern web devs crap 😂
@JohnDoe-vb3ks
@JohnDoe-vb3ks 4 сағат бұрын
To me the best example of "lost in time" knowledge, is the first line of William Gibson's Neuromancer 'The sky above the port was the color of television, tuned to a dead channel. '
@finskiy_yt
@finskiy_yt 6 сағат бұрын
stream on new laptop but bitrate of stream is same 👎
@TsodingDaily
@TsodingDaily 6 сағат бұрын
Hm... Maybe this is due to ffmpeg script that I use to edit my vods. Thank you for the heads up!
@Momoyon
@Momoyon 7 сағат бұрын
Hi twitch chat!
@alh-xj6gt
@alh-xj6gt Сағат бұрын
To the line duplication at the end in vim it will need some bind and use of marks. due to vim internal bs they can not bind ctrl-; or ctrl-, and more such punctations. So to get only a line duplicate of notepad++ for ctrl+d do the following (ignoring the selection duplication if stuff is selected and needs duplication) :nmap m`yyp``j m` - mark cursor position yy - yank line p - paste line `` - jump to mark j - move cursor down To the editor/IDE wars. Yeah it doesn't matter they all somehow suck I'm not a fan of any of them. Sure does help a bit to be able to jump to line numbers, have some fast(!) candy coloured syntax salad or have some completion functionality. I grew up with DOS editor and used default windows notepad with find on the side in a console in the 90s as findstr didn't exist yet. Switched to linux used pico and later nano so I didn't had to suffer through what ever vim and emacs new user experience was and still is. Once movement is done through searches it will be quick enough for any codebase and really all editors can do search .. even plain windows 3.1 notepad. in convoluted and long named codebases that are written with autocomplete than it becomes nearly mandatory to use autocomplete-able editors even as a fast and accurate typer. But even then I tend to alias the stuff and work at the problem till it works and search + replaced it with what ever ridiculous naming is in place and needed to keep everyone happy and off my back. Would be interesting to see the boomer translation to C. I mean just watched 2 hours of you getting your old emacs config current and learned a few things here and there. Going through porting stuff over to another language will have at least similar value. "Think of the children." Compelled Rust use, otherwise one is tagged as securityphobic. The only angle a western mind seems to comprehend change and criticism these days. I'm still waiting for the radical greens to demand detailed explanation why software takes so much cycles and wattage and demand somehow reparations for wasted cycles.
@blzr8
@blzr8 5 сағат бұрын
fck it am learnin emacs and configure it with vim binds
@nickelpence
@nickelpence 3 сағат бұрын
2 months ago I finally started using emacs as my daily editor, was kinda hard at the start, getting used to the key combinations and such. I can now proudly say, that I suck less! Also, thanks for your config, did a little cherry picking of some stuff I wanted as I went along.
@ivanjermakov
@ivanjermakov 4 сағат бұрын
Downgrade from i3 to xfce, unbelievable.
@pragyan394
@pragyan394 7 сағат бұрын
Imagine using Emacs in 2024. This was brought to you by the Neovim gang
@RichardLofty
@RichardLofty 4 сағат бұрын
57:30 emacs not being able to parse 7 megs lol! 200k lines 😂 I'm dying!
@programminglife8903
@programminglife8903 Сағат бұрын
It's an c-mode's issue, not Emacs' Should've at least watch that segment till the end.
@nsxz1014
@nsxz1014 3 сағат бұрын
"Serious people don't use VS code"
@NotMarkKnopfler
@NotMarkKnopfler 5 сағат бұрын
Tsoding: "Serious people don't need VS code" Me: 😢
@mehdi7586
@mehdi7586 3 сағат бұрын
emacs 28 comes with fido-mode and fido-vertical-mode. so you no longer need smex and ido.
@rogo7330
@rogo7330 2 сағат бұрын
Emacs users **handshake** Arch users > making their lives as miserable as possible
@xccr2
@xccr2 4 сағат бұрын
hope you will enjoy void linux
@azergante8268
@azergante8268 3 сағат бұрын
1:59:18 blockchain contract to manage discord access? could be very educational!
@NetBSDToaster-u8e
@NetBSDToaster-u8e 6 сағат бұрын
Poggers
@luigidabro
@luigidabro 4 сағат бұрын
Oh, I always thought emacs was a tui, not a gui
@Kitulous
@Kitulous 3 сағат бұрын
SAME
@kraken296
@kraken296 3 сағат бұрын
it can be both
@МатвейРовчак-в4о
@МатвейРовчак-в4о 6 сағат бұрын
Все фанаты Вим просто вышли из чата(зато появилось пару фанатов Имакс)
@catfan5618
@catfan5618 5 сағат бұрын
Nah I am still here
@inferrna
@inferrna 5 сағат бұрын
34:00 tsoding herecy goes completely unsafe
@RichardLofty
@RichardLofty 4 сағат бұрын
59:25 yeah yea vim spies, hahah, same people that develeoed emacs and use it, they developed the same level of trash, default c mode hahahah
@RichardLofty
@RichardLofty 5 сағат бұрын
Just use nvim
@anidnmeno
@anidnmeno 5 сағат бұрын
"Clone it, fork it, fix it yourself!"
@Pasora
@Pasora 2 сағат бұрын
A NEW ERA
@sirenti9384
@sirenti9384 3 сағат бұрын
Any nixos enjoyers?
@Redyf
@Redyf 59 минут бұрын
Yessir
@jaymr2795
@jaymr2795 6 сағат бұрын
Really cool stream idea! Btw I really liked your simple i3 setup, do you plan on using xfce from now on or will you go back to i3 once you have everything setup on your new Laptop?
@TsodingDaily
@TsodingDaily 6 сағат бұрын
I'm not sure actually. There are some things I like in xfce, there are some things I like in i3. It would be cool to use them together. I need to research if it's possible to just replace the usual xfce's wm with i3.
@fjfjfjfjfjfj973
@fjfjfjfjfjfj973 6 сағат бұрын
@@TsodingDaily maybe switch to wayland with sway. In my experience there's no working only telegram notifications (which is replaceable by mako notification daemon).
@Momoyon
@Momoyon 6 сағат бұрын
​@@TsodingDailyuse dwm
@yablock0
@yablock0 5 сағат бұрын
​@@TsodingDaily you can use most of xfce (it's bars (with tray btw) and applications) with i3 as window manager.
@oddstap6976
@oddstap6976 5 сағат бұрын
@@TsodingDaily I think it’s actually possible. I have seen some nice articles on it. If you do decide to do that please make a video on it.
@rogo7330
@rogo7330 29 минут бұрын
for cm I think it'll be better to just show position in the file through less, for example, or just do print-around with one column being error output and second column being actual print-around.
@hedlund
@hedlund Сағат бұрын
Grats on the new machine! Also, to anyone who hasn't done - try one of the Lisps! It's a lot more fun to write than it actually looks. Edit: lol don't think I've ever seen avyone PR-ing someone's dotfile repo before Edit2 re emacs modifying .emacs - If I'm starting from scratch I usually do all my customize-mode changes at once, and then manually set those exact things in .emacs (referencing what needs setting is easy since emacs has just dumped everything right there). Once they're all set you can nuke the ;;custom-set-variables section. emacs won't rewrite it unless you change something else from a customize-mode. Not using .emacs for user-code is much easier, though, but I've never claimed to not be stupid.
@christer8964
@christer8964 Сағат бұрын
Nice! I also bought a new laptop, but I configured my Emacs the other day. I also stop adding so much into config file. And instead programming some Elips functions myself, the way Emacs should be used.
@yramagicman675
@yramagicman675 Сағат бұрын
Re: compilation mode I sit on the fence between emacs and neovim. My config for both editors is nearly identical because I use Evil Mode. What you said about compilation mode is spot on. It just works, and it does exactly the right thing. The vim equivalent is good, but not close to compilation mode in emacs.
@MikhailAksenovV
@MikhailAksenovV Сағат бұрын
As long as you're not using clojure core async in Emacs lisp I am happy. But that would have been funny tho - having a macro that does crazy async with coroutines.
@DobryWujaszekKun
@DobryWujaszekKun 2 сағат бұрын
meh... fedora, arch, nix, gentoo, but void? Big meh. Void linux is the system that does what all mentioned is capable of but worse xD
@AzerAnimations
@AzerAnimations 14 минут бұрын
Please tell me he tries to use "use-package" instead of rolling his own. It is really nice and declarative
@Odod4000
@Odod4000 6 сағат бұрын
What Desktop Enviroment do you use? 😄
@cikuozzo
@cikuozzo 6 сағат бұрын
that's a plain XFCE
@freddydurkee8632
@freddydurkee8632 Сағат бұрын
i think that's specific to neovim and doesn't work like that in vim, but :t. will duplicate the line while preserving the cursor position
@rhogal8310
@rhogal8310 5 сағат бұрын
the only thing I need an IDE for is pretty much just syntax highlighting and like code suggestions or whatever you call that feature which tells you what methods or functions are available for a given object, everything else I do from the command line
@ivandimitrov4410
@ivandimitrov4410 52 минут бұрын
I got baited to write this comment - in vim you can create a keybind to the command :t. to duplicate a line and keep the cursor
@epsilonnought2648
@epsilonnought2648 6 сағат бұрын
As a laptop connoisseur, I see you have a ThinkPad E14 gen 5. I personally have a Lenovo Legion 5P Gen 5.
@wernersmidt3298
@wernersmidt3298 5 сағат бұрын
The reason Tsoding is using Emacs, is because Rachmaninov's fingers could span 12 keys on the piano.
@LuvingToryChristman
@LuvingToryChristman 6 сағат бұрын
Congrats to your new Laptop! Happy for you! :D (...coming from a die-hard vim user.. ;)
@howto-xd6tq
@howto-xd6tq 5 сағат бұрын
now get new internet
@catomajorcensor
@catomajorcensor 35 минут бұрын
Void Linux is awesome, but its software availability is subpar.
@vladinosky
@vladinosky 5 сағат бұрын
Always wondered, if you struggled with such an old laptop how did you manage to stream on twitch simultaneously?
@logyross6883
@logyross6883 6 сағат бұрын
This is crazy, I checked out your old Emacs configuration video again just a few hours ago.
@windus08
@windus08 55 минут бұрын
OS with cli only ❌. OS with ugly as fuсk interface✅
@DART2WADER
@DART2WADER 3 сағат бұрын
Поздравляю тебя с обновлением. Когда приобрёл себе новый мощный ноутбук, то старый стационарный ПК стал пылиться без дела. Я привык к Qt Creator и теперь всё делаю в нём и задумываюсь над написанием своих плагинов к нему.
@arcxm
@arcxm 2 сағат бұрын
Feels like an updated version of your old emacs setup video. Got me to try out emacs and play with it for a bit
@emdeetee8363
@emdeetee8363 4 сағат бұрын
A new laptop? I've never clicked on a tsoding VOD so quickly
@Kitulous
@Kitulous 3 сағат бұрын
I'm 5:38 in, and I don't understand. has emacs always been a GUI app with removed menu and top bar? or has zozin been using a terminal based version of emacs before?
@ThatGuyexe
@ThatGuyexe 6 сағат бұрын
Penger kinda fire
@ariandannemann4544
@ariandannemann4544 2 сағат бұрын
Insulting vim and debian in the first minute? He really wants to start a war!
@Odod4000
@Odod4000 7 сағат бұрын
YAY NEW STREAM i love your streams!!! 😀
@Jackarius86
@Jackarius86 48 минут бұрын
in vim, you dont duplicate line with wwp, you do it with Yp or YP
@berkeenver6752
@berkeenver6752 4 сағат бұрын
Hayırlı olsun tsoding abime
@inferrna
@inferrna 4 сағат бұрын
01:06:30 then try Zed. It as fast as any text editor, but actually is an IDE.
@androth1502
@androth1502 2 сағат бұрын
the only reason i don't like emacs is because it runs like ass on windows.
@tianned
@tianned 5 сағат бұрын
Never assumed that mr zozin participated in text editor wars :D
@RavikulRao
@RavikulRao 2 сағат бұрын
why not arch? ,just would like to know ?, i think it might suit you too !
@tofaa3668
@tofaa3668 Сағат бұрын
No way he bought a new laptop, this mans gonna be unstoppable now
@RukopisyNarnie
@RukopisyNarnie 5 сағат бұрын
No way, I use void for 2 years and never thought you would try it out.
@Vili69420
@Vili69420 3 сағат бұрын
Why dont u get money from twitch and stuff? Just wondering.
@yukijoou
@yukijoou 3 сағат бұрын
he's in russia
@Vili69420
@Vili69420 3 сағат бұрын
@@yukijoou oof
@inertia_dagger
@inertia_dagger 4 сағат бұрын
actually happy that you got a machine so old anymore, congrats!
@ndr3www
@ndr3www 3 сағат бұрын
Out of curiosity, what was your previous laptop?
@uuu12343
@uuu12343 5 сағат бұрын
Time to configure and give emacs a shot together with this video
@insanesup9648
@insanesup9648 5 сағат бұрын
After start work at 4am Moscow time, it’s what I need to watch
@lievenpetersen
@lievenpetersen 5 сағат бұрын
new laptop Pog omg that desktop scared me for a moment xD
@juniorceccon
@juniorceccon 5 сағат бұрын
what is his new computer configuration?
@GrindAlchemyTech
@GrindAlchemyTech 4 сағат бұрын
😂😂😂😂 remix .... just rewrite that shit in C...🙌🏽👽💗
@PavitraGolchha
@PavitraGolchha 5 сағат бұрын
you missed the opportunity to build your own laptop
@BadBakh
@BadBakh Сағат бұрын
Congratulations on the new laptoppp
@LALO-cv4ck
@LALO-cv4ck Сағат бұрын
zozin made sure to piss off everyone
@eyemotif
@eyemotif 4 сағат бұрын
5:24 that delivery actually made me laugh out loud
@AlexanderBelov-y8o
@AlexanderBelov-y8o 6 сағат бұрын
Windows XP background.
@mouhamedbourouba3637
@mouhamedbourouba3637 34 минут бұрын
*vim gang. * Is wildcard
@semihkaplan
@semihkaplan 2 сағат бұрын
Zozeen, do you use X11 or Wayland now?
@RichardLofty
@RichardLofty 4 сағат бұрын
34:32 rust isn't even safe lol! You can easily break it and even rust foundation people admit that it's not ready for the actual use in Linux kernel.
@puncherinokripperino2500
@puncherinokripperino2500 2 сағат бұрын
with this one simple tecnique...
@aaabbb-gu5pz
@aaabbb-gu5pz 3 сағат бұрын
I think that it is far more simple to write (even in C) self text editor and IDE for 1-2 languages, than to learn and configure such a brainfuck insanity like emacs or vim variants.
@rusi6219
@rusi6219 2 сағат бұрын
It's also a good experience teaching you useful programming skills
@alice-smith
@alice-smith 6 сағат бұрын
It would be nice to see the rewrite of zoomer in C
@realdotty5356
@realdotty5356 3 сағат бұрын
Make scratch coding video
@Myexpectationsarerealistic
@Myexpectationsarerealistic 4 сағат бұрын
You finally upgraded.
I used to hate QR codes. But they're actually genius
35:13
Veritasium
Рет қаралды 209 М.
Stop using std::vector wrong
23:14
The Cherno
Рет қаралды 29 М.
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 21 МЛН
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 15 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 3,7 МЛН
Mining Magnetite
16:20
Cody'sLab
Рет қаралды 294 М.
What The Heck Is A XaviX??
17:21
James Channel
Рет қаралды 22 М.
Triton Conference 2024: Afternoon Session
3:37:31
Triton
Рет қаралды 1,1 М.
EA Games Just Embarrassed Themselves.
16:55
Bellular News
Рет қаралды 10 М.
Reverse Proxy And Game Servers
8:37
TheVimeagen
Рет қаралды 908
The Home Server I've Been Wanting
18:14
Hardware Haven
Рет қаралды 166 М.
Everyone Should Use WebAssembly
3:34:09
Tsoding Daily
Рет қаралды 46 М.
The Monitor I Should Have Waited For - ASUS ROG OLED Master Kit
11:28
NixOS Setup Guide - Configuration / Home-Manager / Flakes
3:01:39
Matthias Benaets
Рет қаралды 190 М.
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 21 МЛН