VSCode to LunarVim

  Рет қаралды 33,989

Christopher Kapic

Christopher Kapic

Күн бұрын

Leave a comment if there's a neat trick that I left out!
Twitter: / kapicode
Github: github.com/christopher-kapic
Blog: christopherkapic.com
Dev.to: dev.to/christopherkapic
Medium: / christopherkapic

Пікірлер: 50
@CTBell-uy7ri
@CTBell-uy7ri Жыл бұрын
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
@anagh4802
@anagh4802 3 сағат бұрын
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.
@starllama2149
@starllama2149 Жыл бұрын
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.
@caarlos0
@caarlos0 Жыл бұрын
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 :)
@90vasilis
@90vasilis Жыл бұрын
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 Жыл бұрын
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
@marco_gorelli
@marco_gorelli 28 күн бұрын
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
@JustBenUK
@JustBenUK Жыл бұрын
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
@vitchuu
@vitchuu Жыл бұрын
I had no idea that was a thing, that's sick!
@SirJagerYT
@SirJagerYT Жыл бұрын
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
@irlshrek
@irlshrek Жыл бұрын
i think its easier to move between tabs with Shift+H/L rather than Space+b+n/p
@KapicMedia
@KapicMedia Жыл бұрын
You are nutz. Stache looks amazing.
@celsopatiri2846
@celsopatiri2846 Жыл бұрын
7:58 just as a recommendation, i love the nvim-pack/nvim-spectre plugin for search and replace functionality
@jonbikaku6133
@jonbikaku6133 Жыл бұрын
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 😅
@pali122
@pali122 Жыл бұрын
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
@Nitiiii11
@Nitiiii11 4 ай бұрын
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.
@smit17xp
@smit17xp Жыл бұрын
there is neovim plugin for vsocde which I've been using instead of VSCodeVim extension. Power of both worlds
@orbital1337
@orbital1337 Жыл бұрын
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 Жыл бұрын
@@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 🤦‍♂
@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!
@PaulSebastianM
@PaulSebastianM 6 ай бұрын
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 Жыл бұрын
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
@DamianKleiman
@DamianKleiman Жыл бұрын
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.
@PetarVukmanovic
@PetarVukmanovic 24 күн бұрын
Thanks! I'm in the same spot, kinda wanna switch, but kinda don't think it would be easy. xD
@mariusandersons
@mariusandersons Жыл бұрын
why not just use emacs with evil binding?
@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.
@SirJagerYT
@SirJagerYT Жыл бұрын
alacritty (or kitty) + tmux (with tmuxifier) + neovim (with any flavour Lunar, NvChad ...) combinaton is far far greater than vscode
@christopherkapic
@christopherkapic Жыл бұрын
Tbh I see the value in both. I often switch back and forth for various things.
@tabeareed4338
@tabeareed4338 Жыл бұрын
Next: M to F
@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 Жыл бұрын
It's a good starting point to get your feet wet
@robertluong3024
@robertluong3024 Жыл бұрын
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
@debasishraychawdhuri
@debasishraychawdhuri Жыл бұрын
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.
@livb4139
@livb4139 Жыл бұрын
ru still using lunarvim or went back to vscode
@christopherkapic
@christopherkapic Жыл бұрын
both, almost exactly 50/50
@DarrylHebbes
@DarrylHebbes 9 ай бұрын
I am like you.
@cebuanoninoy
@cebuanoninoy Жыл бұрын
Take my money 😊
@statuschannel8572
@statuschannel8572 Жыл бұрын
try space + s + t for a live grep search
@japhethjay4880
@japhethjay4880 8 ай бұрын
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.
@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 Жыл бұрын
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 Жыл бұрын
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__ Жыл бұрын
:%s/1string/2string/g would search and replace each occurrence of 1string to 2string in normal vim
I Love Neovim But I WONT Use It | Prime Reacts
23:22
ThePrimeTime
Рет қаралды 110 М.
NVChad - Turn Neovim Into An Awesome IDE
14:48
Mental Outlaw
Рет қаралды 222 М.
100❤️
00:19
MY💝No War🤝
Рет қаралды 11 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 14 МЛН
Why I Switched From NEOVIM To VSCODE
13:45
Anthony GG
Рет қаралды 20 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 42 М.
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 71 М.
Don't use VSCode
35:31
PyCon South Africa
Рет қаралды 213 М.
Zero to IDE with LazyVim
16:59
Elijah Manor
Рет қаралды 287 М.
Vim As Your Editor - Introduction
12:24
ThePrimeagen
Рет қаралды 826 М.
Why oil.nvim is the best directory plugin
9:12
Andrew Courter
Рет қаралды 23 М.
"Stop Using Async Await in .NET to Save Threads" | Code Cop #018
14:05
I tried Neovim Distributions so you don't have to
9:12
typecraft
Рет қаралды 143 М.
30 Beginner Vim Commands in 7 Minutes
7:13
Nir Lichtman
Рет қаралды 10 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 483 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Clicks чехол-клавиатура для iPhone ⌨️
0:59
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 9 МЛН