Helix - Getting Dangerous

Sdílet
Vložit
  • čas přidán 25. 10. 2022
  • helix-editor.com
    Twitch: / lukepighetti
    Discord: / discord
    Twitter: / luke_pighetti
    GitHub: github.com/lukepighetti

Komentáře • 64

  • @ZeroRegretz
    @ZeroRegretz Před rokem +18

    With lazygit you can do `sh lazygit` from helix and then just hit q when you're do to return to helix

    • @LukePighetti
      @LukePighetti  Před rokem +2

      TIL!

    • @maximus1172
      @maximus1172 Před rokem +3

      I tried doing that but it glitches out when I do 'q' to go back. I am using windows terminal running wsl Ubuntu.

    • @BlademanZX
      @BlademanZX Před rokem

      @@maximus1172 I'm on Mac and it gives me a weird thing where I see Laygit but I'm still navigating the regular buffer

  • @darshakparikh5908
    @darshakparikh5908 Před rokem +2

    Super informative video! I've been using Helix for a few months now, and there were still a few things I learnt here. Thank you very much!

  • @fionawashere1086
    @fionawashere1086 Před rokem +8

    In the fuzzy finder, you can also use tab and S-tab instead of C-n & C-p. Comes easier when dealing with short lists where you just go downwards, e.g. space b.

  • @codingjake
    @codingjake Před rokem +4

    This is dope. Concise and to the point

  • @starlord0208
    @starlord0208 Před rokem +5

    Your videos about Helix are the best. Thanks for telling us about this awesome editor. Keep up the good work!

  • @adrianstaniec
    @adrianstaniec Před rokem +4

    Great, video!
    I am waiting for part2 :)

  • @brodacious1313
    @brodacious1313 Před rokem

    Hey Luke, saw your commandline and for a moment thought it said my name. Loved the video, Vim geek here who will now be trying Helix.

  • @yash1152
    @yash1152 Před rokem +1

    thanks a lot for these direct videos, no PR bullshit - right from installation -- all the way to full IDE depth - no "figure yourself from here on". i needed this.

  • @SandwichMitGurke
    @SandwichMitGurke Před rokem +6

    Thanks for the video.
    Btw with backslash you mean forward slash :P
    I really appreciate these edge case / advances key combinations.
    There are definitely some things that keep me from changing from VSCode+vim to helix.
    Like: is it going to work with larger C / C++ projects? Will the LSP find all includes, CMake files and show me function suggestions?
    And some things do feel slower compared to vim, like deleting a word is miwd in helix and diw in vim (less keystrokes)

    • @LukePighetti
      @LukePighetti  Před rokem

      Yes, forward slash!
      I opened up sqlite.c and clangd handled it beautifully. Never tried C++
      Helix bindings are a little slower

    • @darshakparikh5908
      @darshakparikh5908 Před rokem +1

      I remember reading somewhere that Helix developers have admitted that certain actions take more keystrokes, and this is because they want to optimise for clarity (with their selection → action model) rather than fewer keystrokes.

  • @joebuydem
    @joebuydem Před rokem

    woooow really good teaching this. i might just try this out.

  • @chopfitzroy
    @chopfitzroy Před rokem +2

    Would love to see a video about setting up `lldb-vscode` if possible.

  • @MendeltSiebenga
    @MendeltSiebenga Před 5 měsíci

    Looks like in newer Helix versions the finder with what you call analyzer warnings (LSP diagnostics in the Helix docs) is remapped to [space] d and [space] D. [space] g is now mapped to the experimental debugger.

  • @VovaY
    @VovaY Před rokem +2

    That looks promising after vim/nvim configuring hell

  • @yash1152
    @yash1152 Před rokem

    9:03 lazy git - woah, what's that inside a terminal. super awesome.

  • @djecak1789
    @djecak1789 Před rokem +1

    cool stuff! are you going to use this editor in future?

  • @VenkatramaniRajgopal
    @VenkatramaniRajgopal Před rokem

    How do u have so many themes available? I just get the default theme when I do :theme

  • @VenkatramaniRajgopal
    @VenkatramaniRajgopal Před rokem

    Great content. How do I set up the lsp for python ?

  • @domogami
    @domogami Před rokem +8

    I’m so glad I found this video! Exactly what I was looking for. I use Neovim every day and wanted to know whether it was worth making the switch

    • @muhammadraza7231
      @muhammadraza7231 Před rokem +3

      Definitely not it’s a copy of neovim

    • @1495978707
      @1495978707 Před rokem +3

      @@muhammadraza7231 in rust and with some different design philosophy

    • @myfavouritecolorisgreen
      @myfavouritecolorisgreen Před 9 měsíci

      ​​@@muhammadraza7231how is this a copy lol. the grammar to move along the file and make changes is significantly different and comes from a text editor called kakoune. also you don't need to configure helix to the extent that you have to neovim. setting up helix hardly requires 20 lines of config. neovim requires quiite a bit of tinkering and understanding to even get to a working lsp. i love both but they're just not the same. if they were the same all vim people would be using helix.

  • @ariseyhun2085
    @ariseyhun2085 Před rokem

    Is the Ctrl Z and fd a helix thing? I never seen that before, and I cannot find it on the helix docs. (Sadly it doesn't work with nushell though)

    • @newtonchutney
      @newtonchutney Před rokem

      It's a shell thing.. I've used it in Linux a bit.. Ctrl-z "stops" the execution of the current program.. And fg brings it back into foreground

  • @MetalManiacBoy
    @MetalManiacBoy Před rokem

    How different is Helix from your standard LunarVim installation? I understand that a barebone (n)vim config is quite daunting for the newer user, but is that their largest difference?

    • @LukePighetti
      @LukePighetti  Před rokem +3

      Helix is quite a bit slimmer than LunarVim, and has zero dependencies. LunarVim is good. Helix is good. They are all good. Try them out and pick the one you like.

    • @abhishek.rathore
      @abhishek.rathore Před rokem

      The startup time of LunarVim is way more than Helix or just NeoVim. It is the maie reason I am not using LunarVim. NvChad on the other hand is much faster and a pretty good config.

  • @foggylight187
    @foggylight187 Před rokem +3

    What's your advice for someone who wants to get into modal editors like vim and helix, but finds it too intimidating?

    • @weirdo911aw
      @weirdo911aw Před rokem +2

      if you have to ask this question, then you're probably not THAT interested. Just dive in if you really want to try it out

    • @jamieg2427
      @jamieg2427 Před rokem

      @@weirdo911aw i disagree. these editors can seem like a lot to people and they have a certain learning curve reputation. see my following comment.

    • @damian_madmansnest
      @damian_madmansnest Před rokem +1

      hx --tutor as suggested at 0:23
      or vimtutor
      or 1) learn touch typing and 2) read a good book e.g. Practical Vim

    • @stepansmirnov5876
      @stepansmirnov5876 Před rokem +1

      You have to start slowly. First find some good setup. I recommend the latest Primeagen settings video. Than start by using the most simple commands. DON'T overcomplicate. At first you might need selection/insertion mode switch, copy, paste, delete, hjkl. To speed up your navigation just increase your key repeat speed or learn w, W, b, B, e. As you get used to it start using a few more other commands. You will be really slow so feel free to switch to your previous editor when needed.

  • @tomnag3750
    @tomnag3750 Před rokem

    I really like the idea of helix but im having alot of issues with helix on manjaro. It is very slow and unresponsive even just pressing escape in insert mode to get into normL mode can take over a second at times

  • @yash1152
    @yash1152 Před rokem

    3:13 > _"use this escape binding"_
    what does those bindings do? and why is it put as a warning??

    • @LukePighetti
      @LukePighetti  Před rokem

      there are three ways to 'escape' in helix, this makes it one way. it's a great keybinding for beginners

  • @mephistotel87
    @mephistotel87 Před rokem

    Do you use helix as a daily driver?

  • @jozsefk9
    @jozsefk9 Před měsícem

    `be` is faster than `miw`

  • @manee427
    @manee427 Před 5 měsíci

    where is the file explorer like nerdtree or nv tree ?

  • @fms6306
    @fms6306 Před rokem

    Cost benefit analysis.... new keybindings for what benefit?

  • @yash1152
    @yash1152 Před rokem

    7:11 > _"space > shift+g"_ (on screen:) _"G: open workspace diagnostic picker"_
    the G ain't working for me, and ain't shown either after space on helix 22.05
    -i wish you moved your head a bit to the side-

  • @luccahuguet
    @luccahuguet Před rokem

    very cool! ctrl z does nothing to me (also did not find it in the docs)

    • @LukePighetti
      @LukePighetti  Před rokem +2

      C-z / fg is a terminal feature. Here's an article www.thegeekdiary.com/understanding-the-job-control-commands-in-linux-bg-fg-and-ctrlz/

    • @luccahuguet
      @luccahuguet Před rokem

      Ohh thanks

    • @luccahuguet
      @luccahuguet Před rokem

      @@LukePighetti I'll have to learn the nushell or zellij equivalent!

  • @SMOKE3104
    @SMOKE3104 Před rokem

    First time paying attention to dart, at first I was about to say "How did they get JavaScript into java?"

  • @seethruhead7119
    @seethruhead7119 Před rokem +3

    space d/D for diagnotic on master

  • @NikolajLepka
    @NikolajLepka Před rokem +1

    / is forward slash...

  • @theLowestPointInMyLife

    Arrow Keys: I am a joke to you?

  • @CarlosVixil
    @CarlosVixil Před rokem

    Literally just press space and ?
    For anyone wondering why there isn't a fuzzy finder he typed `hx .` There's a period for the current directory, pretty easy to miss...
    Your config will be empty.
    For `:theme` he doesn't press enter, he tabs after typing the command to pull up the list of themes.

  • @vanvothe4817
    @vanvothe4817 Před rokem

    Helix is good, make by rust but I still use vim/neovim

  • @jamieg2427
    @jamieg2427 Před rokem +1

    consider googling mawww's vim golf using kakoune. there's a lot you can learn and it's close enough to helix for loads of nice practice leveraging multiple selection

    • @LukePighetti
      @LukePighetti  Před rokem +1

      Thank you

    • @jamieg2427
      @jamieg2427 Před rokem +1

      also: for those who don't know, mawww's the maker of kak.
      while some say vim golf is impractical, it's really just giving you an opportunity to do a bunch of intentional, specific practice.
      after i finish one problem, i repeat it a few times, especially the parts of the solution that i'd like to make muscle memory. then i often modify the problem to make it more general or applicable to what i work on. for example, if the problem looks like this
      a
      b
      c
      then would my solution work, without any changes, if the problem had +1000 lines instead of three? i tend prefer solutions that are independent of those kinds of particularities without sacrificing too much speed. when i'm coding, i don't want to be counting movements, but instead thinking about the structure.

  • @yapayzeka
    @yapayzeka Před rokem +1

    this is torture who comes from vscode 🥲