Andrew Giraffe
Andrew Giraffe
  • Видео 3
  • Просмотров 104 867
The Only Debate That Matters: Vim VS Emacs
WardCo's hilarious video: ruclips.net/video/V3QF1uAvbkU/видео.html
As someone who frequently uses BOTH Neovim and Doom Emacs, perhaps I can give an interesting perspective in the Editor Wars. This video serves as a very cursory overview of what I consider to be the most obvious differences.
Github: agryphus
Monero: 84Pc2W3ZYBAgVpyBm8vdnU1Rv5xyZPGhS2u4kjszMdpWAnfmSXjAEHHLxK3um8dq58C7kFosvaagzQdxd8bCgmbLMNfkoxh
Просмотров: 24 625

Видео

I Do Not Have Time For Linux! (NixOS Dependency Management)
Просмотров 10 тыс.6 месяцев назад
I don't have time for Linux, and neither do you! In this video, I explain why NixOS is particularly clever with how it solves dependency management. Github: github.com/agryphus Monero: 84Pc2W3ZYBAgVpyBm8vdnU1Rv5xyZPGhS2u4kjszMdpWAnfmSXjAEHHLxK3um8dq58C7kFosvaagzQdxd8bCgmbLMNfkoxh
Yazi, the terminal file manager you didn't know you needed (why I switched from LF)
Просмотров 70 тыс.6 месяцев назад
Check out Yazi for yourself: yazi-rs.github.io Linux to me is not just a hobby, but something that I actively use every day. Thus, I want the programs I use to be functional, extensible, and stylish. I believe Yazi accomplishes all these goals. My github: github.com/agryphus Monero donations: 84Pc2W3ZYBAgVpyBm8vdnU1Rv5xyZPGhS2u4kjszMdpWAnfmSXjAEHHLxK3um8dq58C7kFosvaagzQdxd8bCgmbLMNfkoxh

Комментарии

  • @levonschaftin3676
    @levonschaftin3676 3 дня назад

    what is that neovim startup screen with the hydra on it? looks cool

  • @venomweed
    @venomweed 8 дней назад

    andrew "too novice to know how to configure anything" also andrew "I did try vanilla emacs... I did trying configuring it.... but i was too much of a noob so I took the easy route"

  • @OtesOtesOtes
    @OtesOtesOtes 12 дней назад

    T U I W H Y

  • @lexi_luminary
    @lexi_luminary 12 дней назад

    So i have a few questions sorry if they are simple but How do i open different drives with this like a flash drive or a separate partition or network drive? I can locate them but when i try to open them it does nothing. Also how do i find my .toml file for yazi? I've spent hours trying to figure out why i just don't have one.

  • @Argletrough
    @Argletrough 19 дней назад

    With the forced indentation in Org mode: that's org-indent-mode, presumably on by default in Doom.

  • @OceanusHelios
    @OceanusHelios 22 дня назад

    China? Hard nope.

  • @lucaspayne2546
    @lucaspayne2546 24 дня назад

    I deactivate vim swap files and don't have any problems. But I don't tend to edit the same files in multiple different vim instances anyway. In my workflow I use a terminal multiplexer (optional, just for terminal tabs), and every shell actually runs vim as a server as the parent process. This "shell" starts vim with most UI hidden and with vim's terminal emulator running bash in a persistent vim tab. That is great because I can use my config's vim keybindings for scrollback selection, and stuff like ls, meta-escape to normal mode from shell, cursor to file, and vim keybinding to open. Vim runs as a "server" using vim --servername, I have a command called "v" which has many options like reading file lists from stdin or args, and whether to send them to open vim buffers or tabs or splits or quickfix list in the current vim session "server". So it is all integrated and nice and I only use one instance of vim. It has also reduced the number of vim-<terminal program> integrations like fzf and lf, as I can just use those in a vim terminal and bind e.g. lf's open to "v <file>" to open in a new tab.

  • @0netom
    @0netom 26 дней назад

    the lack of reading from stdin is indeed a bit odd. u can do `emacs -nw <(seq 100)` though, or similar process substitution magic in your shell, but that's not the same as the concatenative-style piping ...

  • @Alonso_Cid
    @Alonso_Cid Месяц назад

    Damn Luke, that travel to south america changed you

  • @darrishawks6033
    @darrishawks6033 Месяц назад

    I look forward to your Typst video

  • @amanabananas
    @amanabananas Месяц назад

    I had no ideea it was a Chinese word 😅 I just pronounced it like Yahtzee

  • @cybernit3
    @cybernit3 Месяц назад

    Thanks for comparing Emacs vs NVIM; I understand your points. EMACs can be optimized ELISP functions can be byte compiled, there is some GCCEmacs project that recompiles, suppose also improve EMACS performance. For me, I find emacs easier to use; I just can't stand modal editors and how it works, just upsets me; to each their own. I like EMACS more. 1 point is NeoVIM isn't just work in a terminal, I read there is some NeoVim GUI version called GVIM. The initial problem I had with EMACS was I found it hard at first and gave up; but thanks to youtube there is some nice EMAC newb tutorials and if you really follow it you can started fast, For starters the EMACs team should have really easy preference changes; like get rid of the glaring white screen when you first use EMACS, lol.

  • @phillipanselmo8540
    @phillipanselmo8540 Месяц назад

    nice to see a luke smith fork that uses wayland and rust programs

  • @sjthesahiljoseph
    @sjthesahiljoseph Месяц назад

    GNU EMACS, with custom theme, custom keybindings, custom everything.

  • @jonbikaku6133
    @jonbikaku6133 Месяц назад

    Emacs is too bloated for an IDE. Being an OS as an editor is the worst compliment in my opinion 😅

  • @puijela
    @puijela Месяц назад

    is this hyprland?

  • @howuseehim
    @howuseehim Месяц назад

    If we are being honest, emacs lost. Vim has more memes

  • @explqicot3293
    @explqicot3293 Месяц назад

    Learn eMacs know vi

  • @r2com641
    @r2com641 Месяц назад

    Neither does matter. Real pros use proper tools from JerBrains

  • @AndersJackson
    @AndersJackson Месяц назад

    I would not say Emacs is a GUI or TUI application. It is both, as you choose to use it. And as both at editors they can be compared. Emacs is not a modal editor like vim, but you have different collection of functionalities, that is called modes. Emacs doesn't need tmux, as it has the server, which can be connected from many places in the same computer. And you can even make systemd user start Emacs in server mode when you log in. You don't need to use Dired if you don't want to, but why? Who want to start the editor, when you have emacsclient? And you have large help in Emacs. Emacs do read the standard input, if you want to, and in Emacs you can pipe buffer through pipes.

  • @gamepad-coder
    @gamepad-coder 2 месяца назад

    Fantastic video. Both the commentary and the visual demo were great. Haven't used a TUI file manager yet, awesome app. Thanks for the overview! (Context for commentary + demo praise: I listened to the video once, audio only, while walking my dogs, and still found it very interesting. Then I replayed and watched the video while I ate breakfast. All to say: great style and progression for it to stand on its own as audio. Great job!)

  • @JoshuaBlais
    @JoshuaBlais 2 месяца назад

    Shaun White uses emacs?

  • @ClarkDarlton5000
    @ClarkDarlton5000 2 месяца назад

    That looks great with the two windows! One of them is your terminal. Which program is running for your checklist with the checkboxes? And which desktop do you use that the windows have such round corners? I like that a lot! Thanks for your video!

  • @DextersLab93
    @DextersLab93 2 месяца назад

    I can't believe Luke grew out his hair and became ginger (jk I love your channel lol)

  • @letsgobrandon-iq3bn
    @letsgobrandon-iq3bn 2 месяца назад

    I can’t believe I wasted 9.30 minutes for you to say that org mode isn’t that great; why else would anyone use eMacs?

    • @TheBusttheboss
      @TheBusttheboss Месяц назад

      GUI, Lisp interpreter so you can pretty do anything, many different keybindings to choose from, lots of great packages for typical programming tasks, built in calculator, nice ingratikn with CLI tools like grep, make, ispell, etc.

    • @letsgobrandon-iq3bn
      @letsgobrandon-iq3bn Месяц назад

      @ no, Seriously, why would anyone try to use eMacs if org mode wasn’t that great? Any GUI can be refined to one’s desired outcome; at least until their needs change in 90days. lLisp interpretation hasn’t been an upside for 30-40 years. The whole key binding issue is senseless and is the whole reason attraction towards eMacs didn’t grow before VI keybindings were incorporated, but it’s not good or thorough enough to out weigh the ridiculous dependence upon senseless key patterns. This whole mess is compounded with PC defaults. If I was still running a 386 and forced to run on a PC with GNU/Linux, I might consider the torture introduced by eMacs. All the other stuff you outlined can easily and more efficiently be handled natively in a shell pane in Tmux, screen or what have you.

  • @letsgobrandon-iq3bn
    @letsgobrandon-iq3bn 2 месяца назад

    I’m so glad eMacs has the ability to utilize VI bindings. If only it could have some focus and do something well.

  • @mattetis
    @mattetis 2 месяца назад

    3:50 actually, neovim can do that with some plugins and a supporting terminal

  • @vvieczorny
    @vvieczorny 2 месяца назад

    very nice luke smith fork, starred

  • @DarrylHebbes
    @DarrylHebbes 2 месяца назад

    you are just writing ascii, its the quality of the thinking not the means of input that matters

  • @nakternal
    @nakternal 2 месяца назад

    Fair, neutral comparison. Thank you

  • @nakternal
    @nakternal 2 месяца назад

    Why would you need anything other than monospace?

  • @upendownlinker
    @upendownlinker 2 месяца назад

    Ginger luke smith. Also using an emacs distribution instead of going from scratch invalidates your opinions though. Also delete this video because its blasphemy .

  • @fairestlotus
    @fairestlotus 2 месяца назад

    It's hard to imagine the potential emulation of Vi or Vim within Emacs as its irony. If anything worth noting, that is more of a reason to praise Emacs. It stands a testament to Emacs' sheer breadth of capabilties. I may have misunderstood the presentation of your point regarding Evil Mode's popularity and the implication that the default bindings got something wrong. From my understanding, however, you're misunderstanding. Evil mode is not a sledgehammer to the Emacs philosophy because it gives you vim keys to push less buttons. Destroying the non-modal state of Emacs doesn't mean Richard Stallman was full of shit. It makes Emacs better, actually. Evil mode is there for people who want the Vim style in Emacs itself. You can use this, the default bindings, or both at once. Kaboom. Now, you get Emacs with your favorite buttons. Neovim and Emacs + Evil are thusly neck and neck with each other, and at that point it comes down to preference. I will say though, that Emacs having GUI capabilities gives it a pretty dicey edge, especially when considering accessibility, desktop integration, and visual customization. At that point, now it is Neovim that requires the plugin goose chase. To land my point, I ask you to consider why someone would just... do it, installing Evil mode and using Emacs in that state. You said you use it to make documents look pretty, essentially. Others use it as a music player, or email client, which both arrive by default. Emacs doesn't just want you to live inside of it. it helps you, the same way neovim does. I also disagree with the constant floating of the point regarding the UNIX philosophy. Everything inside of Emacs is there when you need to perform a supplementary task while maintaining focus on a core project. This strongly implies its adherence, not divergence, to the Unix philosophy. Emacs is neither an operating system, nor a text editor. it's a meta lisp interpreter. That's pretty much it. As far as that goes, it is perfectly within the bounds of the UNIX philosophy. I'm not gaslighting you. Really look at Emacs and tell me if it's a text editor meant to be a text editor alone. It isn't. It's an interpreter that went into big mode sometime in the early 2000s. It just had a text editor in it.

  • @OG900Aero
    @OG900Aero 2 месяца назад

    Upps. You mistakes some things: 1. Lf also known runs commands in the background. My config run archive extreact or compress in the background, so I can use lf while zip, tar or other makes file. 2. Yazi have share clipboards to other instances (example copy, move). Lf also known too. You open another lf, and paste it from other lf select. 3. Lf have different colors for icons and file name too. Example file icons is red, and filename is blue.

  • @Melachesh
    @Melachesh 2 месяца назад

    ruclips.net/user/clipUgkxEPyzNrMNsbYsn1QqHs5J9kWhMuXRQiRy?si=WvaMTWMstEJtOcyx What it be?

  • @davidallred991
    @davidallred991 2 месяца назад

    Thanks for the video, I have installed it and it is working great, but I am unable to enter the preview mode for the pdfs. I am on Mac using wezTerm. Any ideas?

  • @sparsetable
    @sparsetable 2 месяца назад

    you look like an inspiring human being

  • @tobysource
    @tobysource 2 месяца назад

    this was a great breakdown, thanks!

  • @andmhn
    @andmhn 3 месяца назад

    great fork

  • @softwarewitch
    @softwarewitch 3 месяца назад

    a developer outside? u gotta be an ai

  • @calleha01
    @calleha01 3 месяца назад

    as a somewhat longtime emacs user, it sounds to me like you're using it for the wrong reasons, respectfully. not that there even are any "wrong" reasons to use emacs but you get what I mean. in my ears it just sounds wrong when youtubers say these kinds of things about emacs. they all use doom emacs because they came from vim and then say that emacs is "becoming like vim". emacs is not trying to be like vim; you're just using a fork that happens to be like that because it's what you wanted. to most emacs users, all the aspects of emacs that you brought up as features you don't really care for are the ones that are the strongest aspects of emacs. easily the strongest aspect of them all is elisp. the fact that you can just have your editor also be the program that interprets your code on the fly is huge. secondly, org-mode is so much more than markdown. it is as much of a work scheduler as it is a tool for producing work. and finally, the standard emacs keybindings generally work better than vi when you are typing more than you are moving around the document. the whole premise of the 'vi keybindings being superior' argument hangs on the supposed fact that we spend more time moving around text than writing it. well, I certainly don't. I write what I want to write and I close the file, because I write more text than code, as do most people. I feel like emacs is more of a general purpose text editor (plus more) whereas vim is more of a minimal code editor, although both programs can accomplish both of those things to varying degrees of success. emacs can be your terminal editor of choice when you're put inside the tty if you want it to, and vim can be your full editing environment if you want it to.

  • @edumorphology
    @edumorphology 3 месяца назад

    So how do I just launch a file into a text editor? What about other apps? I’ve reviewed all the keyboard shortcuts

    • @AndrewGiraffe
      @AndrewGiraffe 3 месяца назад

      my dots are at github.com/agryphus/nixrice. I basically have it so when I press "L" on a file, it launches a script called "opener" which then handles what to do per file mime type. There is a way to do that all within the yazi config itself, but personally, I find it cleaner to abstract that into its own script.

  • @MathewGuest
    @MathewGuest 3 месяца назад

    excellent review. Have been using ranger for quite awhile now, may have to try this one out. One of my favorite things to do with current ranger setup is to go into the file manager, browse some directories, and then exit-- and you're at a shell, *NOT at the original starting place but rather the location that you navigated to. Probably a gross little script really, but honestly everything works and it's still instant. That'll be the first feature I'd be looking to figure out in the new file manaager. # INSIDE .bashrc or similar for other shell-invoked scripts: # ranger-cd wrapper drops user in the last-browsed directory # instead of CWD when invoked. Use "cd -" to return to original directory # if desired. function ranger-cd { tempfile='/tmp/chosendir' /usr/bin/ranger --choosedir="$tempfile" "${@:-$(pwd)}" test -f "$tempfile" && if [ "$(cat -- "$tempfile")" != "$(echo -n `pwd`)" ]; then cd -- "$(cat "$tempfile")" fi rm -f -- "$tempfile" } alias ranger="ranger-cd" # add wrapper to normal 'ranger' alias rgr="ranger-cd" # just a shorthand OOOOH. Maybe found it right away, first section in the documentation: yazi-rs.github.io/docs/quick-start/ function y() { local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" yazi "$@" --cwd-file="$tmp" if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then builtin cd -- "$cwd" fi rm -f -- "$tmp" } Funny, it's like almost identical script huh!

  • @whiteguardist
    @whiteguardist 3 месяца назад

    ginger luke smith

  • @samucancld
    @samucancld 3 месяца назад

    Nice Luke fork, subbed

  • @thefunbuns1
    @thefunbuns1 3 месяца назад

    What are you using for your FHS wrapper when you run fhs-run? Is this nix-alien or something else? I've been having problems with nix-ld and looking for alternatives to test

    • @AndrewGiraffe
      @AndrewGiraffe 3 месяца назад

      It's a personal nix env script of mine. Basically the same as steam-run, but without the steam stuff. You can find it here: github.com/agryphus/nixrice/blob/master/nixos/.config/nixos/core.nix

  • @alurma
    @alurma 3 месяца назад

    Subbed.

  • @googigoog
    @googigoog 3 месяца назад

    Pretty impressive presentation.

  • @dislikebutton1718
    @dislikebutton1718 3 месяца назад

    Nixos is woke and they’ll call you a nazi if you don’t bend the knee. Bunch of woke Nazis. Wokzis.

    • @KoopstaKlicca
      @KoopstaKlicca 2 месяца назад

      tbf you're probably a nazi if I let you talk long enough

  • @PragMero
    @PragMero 3 месяца назад

    kitty cat