@@DistroTube and I really like that. See now, you have covered Org mode, Dired and now Magit. Have you talked about tramp mode? That is also a cool feature, esp if one manage servers. You just open the file as /proto:user@machine:file, like /ssh:dm@machine: file.txt or /sftp:dm@machine:file.txt or /sudo:root@localhost:/etc/host Really nice, you can even edit this, like it was local. /ssh:dt@machine:files.tgz Edit a file and then store it back into the remote archive.
Nah, emacs tries to be too many things at once. I wouldn't mind that, but it would probably be better to have a whole system based on lisp (a la lisp-machines) than to create a lisp environment on x86 hardware on top of the GNU core-utils environment. Vim is nice and small, for the amount of features it packs (plugins often just do what the base install can already do, e.g. autocomplete).
I’m a developer and my gateway into emacs was org mode and SLIME. Magit of course is extremely useful and my git porcelain of choice, but org mode is fundamental to my workflow. Whenever I export some notes in pdf form and send it to someone, very frequently I get compliments and questions about creating such beautiful, high quality documentation. It’s especially useful for tech leads, managers or anyone in need of producing any kind of documentation.
For me the killer feature of emacs is SLIME, just the best way to interact with common lisp in emacs, tuareg is also nice for ocaml, haskell-mode for haskell as well. Just anything that has a REPL.
what are you using Elisp for outside of your emacs configuring / tinkering to make it killer? I've wanted to learn more elisp but don't see much purpose for it outside of tinkering my emacs.. therefore i just usually let something like doom accomplish 95% of what i need and just focus on the other languages / projects i'm working on
@@kevinkeefe6161 Emacs has a lot of tools built in so it can actually be easier sometimes to just write in elisp. Especially if the task is interactive or has lots of moving parts, magit is a good example of this. I've written web scrapers, one of which generates epubs. I made a loose file synchronizer, which I use for several batch jobs. I also wrote a script to fetch tarballs from kernel.org verify the signature, and then build and install it. Really, any time I get annoyed by doing the same thing multiple times, I write a script.
since you're not an absolute git poweruser, fugitive for vim is probably enough for you aswell. Personally it does absolutely everything I would need even though from what I heard it's not quite as insane as magit. You should give it a look at some point
I know a network administrator who uses NixOs. Spacemacs is his go to fancy editor. I don't pretend to know how it works or why he likes it. Emacs does appeal to my interest.
org-mode and magit are two massive features ... fugitive doesn't get nowhere close ...and I have been using fugitive for years and have huge respect for tpope , but emacs beinga graphical app give you a lot more to work with
I love the vimfugitive plugin. It's very smooth, like for example being able to "visually select" which hunks you want to add. It's based on magit, I think.
Yea, you can do the same in Magit. In the video where I type "s" to stage something. If I "TAB" to look at the diff, I can visually select a region to stage ( by pressing "s" after I select the region).
@@EugeneMoscow for me the combination of evil mode, magit, org mode, and projectile was what got me to switch. I use spacemacs and wish I had switched years ago.
As a profissional dev i have to say: Magit is the best git client of the world. I use it all day long with stashs, pulls, fix conflicts, cherry picks, etc.
They are one of top three that I know of. Really good quality and length, but should probably be posted a bit more to be top. But then it would be a Emacs channel and I don't think I want it to be that.
For me it's definitely org-mode. I have a lot of lists and notes, and it's impossible for them to not be messy without it. It's just too much information. It's pretty amazing for learning languages as well. Anything that can be categorized can be done better in org-mode, so it's great for learning in general. Also great for configs. Really, org-mode should be a default feature in all text editors. It's good enough that I don't see how someone could not find it useful.
I used to use Gnus, which is a cool Emacs application to read different info like Net news, mail, manuals, etc and put them into same source and ui. Can source from different formats and sources and store in many formats. Really nice, but need to be all abo
I think I'm a little frustrated as I hoped this would be pitch for magit to more advanced developers. Things that would have been nice to talk about (i'm going to be investigating these on my own now): * diffing from `master...` aka view all the changes between your branch and where you branched off from master * can this create PRs? / does it have `gh` CLI integration? * how good is this at merge conflicts? also, what are the unknown unknown killer features that are things that are really hard to do with `git` CLI?
I find you can close the commit by just saving and quitting the file. So you can do ZZ or :wq and they will work the same as C-c C-c just a bit faster ;)
Thank you for this magit presentation! I found also nice that you have descriptions and the shortcuts of keys after M-x (for example in 1:43). How can I activate that?
For me, the killer feature in GNU Emacs’s version control management is vc-mode as it integrates all of the version control systems I use (Fossil, Darcs, SCCS) into Emacs. Magit makes no sense if you don’t use Git.
Hmmm if I had started with Emacs maybe I would be a Emacs person. However, I started with vi since it comes with every Unix and Unix like OS out there. To each their own I guess.
I think they both have their own place. I am predominantly a Doom Emacs user, but I still use vi for many CLI quick editing because it's fast and simple, whereas Emacs CLI is a fallback at best.
I noticed this as well. PulseAudio decided to lower my mic input by itself for no apparent reason. And people say that my PulseAudio hate is unwarranted!
Use C-x 2 or C-x 3 to splitt window vertical and horizontal in Emacs. C-x 0 close a window and C-x 1 close all other windows. Change window with C-x o Prefix each of them with a C-x 5 instead of just C-x, and it works with frames instread.
Has nobody here ever used vim fugitive? It looks and acts basically the same, :G gets you a status page that looks the exact same, some binds are different like "=" for the inline diff and the log is a seperate window with :Glog, but I fail to see any difference here besides the bindings
To be fair, Idea IDEs (and I’m sure VSCode) have similar tooling. The problem with these IDEs is the Windows GUI legacy. 30 years of hindsight show how superior Stallman’s design patterns were compared to Steve Job’s. Software would be so much better had it remained an engineering discipline.
tig is fairly interesting.github.com/jonas/tig But Vim does a shit job with interacting with some terminal programs, because you have to wrap shit in Vimscript to get it to work smoothly. Kakoune makes using tig fairly easy. I still find magit to be better, and fugitive to be...only fine.
I wonder how many came here from your latest video (06-11-2021) to try out magit again. I remember trying it but failed because magit wasn't enabled. Well, I enabled it and now it works great! This may be the best way to push stuff to gitlab now!
btw, there is vimagit ... it doesn't cover everything that magit does, it can't push to the git repository, but you can commit, amend, and so on, in vim as well :P wish someone continued the vimagit project, seems abandoned
You're really helping me level up my workflow. I'm a software engineer and I've lived in vscode, but once I saw vim being used I had to hop on the train. And we all know vim is just a gateway drug to emacs ;) I really appreciate the work you've put into these videos.
Have you tried lazygit github.com/jesseduffield/lazygit? It is what I use together with neovim, and its functionality seems to be very similar to magit in Emacs.
FOR VIM users we got a plugin that do what Magit does it is call 'fugitive' so if you love your VIM/NEOVIM then just install fugitive and you get all the git goodness
i started with spacemacs years ago and builded a plain emacs config i used it a lot but a few month ago i switched back to neovim with a pretty simple config. I only miss my org-mode
I don't quite understand why people absolutely have to use git through their editor directly. I just use lazygit from the terminal, and you can probably call that through emacs or vim too
As a developer, I think the nicest thing about git in your editor is that you can stage, edit, or reset hunks very easily. You can also look over a diff of your changes and if you need to change something, you can hit a key and be taken straight to that line in your editor. My workflow before committing used to be to run `git diff` in the terminal, see something that needed a change, navigate there in my editor, change, run `git diff` again (and probably have to find where I was in less in anything but a small commit). It's a much slower and tedious workflow.
i started looking at it again after your last video. It's been fun When I tride Magit it took me 20mins to get the basic commands. And then I got faster at it. it is very nice and i know i only have basics. Stage, commit and push for now I want to learn tramp, and code completion and finnaly start to customise the config
Tramp is easy. Everywhere where you can open a file, open the file as usually, but then enter file in a special format. /protocol:[user@]machine:file Protocol can be for instance: ssh, sftp, ftp, sudo, su. You can use TAB in any position. Examples: /sudo:root@localhost:/etc/hosts /ssh:user@machine.com:file.txt /ssh:user@machine.com:archive.tgz Etc...
I use Jetbrains tools for coding, but when it comes to make some sensible commits, I always switch back to emacs to do so. Also, org-mode is the killer app for me.
Yea pmuch every editor has git clients, not a good enough reason to switch. Maybe spend 2minutes looking at other editors before making videos stating that this is a reason to switch.
and hes back at emacs again, love it.
I'm all over the place!
@@DistroTube and I really like that.
See now, you have covered Org mode, Dired and now Magit.
Have you talked about tramp mode? That is also a cool feature, esp if one manage servers. You just open the file as
/proto:user@machine:file, like
/ssh:dm@machine: file.txt or
/sftp:dm@machine:file.txt or
/sudo:root@localhost:/etc/host
Really nice, you can even edit this, like it was local.
/ssh:dt@machine:files.tgz
Edit a file and then store it back into the remote archive.
@@DistroTube Notmuch next lel
it won't last
emacs is one reason to watch DT instead Luke Smith
or watch Luke Smith and install fugitive for your vim
Bah, they're the same person. Everybody know it. He just glues on a goatee when he records the Luke Smith videos.
Nah, emacs tries to be too many things at once. I wouldn't mind that, but it would probably be better to have a whole system based on lisp (a la lisp-machines) than to create a lisp environment on x86 hardware on top of the GNU core-utils environment. Vim is nice and small, for the amount of features it packs (plugins often just do what the base install can already do, e.g. autocomplete).
Do you usually pronounce Magit as 'maggot' like here or magic with a 't' at the end?
What is the distro DT is using in this video?
I’m a developer and my gateway into emacs was org mode and SLIME. Magit of course is extremely useful and my git porcelain of choice, but org mode is fundamental to my workflow. Whenever I export some notes in pdf form and send it to someone, very frequently I get compliments and questions about creating such beautiful, high quality documentation. It’s especially useful for tech leads, managers or anyone in need of producing any kind of documentation.
For me the killer feature of emacs is SLIME, just the best way to interact with common lisp in emacs, tuareg is also nice for ocaml, haskell-mode for haskell as well.
Just anything that has a REPL.
You've slime in VIM as well. Is it better than vim-slime?
I run OCaml in Emacs, and it is great. Really nice. Not so much Haskell or Slime.
I find Sly more powerful than SLIME, but pretty lambda doesn't work in Sly's repl, and it really bugs me.
Vim-slime is good enough
For me, the killer feature is simply Elisp. ;)
what are you using Elisp for outside of your emacs configuring / tinkering to make it killer? I've wanted to learn more elisp but don't see much purpose for it outside of tinkering my emacs.. therefore i just usually let something like doom accomplish 95% of what i need and just focus on the other languages / projects i'm working on
( yeah (i love using (brackets) too))
@@kevinkeefe6161 Emacs has a lot of tools built in so it can actually be easier sometimes to just write in elisp. Especially if the task is interactive or has lots of moving parts, magit is a good example of this. I've written web scrapers, one of which generates epubs. I made a loose file synchronizer, which I use for several batch jobs. I also wrote a script to fetch tarballs from kernel.org verify the signature, and then build and install it. Really, any time I get annoyed by doing the same thing multiple times, I write a script.
second channel EmacsTube when?
like seeing emacs content :)
Thanks! And I declare your comment the true "first". :D
DistroTube 🥰
I love how DT puts the references in the video description. It shows professionalism! Good job as always DT 👍
since you're not an absolute git poweruser, fugitive for vim is probably enough for you aswell. Personally it does absolutely everything I would need even though from what I heard it's not quite as insane as magit.
You should give it a look at some point
The killer feature of Emacs, is Emacs. 😉
I know a network administrator who uses NixOs. Spacemacs is his go to fancy editor. I don't pretend to know how it works or why he likes it. Emacs does appeal to my interest.
Well, look into TRAMP, and you know why he like Emacs.
"which I'm sure are fantastic" nice xD
org-mode and magit are two massive features ... fugitive doesn't get nowhere close ...and I have been using fugitive for years and have huge respect for tpope , but emacs beinga graphical app give you a lot more to work with
The killer feature of Emacs is Tetris!
I love the vimfugitive plugin. It's very smooth, like for example being able to "visually select" which hunks you want to add.
It's based on magit, I think.
Yea, you can do the same in Magit. In the video where I type "s" to stage something. If I "TAB" to look at the diff, I can visually select a region to stage ( by pressing "s" after I select the region).
Yeah vimfugitive is pretty much the same as magit as far as I can see in this video. So not really a feature to switch from vim.
@@DistroTube Yeah they are pretty awesome.
nnoremap gs :Gstatus G
will save me 20 seconds each week lol
@@EugeneMoscow for me the combination of evil mode, magit, org mode, and projectile was what got me to switch. I use spacemacs and wish I had switched years ago.
EugeneMoscow Agreed - I switched to vim fugitive and never looked back.
As a profissional dev i have to say: Magit is the best git client of the world. I use it all day long with stashs, pulls, fix conflicts, cherry picks, etc.
your videos about Emacs are the best! Thaks!
They are one of top three that I know of.
Really good quality and length, but should probably be posted a bit more to be top.
But then it would be a Emacs channel and I don't think I want it to be that.
DT! Type M-x tetris
...you're welcome.
Or M-12 M-x tetris
Or M-x doctor
Emacs can even make Coffe, which is an implementation of an RFC that I don't remenber the number of. :-)
I'm even more sold to emacs now. I only knew about the doctor.
finally 2020 emacs course. I WANT TO CONSOOM MOOOOOOOOOOORE
I use magit every day. Developers love Emacs and magit !
I see where the inspiration for fugitive-vim came from
DT, just completed your Noob to Expert using Linux Mint 19.3. It took me 2 days starting and stopping, but that monokai look is great! Great teacher!
Much appreciated, sir!
For me it's definitely org-mode. I have a lot of lists and notes, and it's impossible for them to not be messy without it. It's just too much information. It's pretty amazing for learning languages as well. Anything that can be categorized can be done better in org-mode, so it's great for learning in general. Also great for configs. Really, org-mode should be a default feature in all text editors. It's good enough that I don't see how someone could not find it useful.
I agree. Org mode is badass.
I like that you changed your mind about emacs and are now posting more content about it.
Im waiting for the mu4e tutorial. 👍
the best part of show is when he thanks the doners
2:23 evil keybinds (j & k)
You read my mind. I was just today looking for info about magit. Now i need a tutorial for mu4e :). Good content. Thank you.
mu4e (and other plugins) are planned for video soon.
Zamanski has some great videos on different aspects of mu4e, you might like.
I used to use Gnus, which is a cool Emacs application to read different info like Net news, mail, manuals, etc and put them into same source and ui. Can source from different formats and sources and store in many formats.
Really nice, but need to be all abo
Definitely need a Mu4e video!
I think I'm a little frustrated as I hoped this would be pitch for magit to more advanced developers. Things that would have been nice to talk about (i'm going to be investigating these on my own now):
* diffing from `master...` aka view all the changes between your branch and where you branched off from master
* can this create PRs? / does it have `gh` CLI integration?
* how good is this at merge conflicts?
also, what are the unknown unknown killer features that are things that are really hard to do with `git` CLI?
Once you go Emacs you can't go anywhere else.
or just do vim with fugitive
I find you can close the commit by just saving and quitting the file. So you can do ZZ or :wq and they will work the same as C-c C-c just a bit faster ;)
Thank you for this magit presentation! I found also nice that you have descriptions and the shortcuts of keys after M-x (for example in 1:43). How can I activate that?
For me, the killer feature in GNU Emacs’s version control management is vc-mode as it integrates all of the version control systems I use (Fossil, Darcs, SCCS) into Emacs. Magit makes no sense if you don’t use Git.
What proportion of programmers are not using git, in your opinion? I am genuinely curious
@@MMABeijing Most, I guess.
This channel is overflowing with interesting tools! I became a huge fan of emacs (and evil mode) and xmonad thanks to it!
Hmmm if I had started with Emacs maybe I would be a Emacs person. However, I started with vi since it comes with every Unix and Unix like OS out there. To each their own I guess.
I think they both have their own place. I am predominantly a Doom Emacs user, but I still use vi for many CLI quick editing because it's fast and simple, whereas Emacs CLI is a fallback at best.
I love git in the fish shell and I love emacs. I don't need to merge the two for now..
There is neogit as plugin for Nvim out there: It does exactly what Magit does.
after distro hoping wm hoping now im going software hoping. pls make it stop XD
your mic volume is pretty low, please increase it
I noticed this as well. PulseAudio decided to lower my mic input by itself for no apparent reason. And people say that my PulseAudio hate is unwarranted!
Looks good but I think the new CLI tool Lazygit actually has this beat.
Sorry but how do you get emacs run in different tabs? I can’t really figure that out for a long time.
What do you mean by that?
Use C-x 2 or C-x 3 to splitt window vertical and horizontal in Emacs. C-x 0 close a window and C-x 1 close all other windows. Change window with C-x o
Prefix each of them with a C-x 5 instead of just C-x, and it works with frames instread.
I great to hear about emacs with a F.M like voice! thank you a lot for your videos! Regards!
Glad you enjoy it!
magit truly is a fantastic tool
so is fugitive.vim too
The maggot git client? That scarred me. :0
I pronounce it similar to how you pronounce magic.
Org-Mode?
Killer feature? Tetris of course.
Love it, but the real killer feature is isearch responding as you type. It's such a small thing but / and ? don't compare.
Try swipper
You mean like "set incsearch" in vim?
Has nobody here ever used vim fugitive? It looks and acts basically the same, :G gets you a status page that looks the exact same, some binds are different like "=" for the inline diff and the log is a seperate window with :Glog, but I fail to see any difference here besides the bindings
To be fair, Idea IDEs (and I’m sure VSCode) have similar tooling. The problem with these IDEs is the Windows GUI legacy. 30 years of hindsight show how superior Stallman’s design patterns were compared to Steve Job’s. Software would be so much better had it remained an engineering discipline.
tig is fairly interesting.github.com/jonas/tig
But Vim does a shit job with interacting with some terminal programs, because
you have to wrap shit in Vimscript to get it to work smoothly.
Kakoune makes using tig fairly easy.
I still find magit to be better, and fugitive to be...only fine.
I wonder how many came here from your latest video (06-11-2021) to try out magit again. I remember trying it but failed because magit wasn't enabled. Well, I enabled it and now it works great! This may be the best way to push stuff to gitlab now!
btw, there is vimagit ... it doesn't cover everything that magit does, it can't push to the git repository, but you can commit, amend, and so on, in vim as well :P wish someone continued the vimagit project, seems abandoned
You're really helping me level up my workflow. I'm a software engineer and I've lived in vscode, but once I saw vim being used I had to hop on the train. And we all know vim is just a gateway drug to emacs ;)
I really appreciate the work you've put into these videos.
Have you tried lazygit github.com/jesseduffield/lazygit? It is what I use together with neovim, and its functionality seems to be very similar to magit in Emacs.
FOR VIM users we got a plugin that do what Magit does it is call 'fugitive' so if you love your VIM/NEOVIM then just install fugitive and you get all the git goodness
is there a way to view, edit, and run jupyter notebooks in emacs? if so, I'm switching
For me the killer feature was Org mode and especially, Org Roam. Its a fantastic notes management system.
Super helpful, I'm a dummy and wasn't getting how to use Magit thanks for the video
Thank you, Derek.
On 7:55, what kind of configuration are you using to push without having to enter a passphrase?
I recommend taking a look at all the videos listed in emacs rocks. Magit is just scratching the surface of emacs.
can you please make the font about 20 times larger in videos?
Fugitive is the same thing why would this be the reason to switch from vim to emacs
DT is the man!!!
Coc.nvim noob here how can we get python code completion in doom emacs ??
is that I3 DE? looks clean
xmonad
How do you get the keybindings visible in the M-x menu?
i'm sorry, but vim is the way, it's just easy and non intimidating.
hey, what theme are you using for arch? That is pretty sick
Someone ported Magit to VSCode as well, that's sweet!
Well, he at least knows the name of all major text editors...
The killerfeature in emacs is org-mode. org-mode is the only thing i miss in vim/vscode
i started with spacemacs years ago and builded a plain emacs config i used it a lot but a few month ago i switched back to neovim with a pretty simple config. I only miss my org-mode
I have not tried it myself but vimagit states states "100% inspired from magnificent emacs Magit plugin" on their GitHub page.
Inspired by....but not even close to magit in functionality. Unless it's changed recently, you can't even push from vimagit.
just use tig
There's jreybert/vimagit (on GitHub) for Vim as well.
Vimagit is horrible. It can't do 2% of what magit can do. Vimagit couldn't even push the last time I tried it.
True, true
Good video! I love emacs.
What do you use for making/editing your videos?
He talks about this in this video: All That Software On My PC. What Do I Actually Use?
I can't put the link cause youtube will delete my comment
I don't quite understand why people absolutely have to use git through their editor directly. I just use lazygit from the terminal, and you can probably call that through emacs or vim too
As a developer, I think the nicest thing about git in your editor is that you can stage, edit, or reset hunks very easily. You can also look over a diff of your changes and if you need to change something, you can hit a key and be taken straight to that line in your editor. My workflow before committing used to be to run `git diff` in the terminal, see something that needed a change, navigate there in my editor, change, run `git diff` again (and probably have to find where I was in less in anything but a small commit). It's a much slower and tedious workflow.
@@Archwyrm Yeah, cannot believe I didn't see the benefit 3 months ago, because nowadays I'm making extensive use of vim-fugitive lol
My git client is hg + hg-git.
I just use "tig"
FiRsT
you’re a jackass! You have nothing to add.
BOT "first" doesn't count.
DistroTube it’s not “first”, it’s FiRsT
i started looking at it again after your last video. It's been fun
When I tride Magit it took me 20mins to get the basic commands.
And then I got faster at it. it is very nice and i know i only have basics. Stage, commit and push for now
I want to learn tramp, and code completion and finnaly
start to customise the config
Tramp is easy.
Everywhere where you can open a file, open the file as usually, but then enter file in a special format.
/protocol:[user@]machine:file
Protocol can be for instance: ssh, sftp, ftp, sudo, su.
You can use TAB in any position.
Examples:
/sudo:root@localhost:/etc/hosts
/ssh:user@machine.com:file.txt
/ssh:user@machine.com:archive.tgz
Etc...
I still like nano. Don't @ me.
@
ed!
vim-fugitive is fine enough.
you should try vscode with GitLens extention
I honestly can't see the appeal. In vscode I can do the same!
I use Jetbrains tools for coding, but when it comes to make some sensible commits, I always switch back to emacs to do so.
Also, org-mode is the killer app for me.
Magit is awesome. BUT we now have vimagit for vim so at this point the choice is yours
Last time I tried vimagit, it couldn't even do a push.
in vim we got fugitive it just works!!!
It can’t push yet but it’s in the “upcoming features” section on the markdown last I checked. A mix of vimagit and fugitive is really nice for now 🙂
@@american763 One year later, we still can't push with vimagit. "Upcoming feature" you said?
@@PlunneCeleste check out neogit now. I think vimagit has gone stale
Fugitive > magit
magit is miles ahead what are you talking about
Yea pmuch every editor has git clients, not a good enough reason to switch. Maybe spend 2minutes looking at other editors before making videos stating that this is a reason to switch.
he knows there are git (like fugitive for vim) clients,but none are as good as magit was his point