My Neovim Dev Workflow

  Рет қаралды 28,659

Lazar Nikolov

Lazar Nikolov

Күн бұрын

Пікірлер: 92
@nikolovlazar
@nikolovlazar Ай бұрын
Hope you enjoy this one! It's a bit longer, but it's also beginner friendly. I don't get into too much detail because I wanted to cover everything in the video, but feel free to ask questions about any part of the video and I can expand on it (or even make another video). Thanks for watching! Also, here's a link to my dotfile: github.com/nikolovlazar/dotfiles
@sidaliassoul408
@sidaliassoul408 Ай бұрын
Thanks for dropping this video out. I was unpatiently waiting for it. Copied your dotfiles yesterday and got it working. Tried tmux for the first time on a microservices project and created a session for each microservices. Each session has 2 windows, one for the terminal and one for neovim. I'm really enjoying it so far.
@lucaahe2252
@lucaahe2252 29 күн бұрын
Probably the best channel I‘ve found this year. Very excited for your clean architecture guide in next.js
@nikolovlazar
@nikolovlazar 28 күн бұрын
Ah thank you!
@SayfSentinel
@SayfSentinel Ай бұрын
Niiiiice, this kids of video is WAY better than a Netflix series.
@rvft
@rvft Ай бұрын
This is the most beautiful neovim/kitty configuration I've ever seen, so much so, im about to give it a shot lol
@nikolovlazar
@nikolovlazar Ай бұрын
Let me know how it goes, or if you get stuck somewhere!
@DraciVik
@DraciVik 18 күн бұрын
Thank you! I just starred and forked your dotfiles. I've been looking for a dev workflow like this which I can apply to myself
@Thundechile
@Thundechile 16 күн бұрын
Thanks for the nice video! Our workflows are quite similar, but you had a nice configuration for unifying tmux/neovim window/pane resizing in your tmux conf file. Just had to copy that to my own too!
@nikolovlazar
@nikolovlazar 16 күн бұрын
Glad you liked it! Love the resizing feature 😁
@edwinboon9574
@edwinboon9574 Ай бұрын
This is awesome. I'm using a Nvim starter kit atm. Changes jobs in a month and get a new laptop will try lazyvim and Tmux there. Awesome video!♥
@VoislavVasiljevski
@VoislavVasiljevski Ай бұрын
Odlicno Lazar, blagodaram!
@ilyeshammadi7278
@ilyeshammadi7278 25 күн бұрын
Three things we have in common: Neovim, ZSA Voygaer and PRS 🤜🏼🤛🏼
@nikolovlazar
@nikolovlazar 25 күн бұрын
A man of culture! Love it!
@brihatsharma3452
@brihatsharma3452 Ай бұрын
Was looking for this only😊
@r2-p2
@r2-p2 14 күн бұрын
I hade to fix my repo using revlog three times after using lazyvim. Sure I did something wrong but i did what I thought was right being presented what lazyvim showed me. Threw it out of the window and happily rebasing, fixupping, and all the other stiff using plain git and a bit of tig for visualization. Never had any issues.
@nikolovlazar
@nikolovlazar 13 күн бұрын
Yep, lazygit has given me a few headaches as well, but so far it's good. I also didn't know about tig, thanks for sharing it! I've gotten so used to lazygit it's fully a muscle memory at this point.
@ajzack983
@ajzack983 Ай бұрын
hey man nice video. tip: 12:36 if you want your telescope background to be transparent set this option in your cyberdream config: borderless_telescope = false, let me know how do you like it after trying it !
@nikolovlazar
@nikolovlazar Ай бұрын
Woah I very much prefer it with borders. Thanks for this!
@iced2916
@iced2916 Ай бұрын
Hey, I'm really enjoying your content. I was wondering if you could make a long video building a full stack app applying all the knowledge you have been sharing in these videos such as zsa, testing, thanks
@nikolovlazar
@nikolovlazar Ай бұрын
Thanks! Yeah that's definitely on the line.
@shrewd7795
@shrewd7795 24 күн бұрын
Hmm i have all of this set up already, but man love the theme as a hole. Gonna try this combo. Just worried about spending hours with arch to configure it 😂
@nikolovlazar
@nikolovlazar 24 күн бұрын
Def the best theme I’ve put together 😁 it’s just cyberdream with that blurred background.
@shrewd7795
@shrewd7795 23 күн бұрын
@@nikolovlazar You bet!
@AizazShahid-ck8cn
@AizazShahid-ck8cn Ай бұрын
Beautiful!
@AizazShahid-ck8cn
@AizazShahid-ck8cn Ай бұрын
My neovim setup is functionally maybe even better than yours(for me) but yours is so much more beautiful.
@okkashaally2115
@okkashaally2115 Ай бұрын
I'll be configuring this setup on weekend. Thanks again🫡🫡
@dace9294
@dace9294 Ай бұрын
I tried this setup for the last two days and liked everything about tmux and the colors. However, TypeScript in nvim was slow, and I couldn't figure out how to auto-import, so I returned to VSCode. I wish I could make nvim work because I enjoy the combination of tmux and nvim.
@nikolovlazar
@nikolovlazar Ай бұрын
Sorry to hear about that. In what way it was slow? I can help you debug it. Send me a message in the neovim channel on Discord: creatures.sh
@Deus-lo-Vuilt
@Deus-lo-Vuilt Ай бұрын
wow, thank you very much
@didholipyan8227
@didholipyan8227 Ай бұрын
cool setup!
@yoryerpy
@yoryerpy Ай бұрын
That was a really cool video! I wondered how you patched the Dank Mono font to make it look good in Kitty. Usually, I have to patch it to make all the glyphs mono, so the icons don't look good. Thank you!
@nikolovlazar
@nikolovlazar Ай бұрын
Thanks! I just used the Nerd Font patch tool. It wasn't too complicated as much as I remember it.
@yoryerpy
@yoryerpy Ай бұрын
@@nikolovlazar Yeah, using the patch tool is easy. My problem is that the glyphs don't look very good, I had to switch to WezTerm to make them look pretty. Thank you for your answer!
@matiasfha
@matiasfha Ай бұрын
Kitty can also split a window in different panes and have multiple windows inside the same "container" (OS window). Having that in mind: what advantage you get by using tmux vs native kitty features?
@nikolovlazar
@nikolovlazar Ай бұрын
Hey Matias! I haven't used Kitty's native features for window management. Can Kitty save the window configuration per "session"? If not, that'd be one advantage of tmux over kitty. Do you use Kitty's native features? How does your workflow look like?
@matiasfha
@matiasfha Ай бұрын
@@nikolovlazar AFAIK there is no native session management feature. I use just kitty to split one OS Window into multiple kitty window tho. But there has been many years since I used tmux so I can't directly compare
@follantic
@follantic 9 күн бұрын
Same here with iTerm cmd-d/cmd-shift-d. Pre configuring sessions would be nice though.
@ekekw930
@ekekw930 Ай бұрын
I've kind of ditched tmux after switching to Kitty since it also has tabs. Does one have any benefits over the other?
@nikolovlazar
@nikolovlazar Ай бұрын
I like tmux because I have sessions for each of my projects that I frequently work in, so switching between them while also keeping the tab configuration for each session is definitely easier with tmux than kitty.
@avramukk
@avramukk Ай бұрын
Thank you! How to use harpoon? Because with your configuration it does not work with leader+number for switching buffer and in the leader+h I see just one file every times.
@nikolovlazar
@nikolovlazar Ай бұрын
Hmm, not sure what it could be. I don't think I'm overriding anything regarding Harpoon. I'm just using the defaults defined by LazyVim. What happens when you trigger leader+number? Does it show a notification?
@neveralegend-kt8rd
@neveralegend-kt8rd Ай бұрын
You have to “harpoon” the files, nothing is automatically pinned the first time
@nikolovlazar
@nikolovlazar Ай бұрын
@@neveralegend-kt8rd I thought I showed that, but now that I rewatched that part I see that I left it out. Yes, you should “harpoon” a file with leader-H. It’ll show up in the list, and then you can navigate to it. Thanks for clarifying this!
@Sina-sd4zi
@Sina-sd4zi 14 күн бұрын
hi Nikolav. thanks for great content! i am kinda new to nvim i have a question and i dont know where to ask so here i am, how to accept lsp autocomplete suggestion like i want to auto import a variable from another file.
@nikolovlazar
@nikolovlazar 13 күн бұрын
Hey! Depending on what your keybinding is set to. I open my autocomplete with Ctrl-Space, and pick the selected option with Ctrl-Y (for Yes). Auto-imports should show up as options in the autocomplete menu.
@Sina-sd4zi
@Sina-sd4zi 13 күн бұрын
@@nikolovlazar thanks i am currently using your dotfile for nvim config and i love it
@AizazShahid-ck8cn
@AizazShahid-ck8cn 27 күн бұрын
I could not get the borders for hover work for me. The other ones work just fine. I am using tokyonight
@nikolovlazar
@nikolovlazar 25 күн бұрын
That might be a theming issue. Do :highlight to see how your highlight colors are defined. Not sure which highlight the hover border is using, but it's worth looking at the highlights.
@Noobhacker-d6m
@Noobhacker-d6m Ай бұрын
definitely earned my sub but I was wondering what font are you using for this?
@nikolovlazar
@nikolovlazar Ай бұрын
Thank you! It's Dank Mono (compiled with NerdFont to include icons).
@Noobhacker-d6m
@Noobhacker-d6m Ай бұрын
@@nikolovlazar also I'm sorry but i was trying to use the tokyo night theme that you have but it always has it so that the purple part stops right before the circle to indicate whether in tmux command mode or not do you have any idea how to fix this? Thank you in advance.
@nikolovlazar
@nikolovlazar Ай бұрын
I made some changes to my tmux config after recording this. Have you seen them? tmux config: github.com/nikolovlazar/dotfiles/blob/main/.config/tmux/tmux.conf my own tokyo-night-tmux fork: github.com/nikolovlazar/tokyo-night-tmux I forked tokyo-night-tmux and edited the colors and widgets. Give it a try and see if it fixes the purple. If it does, you can fork my fork and apply your own theme 😁
@saeedxgholami
@saeedxgholami 26 күн бұрын
You can make split with telescope using ctrl + v and ctrl + x on telescope file picker
@nikolovlazar
@nikolovlazar 25 күн бұрын
Nice! I didn't know this. Thanks!
@DigitalAlchemyst
@DigitalAlchemyst Ай бұрын
How long did it take you to get adjusted to this type of set up.
@nikolovlazar
@nikolovlazar Ай бұрын
Hmm, can't say to be honest. I used neovim and tmux a few years back, then switched to other IDEs, and then back to this setup with my prior experience, so I'm not sure in terms of time how long it took me to get used to it. I've also been gradually adopting vim motions and neovim plugins over time. That's the reality actually. You start with a simpler set of plugins enough to help you write and navigate code, but as soon as you get comfortable with that setup you add something to it, either a plugin or learn a new vim motion etc... You grow alongside your IDE setup.
@DigitalAlchemyst
@DigitalAlchemyst Ай бұрын
@@nikolovlazar I use to write code in terminals and stuff long time ago. Not sure if stuff like this wasn't around then, or I just didn't know about it. I would have probably liked it. But now days Its all vs code or visual studio. Heck it took a lot of getting use-to to start using git commands again, Ive been in vs codes commit panel and git graph and git lens for so long, But i recently added Husky lint staged and lint commit to my work flow. the git panels only output the results of all those test in a terminal that is very busy, and the output is cleaner in a regular terminal as well. So i had to swap back to see what i wanted to see. I found myself having to look up the command to push to it to the github repo lol.
@nikolovlazar
@nikolovlazar Ай бұрын
I feel your pain. On the other side, I too don't punch in git commands 😁 I use LazyGit.
@DigitalAlchemyst
@DigitalAlchemyst Ай бұрын
@@nikolovlazar nice. While your envrioment is certainly not for me, I learned a lot about your work follow that will help in following the clean arch series
@thepromisebenard
@thepromisebenard Ай бұрын
Cool video Lazar. Please can you make a video about your vscode steup?, in depth if you can of course. I really like your set up and would love to replicate it too. I want to learn the vim movements but want to do so within vscode.
@DigitalAlchemyst
@DigitalAlchemyst Ай бұрын
I have not seen him use VS code before
@nikolovlazar
@nikolovlazar Ай бұрын
I don't use VS Code as much, but I made a video on how to setup vim inside vscode and navigate through the panels with your keyboard only: kzbin.info/www/bejne/gIPRqKdtpLlkkKc
@thepromisebenard
@thepromisebenard Ай бұрын
@@DigitalAlchemyst Thank you
@thepromisebenard
@thepromisebenard Ай бұрын
@@nikolovlazar Thank you for this. Chcecking it out now.
@danielbergfrederiksen3731
@danielbergfrederiksen3731 29 күн бұрын
How much would I have to do to use this for other languages? Like Java for example? Maybe with Maven and Spring Boot :p
@nikolovlazar
@nikolovlazar 29 күн бұрын
I haven’t checked how’s the Java support in LazyVim, but here’s how to enable it: www.lazyvim.org/extras/lang/java It’s practically 1 line of code. Hope it works for you!
@brunocmesquita
@brunocmesquita 21 күн бұрын
It looks like you tweaked your headline zsh theme a little bit. Can you add it to your dotfiles?
@nikolovlazar
@nikolovlazar 20 күн бұрын
Oh you're right! I pushed a new commit that adds it. Thanks!
@brunocmesquita
@brunocmesquita 20 күн бұрын
@@nikolovlazar Thank you!
@hoinguyenvan537
@hoinguyenvan537 Ай бұрын
Awesome. What theme are you using?
@nikolovlazar
@nikolovlazar Ай бұрын
It’s cyberdream! Check it out at 6:37
@luckyluke7095
@luckyluke7095 Ай бұрын
How do you change color in session name of tmux status bar to purple?
@nikolovlazar
@nikolovlazar Ай бұрын
I made my own fork of the tokyo-night-tmux theme that changes some of the colors. Here's the commit that does that: github.com/nikolovlazar/tokyo-night-tmux/commit/dcef777c418795cd10622f62a6f1663b310094dc. Look on line 55, in the "Session name" section.
@luckyluke7095
@luckyluke7095 Ай бұрын
@@nikolovlazar Such a valuable content. Thank you for sharing this video to us.
@nikolovlazar
@nikolovlazar Ай бұрын
@@luckyluke7095thank you!
@zrxmax_
@zrxmax_ Ай бұрын
what keyboard do you use?
@nikolovlazar
@nikolovlazar Ай бұрын
it's the ZSA Voyager! Hands down (pun intended) the best keybaord I've ever used 😁 I feel like it's designed for my hands.
@bogdanvolotovskyy8798
@bogdanvolotovskyy8798 Ай бұрын
@@nikolovlazar I'm ZSA Voyager user as well. However I'm keep doubting my decision for layer switching which I committed to. What are you using for that? Would be interesting to see a link to your ZSA layout. P.S. Thanks for the content by the way. Found you with your DAP config video and that vitest mocking explanation hooked me up. Great job!
@nikolovlazar
@nikolovlazar Ай бұрын
I'm glad you like my content! Here's my ZSA config: configure.zsa.io/voyager/layouts/4aAyM/latest/0 I only have one layer where I have (){}[], volume controls, `~, and navigation stuff (arrows, page up/down, home/end). I tried introducing a third layer, but I never felt the need to. I'm very used to this setup and I don't feel any friction when typing.
@Ruben3D
@Ruben3D Ай бұрын
How to debug typescript?
@zrxmax_
@zrxmax_ Ай бұрын
@@Ruben3D ts-node I guess
@lintaoamons5712
@lintaoamons5712 Ай бұрын
I never setup a working debug in neovim
@nikolovlazar
@nikolovlazar Ай бұрын
You mean you've never made it work or? If that's the case, let's figure it out! What's the issue?
@Heyy_manuel
@Heyy_manuel Күн бұрын
has anyone ever had problems with neotest-jest, my summary displays wrong results(failed tests) despite all test having succeeded
@nikolovlazar
@nikolovlazar Күн бұрын
I haven't noticed that issue in my setup. There are definitely some bugs 😁 oftentimes I get the green checkmarks placed on random lines where they're not supposed to be.
@khanra17
@khanra17 6 күн бұрын
Nobody should suffer like this in 2024 man. Get an actual IDE like Jetbrains and use vim motions. Stick to these toy text editors for you 500 LOC projects. But if you do actual work then gift yourself a life. __somebody had to say the truth! 🙏
@easycoders.academy
@easycoders.academy 18 күн бұрын
Thanks a lot! Great setup and explanation! It worked perfectly for some time, but now I can't use your keybindings for splitting screen in neovim (ss and sv) because it toggles flash.nvim search when I type "s" (which is a default keybinding). It's kinda weird, if i disable keymaps in flash.nvim or disable flash.nvim completely - "s" acts as a "replace and go to insert mode" Have you came across this?
@nikolovlazar
@nikolovlazar 17 күн бұрын
Yeah I also use flash.nvim, but I found that I have to pause a bit after the first "s" and then start typing the thing I'm searching for. Other than this and the obvious move the "split" to a different key, not sure how you can go around this problem. I've gotten used to the pause after hitting "s" so it doesn't cause me any issues.
How I configured nvim-dap to Debug Node.js Apps
16:56
Lazar Nikolov
Рет қаралды 14 М.
Implement Clean Architecture in Next.js
53:07
Lazar Nikolov
Рет қаралды 20 М.
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 6 МЛН
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 53 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 90 МЛН
Full Neovim Setup from Scratch in 2024
1:04:22
Henry Misc
Рет қаралды 15 М.
My Entire Neovim + Tmux Workflow As A DevOps Engineer On MacOS
1:08:17
Mischa van den Burg
Рет қаралды 167 М.
Building an asynchronous HTTP library for R (Part 2)
2:20:04
Andres Quintero
Рет қаралды 66
Learn By Building: Language Server Protocol
1:59:54
TJ DeVries
Рет қаралды 75 М.
NixOS Setup Guide - Configuration / Home-Manager / Flakes
3:01:39
Matthias Benaets
Рет қаралды 186 М.
I Resisted Building This… It was Futile
2:53:45
Linus Tech Tips
Рет қаралды 2,1 МЛН
DHH - Ruby on Rails, 37signals, and the future of web development
1:09:57
Walking Away From JavaScript
1:06:44
ThePrimeTime
Рет қаралды 206 М.
Hyprland Rices and COSMIC First Look
2:43:03
Titus Tech Talk
Рет қаралды 16 М.
Setup VSCode Like Neovim
31:51
Lazar Nikolov
Рет қаралды 8 М.
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 6 МЛН