VSCode to LunarVim

Поділитися
Вставка

КОМЕНТАРІ • 51

  • @CTBell-uy7ri
    @CTBell-uy7ri Рік тому +9

    This is exactly what I’ve been searching for. I love the bum plug-in for vscode, but I want to move to the full native vim experience. This made it accessible

  • @starllama2149
    @starllama2149 Рік тому +8

    It’s funny, I’ve been using vim for 5+ years now. I have my own configuration and it’s really cool seeing people want to try out vim. Personally, I can’t actually switch back because I am so used to my own configuration anything else feels unnatural, the same applies for lunarvim. In my opinion you can get a more lightweight and faster felling experience by building your own vim configuration, but something like lunarvim is a great way to start.

  • @90vasilis
    @90vasilis Рік тому +6

    Nice video. For the search and replace feature I believe that you can achive it with lsp. There is a rename functionality that can be trigger usually with "gr" unless LunarVim has remap it. It doesn't work like vscode's but in most case I think it can do the trick and im 100% sure that LunarVim has the functionality since it uses lspconfig. You may want to check under the +lsp menu I believe l is for lsp.

    • @itsSujeetMahto
      @itsSujeetMahto Рік тому +1

      I did use lunarVim a year ago, back then, rename was placed at lr , now with the introduction of plugins like Mason that auto configures your LSP, it's very easy to setup neovim from scratch

  • @caarlos0
    @caarlos0 Рік тому +12

    to search/replace on all files, search and add them to the quickfixlist (ctrl+q in the live grep telescope windows), and then use `cfdo %s/a/b/g`, and finally `:wall` to save all changes :)

  • @KapicMedia
    @KapicMedia Рік тому +13

    You are nutz. Stache looks amazing.

  • @JustBenUK
    @JustBenUK Рік тому +12

    Instead of using tmux, you can create more terminal buffers.. so to open the terminal you use CTL + \ if you use 1 to 9 first you can get more, so 1+CTL+/ will open a new terminal in lunar vim

    • @DisasterVae
      @DisasterVae Рік тому +4

      I had no idea that was a thing, that's sick!

    • @SirJagerYT
      @SirJagerYT Рік тому +5

      tmux is not just for spliting windows, making new terminals, tmux can hold and save current session even after closing the terminal which leads faster loading and multiple workspaces at same time

  • @anagh4802
    @anagh4802 2 місяці тому +1

    Great video! I am currently on a similar journey as yours, started of with the vscode vim extension. Started using vim motions. Now trying to switch to neovim.

    • @christopherkapic
      @christopherkapic  2 місяці тому +1

      Thank you! I hope you are happy with whatever setup you choose.

  • @irlshrek
    @irlshrek Рік тому +3

    i think its easier to move between tabs with Shift+H/L rather than Space+b+n/p

  • @Nitiiii11
    @Nitiiii11 6 місяців тому

    I love lunarvim because it helped me get productive with neovim very quickly when I didn't know much about it in the beginning. I then built my config on top of it, which worked very well I must say. Imho it's perfect for neovim beginners who want to get things going fast, and learn it while using it, as opposed to spending so much time upfront configuring it.

  • @celsopatiri2846
    @celsopatiri2846 Рік тому +1

    7:58 just as a recommendation, i love the nvim-pack/nvim-spectre plugin for search and replace functionality

  • @orbital1337
    @orbital1337 Рік тому +2

    I think lunarvim uses toggleterm. Toggleterm natively already supports multiple terminals, so you don't need to run tmux in the terminal. Just type any number before the terminal keybind to go to that terminal. So 1 goes to the first terminal, 2 goes to the second terminal etc. Super useful!

    • @mbrav
      @mbrav Рік тому

      I end up using tmux because I cannot figure out how to scroll up with PGUP in a pop up terminal. Any idea?

    • @orbital1337
      @orbital1337 Рік тому +1

      @@mbrav Ah yes, binding something for terminal mode can be a bit tricky because the terminal by default captures almost every key. Try rebinding to and it should work (note you'll probably have to escape as in the string). I think for lvim specifically, you'd have to set lvim.keys.terminal_mode[""] = "".

    • @mbrav
      @mbrav Рік тому

      @@orbital1337 Nevermind, a simple J and K did the job, can't believe its just a regular vim motion 🤦‍♂

  • @jonbikaku6133
    @jonbikaku6133 Рік тому +2

    I always switch back to GUI because things seem.. faster. Text search is 'Ctrl+Shift+f' instead of 'Space, f, t' and you can easily exclude files. Opening file is 'Ctrl+Shift+p' instead of 'Space, ...'. I guess I could get these in nvim but I dont want to dive the rabbit hole 😅

  • @SirJagerYT
    @SirJagerYT Рік тому +2

    alacritty (or kitty) + tmux (with tmuxifier) + neovim (with any flavour Lunar, NvChad ...) combinaton is far far greater than vscode

    • @christopherkapic
      @christopherkapic  Рік тому +1

      Tbh I see the value in both. I often switch back and forth for various things.

  • @marco_gorelli
    @marco_gorelli 3 місяці тому

    FINALLY, a no-nonsense tutorial showing you what you actually need
    legend, mate
    I too am tired of the vim keybindings in vscode, they're just too flaky

  • @PaulSebastianM
    @PaulSebastianM 8 місяців тому

    Ctrl-W W also works to switch from window to window, which also works when you want to move from the file explorer back to your file. I didn't know that Ctrl-L also worked.

  • @NostraDavid2
    @NostraDavid2 Рік тому +5

    My reason for sticking with vscode is because vscode has the ability of a workspace, which is severely lacking in Neovim, IMO
    Though I can recommend WezTerm, if you prefer the native ability to split up your window, without using tmux, and use tabs, if you so prefer. Also because Alacritty adds extra lines when I paste a block of text :(

    • @robertluong3024
      @robertluong3024 Рік тому

      What are workspaces used for?

    • @kyonas6047
      @kyonas6047 Рік тому

      @@robertluong3024 for example if I am a c devolopers and i do front end Javascript as a hobby i can have 2 workspaces one for rust the other for Js and i can make a new project set the workspace to the work i will be doing and the keyboard binding or settings and activated and disabled extentions will be saved in a json file

  • @smit17xp
    @smit17xp Рік тому

    there is neovim plugin for vsocde which I've been using instead of VSCodeVim extension. Power of both worlds

  • @PetarVukmanovic
    @PetarVukmanovic 3 місяці тому

    Thanks! I'm in the same spot, kinda wanna switch, but kinda don't think it would be easy. xD

  • @DamianKleiman
    @DamianKleiman Рік тому +1

    Nice video, I've been using NeoVim for a while. But I do not use LunarVim, I've set it up all myself, so I could configure key mappings and I have the plugins I wanted. It's a pain to set it up completely, but at the end you have a very custom setup. LunarVim is great to start if you want a neovim setup fast, but you don't know what it has under the hood.

    • @knowledgedose1956
      @knowledgedose1956 Рік тому

      You can see what's under the hood, install plugins you want or customise the way you want it.

  • @pali122
    @pali122 Рік тому +1

    have you had issues with syntax highlight on big files vs vscode I have tried many times to switch to vim, but the performance on large files always kills it for me. Also making a debugger works seems to be a pain in the ass in any config

  • @debasishraychawdhuri
    @debasishraychawdhuri Рік тому +2

    using vim is not hard, i have used it for a long time for text editing. setting up vim to work as an ide is hard. you have to edit 500 different configurations to get it to work. this cannot work. It needs to be one command that setup everything for your language.

  • @tabeareed4338
    @tabeareed4338 Рік тому +1

    Next: M to F

  • @lian1238
    @lian1238 Рік тому

    I’ve been using nvim for about a month. Although it isn’t easy to set up, especially on windows, i got it working. And i even have a repo where i keep my config folder. When I’m on the go, i take my MacBook and so i clone my repo and got the same set up there as well. I often find myself missing functionality from vscode (like rename, search replace, etc) and would have to go looking for answers. I don’t mind it, it’s fun actually.
    BUT, now I have found a problem with seemingly no solution in sight. I’m writing a project in SvelteKit and need to have parentheses in a dir name. On windows, all the files within that folder show up blank. I googled this and found a few answers saying this is a problem with vim on windows. If anyone has an answer, plz let me know. I really want to love nvim but these edge cases are becoming deal breakers.

  • @alanibarra1411
    @alanibarra1411 Рік тому

    Hey man cool video is awesome Lunarvim :D a good alternative to vscode or like a IDE/editor code secondary. Can you share your lunarvim config ? , regards!

  • @ghosthaunting15
    @ghosthaunting15 Рік тому

    It's better to use neovim and build your own requirements for an ide than using some other prebuild ide like lunar vim. Leader key slows your workflow when using lunar vim.i have configured the leader key for telescope only.

    • @lel7531
      @lel7531 Рік тому +2

      It's a good starting point to get your feet wet

    • @robertluong3024
      @robertluong3024 Рік тому +1

      I spent a month building my own neovim stuff, nah, I'll go with lunarvim and maybe go on top of that
      I remember when a plugin or something got updated and had to figure that out or when I couldn't get Rust LSP working
      I'm already needing to get work done, I don't need work on top of it

  • @mariusandersons
    @mariusandersons Рік тому

    why not just use emacs with evil binding?

  • @livb4139
    @livb4139 Рік тому +1

    ru still using lunarvim or went back to vscode

  • @japhethjay4880
    @japhethjay4880 11 місяців тому

    I just like u, will mostly code inside lunarvim, then I have vscode for somethings I can't do in lunarvim yet or have not had the time to find how they work, then I use intellij idea for git hihihihih.

  • @DarrylHebbes
    @DarrylHebbes Рік тому

    I am like you.

  • @cebuanoninoy
    @cebuanoninoy Рік тому +1

    Take my money 😊

  • @statuschannel8572
    @statuschannel8572 Рік тому

    try space + s + t for a live grep search

  • @dave4347
    @dave4347 Рік тому

    Jumping from vscode straight into a prebuilt config is not the best way to learn vim. It’s going to come with a lot of bloat you don’t need and won’t fully understand because you didn’t put it together. I would highly suggest rolling with your own configs and pulling from various places. You’re going to know exactly how it works and it will be tailored to your own workflows.

    • @lian1238
      @lian1238 Рік тому +1

      Totally agree. On my first day of nvim, i installed nvimchad and totally regretted it. I did not understand anything. I reverted to building my own config from other creators. (The name is theprimeagen). After a month now, i might try lvim or nvimchad or astrovim

  • @lel7531
    @lel7531 Рік тому +2

    Why lunar vim compared to the other options ? And please stop looking at your keyboard to type on the keys it's killing your speed and flow.

    • @macmanuelodumeru3708
      @macmanuelodumeru3708 Рік тому

      What other options would you have preferred? Curious as I'm new to this stuff

    • @NathanHedglin
      @NathanHedglin Рік тому

      ​@@macmanuelodumeru3708 neovim

  • @AugustoGuerrero__Main__
    @AugustoGuerrero__Main__ Рік тому +1

    :%s/1string/2string/g would search and replace each occurrence of 1string to 2string in normal vim