My LunarVim Config | Using NeoVim as an IDE

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

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

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

    Thanks for making this video, great explanation and setup!

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

    Great video , I am currently trying to work my way into using neovim. I currently use vs code and I am in the process of learning how to effortlessly touch type , then hoping to transition to split keyboard , and then learn vim , these videos are great keep them coming !

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

      You dont need any of that to use nvim. Youll never learn nvim if you write in VSC.

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

    love your set up and explanation. I just have not been able to load my plugins from different files like you have.

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

    Great video. Very clear and cool explanation, thanks
    Would be awesome to see using neovim with typescript stuff

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

    Love the chill vibe

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

    super happy to have this video, thanks

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

    I love how every *vim video is out of date after 6 months. This is not longer the config, the config and example now just send you to a webpage with configs, that guess what, don't work properly. Such a terrible experience

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

      Sad, but (mostly) true

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

      @@ifcodingwerenatural after excessive stubbornness I got it working awhile back. Do appreciate the video. Something memory leaks though, gotta restart the session every few hours

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

    Awesome video, subscribed!

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

    pls make video about debugging in lunarvim with dap

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

    Great video, Subscribed! Quick question: at 09:52, how did you split the horizontal terminal at the bottom into two? I saw the key mapping as CMD+\, but it's not in the repository and not in the default LunarVim config. I've set up tmux, but it splits the entire Vim session, not just the bottom terminal.

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

      That keybind is in my tmux config. It sounds like you have a keymap in your neovim config that splits your vim session that's bound to CMD+\ (and possibly overriding your tmux config?).
      Also, tmux struggles with CMD, so I cheat by using Ctrl+\ in my tmux config, then set an override in my terminal config (I'm using Wezterm) that maps CMD+\ to Ctrl+\. It's a little convoluted 😅.

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

    I like that desk in the background. 3d printer, soldering iron? Nice "office". Would like to have space for it

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

      Thanks! I feel incredibly blessed to have this room. I just finished my basement last week and moved down here 😁. And yes, there's the 3D printer and a screw driver sitting next to an extension cord at jjjuuusssttt the right position to look like a soldering iron.

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

    Some characters are unavailable, they appear as empty rectangles, how do I fix that? Because I already have the FiraCode font downloaded but it still doesn't work

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

      My best guess is either you don't have the Nerd Font version of FiraCode installed or it's an issue with your terminal.

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

    The pressing space (leader) and then shift C for the typescript stuff such as organize imports doesn't work anymore. Is there a fix?

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

    thanks for sharing! I'm still to lazy to brush over my config so I have it all jacked in a single file :)
    what's your git flow in neovim?
    This is my biggest pain point, and I constantly switch to vscode to resolve merge conflicts
    I use lazygit in neovim for all simple tasks, but for more complex things I tend to open vscode

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

      I just use lazygit and it works pretty well for me. Can't say I have to deal with large merge conflicts very often, so it hasn't really been a pain point for me!

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

    I really want to update LVim, but on every update they always fuck up some key functionality I use, so the idea just scares me completely

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

      I run into issues when updated plugins every now and then, but lunvarim itself has been pretty stable for me.

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

    Thanks for sharing, learn a lot from this video. One thing I can’t figure out is when opening a JavaScript file I get an error message ‘Spawning language server with cmd: typescript-language-server failed. The language server is either not installed, missing from
    PATH, or not executable.’ Not sure if you can help?

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

      Found the fix had to do ‘npm install -g typescript-language-server’

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

    i’m new to neovim and i really like how clean ur setup looks like. i just have a question. by what im getting from the video, your nvim configuration runs inside a docker container correct? so in order to use neovim u have to be connected to that docker container i suppose. but what if im working in a project where theres already a different docker environment, for example a company project with docker compose and so on, how do i still use that nvim config?

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

      I just ran it in docker for this video so I could tweak the config without changing my actual config. During day to day usage, I don't run lunarvim/neovim inside docker.

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

      @@ifcodingwerenatural thank you for explaining 🙏🏻

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

    Is that a custom Ben Eater 8-bit computer I see next to your 3D printer?

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

    What’s your startup time?

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

    I understand cleaning up for company, what I don't understand is not that it's clean why not use it? Replace your old messy config files with the cleaned up ones.

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

      It's because there's stuff I'm working on, plugins I'm unsure of, a lot of commented out code, etc. Things I want to keep around but wouldn't add value to the video.

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

    thanks for sharing your config. but after install your config I can't delete delete line with 'dd' any thoughts or this was intended?

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

      Definitely not intended haha. I use dd all the time. Genuinely have no idea what would be causing that. Maybe you figured it out by now, but you could try installing lunarvim with the default config and see if the problem persists, then start adding more plugins until it happens again.

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

    Have you tried helix?

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

    In 28:57 I dont see the C +Typescript option and can't find it in your config. Am I missing something or can you link me to when you have that in your config? I already `npm i -g typescript typescript-language-server` and restarted ts server by :e! and :e but still don't see that option.

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

      That functionality came from the "typescript" plugin (github.com/jose-elias-alvarez/typescript.nvim). And I just created my own keymaps to execute the commands added by the plugin. For example, I bound `:TypescriptOrganizeImports` to `Co` and `:TypescriptRemoveUnused` to `Cu`. I added the keymaps inside the `ftplugin` folder so they only work inside Typescript files, which you can see on the "lunarvim" branch of the repo under `lvim/ftplugin/typescript.lua`.

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

    I would love some of these things but I’m not ready to jump to lvim (I’m new to nvim, and just gotten used to my current set up). My question is can i still use some of what you use without installing lvim? And is there any risk of plugins for nvim not working for lvim?

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

      When you install lvim, the config is completely separate from your regular config. So when I type "lvim", it loads my lvim config, but typing "nvim" uses my config under "~/.config/nvim".

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

      lvim is isolated from regular nvim and nvimconfigs and plugins

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

    nice one

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

      look forward to your another video regarding your LunarVim config.

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

    could you describe these shortcuts in the comment

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

    to enable tailwindCss? he knows?

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

    It's someone else's config