0 to LSP : Helix RC From Scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 115

  • @chopfitzroy
    @chopfitzroy ปีที่แล้ว +121

    This is my new favorite video but mostly because it's 3 mins to the primes 30 and that says everything I need to know about Helix.

    • @LukePighetti
      @LukePighetti  ปีที่แล้ว +27

      @@summerWTFE All editors are welcome here.

    • @chopfitzroy
      @chopfitzroy ปีที่แล้ว +17

      Heya as Luke said all editors welcome here.
      To be clear I wasn't trying to say Nvim was bad or that Helix is better I used to use Nvim heavily but on of my major pain points was maintaining my config.
      Helix just happens to ship a very similar set of defaults to how I had Nvim configured and as such its a really good fit for me.
      There's no such thing as the perfect editors just editors that meet peoples needs more appropriately than others.
      The fact that I can be up and running with Helix so fast and never have to think about plug-ins or complex configs is a big win for me.

    • @thepaulcraft957
      @thepaulcraft957 ปีที่แล้ว +8

      @@chopfitzroy of course you can use what ever you want(besides vs code ._.) but tbh I think maintaining the config of neovim is one of the parts of it that make it as great as it is

    • @DanelonNicolas
      @DanelonNicolas ปีที่แล้ว

      @@LukePighetti best answer ever. [drop the mic]

    • @maninalift
      @maninalift ปีที่แล้ว

      ​@@thepaulcraft957 "any editor you like besides vs code"... hmmm... [opens atom]

  • @hjmhfm
    @hjmhfm ปีที่แล้ว +44

    I love it so much that you don't have to write an entire project to start building a project

    • @vikingthedude
      @vikingthedude ปีที่แล้ว +1

      But i like doing that…

    • @MrQuantumCodes
      @MrQuantumCodes 11 หลายเดือนก่อน +1

      @@vikingthedude Yeah me too it actually becomes an addiction once you get a hang of it.....

  • @yash1152
    @yash1152 ปีที่แล้ว +6

    description about the 3 escaping actions in helix
    2:11 > _"to close [pick dialogs], ... to deselct, ... to close multicursors"_
    2:33 > _"esc to do all those"_
    ahw, ohkay. nice. thanks a lot for explaining these.

    • @yash1152
      @yash1152 ปีที่แล้ว +2

      you mentioned this before too in comment reply, but just briefly. i didnt understand it back then, but didnt re-ask lest it would be too nagging.
      got it now, and makes perfect sense.

  • @gulogulovorax
    @gulogulovorax ปีที่แล้ว +18

    Thanks for this. I am just getting started with helix and I will be off to the races modifying my config!

  • @leandroperalta
    @leandroperalta ปีที่แล้ว +9

    Go Helix Editor!

  • @ChrisHaupt
    @ChrisHaupt ปีที่แล้ว +8

    Escape binding is amazing, definitely going to be using that!

  • @felipedonadon7039
    @felipedonadon7039 6 หลายเดือนก่อน +1

    Subbed bro! I've just started using helix and your videos are exactly what I needed! I hope your channel keeps growing steady!

  • @jt099
    @jt099 ปีที่แล้ว +3

    So dope, been using this for the last week. love it.

  • @guisande
    @guisande ปีที่แล้ว +9

    Hahahaha, that was genius. Nice video!

  • @YoungminKwon-m9y
    @YoungminKwon-m9y ปีที่แล้ว +9

    Splendid video about helix! I was wonderbig whether you can show your entire workflow with dart(or flutter) like hot-reload, hot-restart, debugging. And I guess some flutter devs can follow along like you do!

  • @sykotes
    @sykotes ปีที่แล้ว +4

    for some reason i found this a little easier than making my entire nvim setup idk why

  • @hermessantos181
    @hermessantos181 ปีที่แล้ว +16

    Man, the only reason I didn't use vim only on terminal was because it has billions of configs, helix is going to be a game changing for me.

    • @johnwick2018
      @johnwick2018 ปีที่แล้ว +2

      I installed nvchad 1 month ago and I'm having nightmares even thinking about touching the config files and folders and you even need to study a little bit of lua for some setup.

    • @qwoolrat
      @qwoolrat ปีที่แล้ว +1

      @@johnwick2018 installing chad nvim first is like jumping into an orm without sql knowledge

    • @nalitnyk
      @nalitnyk ปีที่แล้ว

      @@qwoolrat i mean if you wanna simple development, chadvim is the way, but not knowing sql... I hate those people

    • @qwoolrat
      @qwoolrat ปีที่แล้ว

      @@nalitnyk брат главная фишка вима в том что он по дефолту простой и ты его постепенно строишь и учишь, чаднвим это как если бы я тебе дал ботинок который очень комфортный под мою ногу но у меня 50 размер, плоскостопие и перелом

  • @AlexGhoro
    @AlexGhoro ปีที่แล้ว +4

    That was blaaaaaaaaaaaaaazingly fast!!!

  • @mndtr0
    @mndtr0 ปีที่แล้ว +16

    Damn! I'm feel that helix can do what nvim do to vim few years ago, we just need to wait(like we was wait to nvim become more good to replace classic vim)... hope they will create a cool plugins system with simple and fast language as Lua, modern GUI client to do pretty stuff like Emacs to solve chicken and egg issue : ). It's some sad that I'm only recently finished my Lua nvim config and I'm don't wanna lost it. Amazing video, you sold me helix haha

    • @altairbueno5637
      @altairbueno5637 ปีที่แล้ว +3

      Imho they shoud use JS or Python for plugins just because ppl are already used to that

    • @mndtr0
      @mndtr0 ปีที่แล้ว

      @@altairbueno5637 I'm think LuaJIT or Julia is better but what they Will use?

    • @altairbueno5637
      @altairbueno5637 ปีที่แล้ว +1

      @@mndtr0 julia isnt well know and thus it only generates more friction

    • @mndtr0
      @mndtr0 ปีที่แล้ว

      @@altairbueno5637 yeah but it's faster than Python, LuaJIT, JS etc. Btw I'm found that helix devs will implement their own Lisp dialect for plugins

    • @altairbueno5637
      @altairbueno5637 ปีที่แล้ว

      @@mndtr0 you have the source?

  • @danielbergfrederiksen3731
    @danielbergfrederiksen3731 ปีที่แล้ว +2

    I can't make the c-sharp LSP work on my M1 mac.. It works on my nvim setup with omnisharp-vim, but i'd really like to try out Helix (sadface)

  • @kenneth_mata
    @kenneth_mata ปีที่แล้ว +2

    I also like to keep it default, but can't help having Space e to write file

  • @asdqwe4427
    @asdqwe4427 ปีที่แล้ว +5

    I’ve been using Vim key bindings for a while now. But every time I use neovim I feel like the amount of plugins to configure is of putting. I also tried lunar vim, but that’s surprisingly slow, to put it lightly.
    Perhaps helix is worth a shot?

    • @LukePighetti
      @LukePighetti  ปีที่แล้ว +4

      Always worth trying new things, and the risk profile of trying Helix is zero

  • @user-vn9ld2ce1s
    @user-vn9ld2ce1s ปีที่แล้ว

    Damn, this looks actually good

  • @夕阳-n1h
    @夕阳-n1h ปีที่แล้ว +8

    your videos are very creative! Hope to see a colab with primeagen one day lol. nvim vs hx

  • @rubempacelli6815
    @rubempacelli6815 7 หลายเดือนก่อน

    Silence! Let him cook.

  • @yash1152
    @yash1152 ปีที่แล้ว +2

    1:42 > _"bufferline"_
    hey Luke! the dev team for helix said that the buffer/bufferline is not same as tabs/tabbar! but to me, it seems similar if not same. so, i couldnt understand it.
    can you throw some light on that?

    • @covoeus
      @covoeus ปีที่แล้ว +2

      Tabs in Vim work more like Blender tabs, workspaces or virtual desktops. They encapsulate the whole window layout rather than single buffers.
      For example in Vim you can have a tab with two splits and another tab with three different splits. When you switch tabs the splits also change.
      The bufferline in Helix works in the traditional way and simply shows all buffers loaded into memory, highlighting the one in focus.

  • @pacifi5t
    @pacifi5t ปีที่แล้ว +1

    Whoa... I really wanna try helix now

  • @mpg20XX
    @mpg20XX ปีที่แล้ว +3

    very cool and good, although i can't figure how to properly install the css and html lsp. no matter, the rest work great. thank you

    • @rb.x
      @rb.x ปีที่แล้ว +1

      There’s a package to install on your system called vscode something - it does html and css in one go. It’s on the helix website. Sorry I can’t be more specific, I’m on my phone :-)

  • @BoydKelly
    @BoydKelly 4 หลายเดือนก่อน

    This is pretty funny!!! LOL

  • @kushalmondal618
    @kushalmondal618 10 หลายเดือนก่อน

    Wellll.....Yes yes yesss.....Just found out the editor while hopping editor from VScode to a terminal based editor.....Surely first was Neovim.....Learned lua, Configured own modules.....Then realized that to get the simplest and Fundamental functionalities I have given a whole month to it and still its just a tool.....Sorry I could not find out You Before....But Now You got a Sub.....🎉🎉🎉🎉🎉Helix is truely Modern:Next-Gen

  • @dylanpotoy5844
    @dylanpotoy5844 ปีที่แล้ว

    Such a genius

  • @vextium
    @vextium 10 หลายเดือนก่อน

    you should make a tutorial for Helix in general like the neovim Prime guide :3

  • @webdev-y5l
    @webdev-y5l 5 หลายเดือนก่อน

    just installed helix but js language server won't work at all

  • @livb4139
    @livb4139 ปีที่แล้ว

    I installed rust-analyzer but I don't get the LSP recognized :_(

  • @tihon4979
    @tihon4979 ปีที่แล้ว

    That's awesome!!! 😏👍

  • @maxreuv
    @maxreuv ปีที่แล้ว

    Excellent!

  • @linodil
    @linodil ปีที่แล้ว

    I use Windows, and when I do "hx --health | more" in my terminal. Font symbols like checkmark and cross is missing, I use terminal "Alacritty", what kind of fonts do i need?

    • @young7529
      @young7529 9 หลายเดือนก่อน

      Search for Nerd fonts

  • @vaidehikumar655
    @vaidehikumar655 ปีที่แล้ว

    Two days ago found helix and i am learning rust hoping hoping to use it thanks it helped a lot.

  • @takeshi_chin
    @takeshi_chin ปีที่แล้ว

    How come your terminal's background color changed to match the background color of the Helix theme?

    • @JamieAlban
      @JamieAlban ปีที่แล้ว +2

      I don't think it changed - I think he set the helix theme to match his terminal

  • @cindrmon
    @cindrmon ปีที่แล้ว +2

    this makes me rethink whether i should stay with neovim or move to helix cuz wow
    also, toml config file ftw! im a sucker for toml config files

  • @nabeentiwaree8204
    @nabeentiwaree8204 ปีที่แล้ว

    How can I remove those pup ops suggestions?

  • @aislanarislou
    @aislanarislou ปีที่แล้ว

    How to debug a typescript project?

  • @lancemarchetti8673
    @lancemarchetti8673 ปีที่แล้ว

    Very cool

  • @solimm4sks510
    @solimm4sks510 2 หลายเดือนก่อน

    my helix config is very large, some of the defaults are ;;

  • @brendanhansknecht4650
    @brendanhansknecht4650 ปีที่แล้ว +3

    I am really debating using helix at work. Just started using it for personal/open source projects and it is great. The only issue is that work has a giant repo and a ton of extra tooling built into a fork of vs code. That mountain of tooling may be too large for helix to surmount. So kinda also want helix mode for vs code. But will have to test and see.

    • @LukePighetti
      @LukePighetti  ปีที่แล้ว +1

      There's a fork of Dance with helix bindings. Also, its worth making tooling IDE agnostic. What does the custom tooling do?

    • @brendanhansknecht4650
      @brendanhansknecht4650 ปีที่แล้ว +4

      @@LukePighetti I've never heard of dance, will have to look into it.
      As for tooling, mostly deal with the gigantic monorepo, custom build system, and code publishing/review. I think regular search would be super slow when used over even a section of this code. Also does ai auto complete and solid default setup for the swath of languages. I know that some people use vim and they have custom plugins that integrate, but most people just use the fork of vs code. Used to be a custom internal editor, but recently it switched to vs code for the UI. Assuming I can get a regular c++ language server to understand our code without being tied to our build system, it problem will work ok-ish to use helix. Otherwise custom vs code with vim mode will stay as my setup.

  • @MichaelWilliams-lr4mb
    @MichaelWilliams-lr4mb ปีที่แล้ว

    I tried adding bufferline to mine and it's saying it's an unknown field.

    • @MichaelWilliams-lr4mb
      @MichaelWilliams-lr4mb ปีที่แล้ว

      Apparently this is because the helix package in the NixOS repositories is a little out of date.

  • @crack8160
    @crack8160 ปีที่แล้ว

    don't you have to configure it in language.toml and install treesiter as well ?

  • @jussamouse6675
    @jussamouse6675 6 หลายเดือนก่อน

    bro really don't ";" = "command_mode" ???

  • @gorudonu
    @gorudonu ปีที่แล้ว

    I like helix but I want to have flutter intergration and DAP with it

    • @LukePighetti
      @LukePighetti  ปีที่แล้ว

      Don't need flutter integration, but DAP would be nice. I tried to integrate DAP and failed a few months ago, maybe I'll try again.

    • @KManAbout
      @KManAbout ปีที่แล้ว +1

      Dap works now.

    • @gorudonu
      @gorudonu ปีที่แล้ว

      @@KManAbout thanks, will check it out

  • @_duckington3573
    @_duckington3573 ปีที่แล้ว +5

    LMAO the cheek on this guy

    • @LukePighetti
      @LukePighetti  ปีที่แล้ว +3

      We're just having fun. All editors are welcome here.

  • @adicide9070
    @adicide9070 ปีที่แล้ว

    yeah maybe you don't need anything else. mine is 115 lines ;) + the languages setup

  • @VovaY
    @VovaY ปีที่แล้ว +1

    Does it have file type icons? For example, by using patched nerd fonts

  • @yakomisar
    @yakomisar ปีที่แล้ว

    Ahahaha. I would say from 0 to zero + 1. Naked LSP is nothing nowadays. For example, let’s take a typical Golang developer who uses golines, goimports-reviser, go err, go impl + some specific linters and other tons of staff. You are not able to just install and use it out of the box, because the box is almost empty. You cannot customize even a built in telescope plugin ( or whatever). Last year, if I am correct, there was a problem with formatters for popular languages. The problem is still there - all you need to know about the new vimkiller 😊 The only advantage of helix is that it’s written in Rust

  • @betterinbooks
    @betterinbooks ปีที่แล้ว

    next, do it in vscode and just double click the installer.

  • @rb.x
    @rb.x ปีที่แล้ว

    Do you know of a working helix plug-in for vscode? I’m in transition… :-) thanks for this video.

    • @LukePighetti
      @LukePighetti  ปีที่แล้ว +2

      Dance (helix version) is the best so far

    • @rb.x
      @rb.x ปีที่แล้ว

      @@LukePighetti thanks - it works really well :-)

  • @4ohf
    @4ohf ปีที่แล้ว

    first time I see helix and idk it seems "too easy" 😂

  • @Lov3Catch
    @Lov3Catch ปีที่แล้ว

    Helix is a vim for dummies?

    • @LukePighetti
      @LukePighetti  ปีที่แล้ว

      All editors are welcome here.

  • @someman7
    @someman7 9 หลายเดือนก่อน

    %y

  • @fms6306
    @fms6306 ปีที่แล้ว +1

    That was such an unnecessary shot at neovim and the primeagen who I unashamedly am a fan boy of. I do admit the configuration is much easier so would be more suited to you vs code windoze boys rather than the linux men

    • @LukePighetti
      @LukePighetti  ปีที่แล้ว +6

      I think vim daddy is chad enough to not be offended by my silly video

    • @iatheman
      @iatheman ปีที่แล้ว +1

      Relax dude. Prime would probably agree that configuring helix is much simpler to configure while also pointing out that neovim is way more powerful due to its plugin system and lua config. I love neovim and still hate configuring it and maintaining my configs.