My Neovim Dev Workflow

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

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

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

    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

  • @SayfSentinel
    @SayfSentinel หลายเดือนก่อน +5

    Niiiiice, this kids of video is WAY better than a Netflix series.

  • @sidaliassoul408
    @sidaliassoul408 หลายเดือนก่อน +3

    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 23 วันที่ผ่านมา +1

    Probably the best channel I‘ve found this year. Very excited for your clean architecture guide in next.js

    • @nikolovlazar
      @nikolovlazar  23 วันที่ผ่านมา +1

      Ah thank you!

  • @rvft
    @rvft 26 วันที่ผ่านมา +1

    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  26 วันที่ผ่านมา

      Let me know how it goes, or if you get stuck somewhere!

  • @DraciVik
    @DraciVik 13 วันที่ผ่านมา

    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 10 วันที่ผ่านมา

    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  10 วันที่ผ่านมา

      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 28 วันที่ผ่านมา

    Odlicno Lazar, blagodaram!

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

    Was looking for this only😊

  • @AizazShahid-ck8cn
    @AizazShahid-ck8cn 24 วันที่ผ่านมา

    Beautiful!

    • @AizazShahid-ck8cn
      @AizazShahid-ck8cn 24 วันที่ผ่านมา +1

      My neovim setup is functionally maybe even better than yours(for me) but yours is so much more beautiful.

  • @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.

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

    cool setup!

  • @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  หลายเดือนก่อน +1

      Woah I very much prefer it with borders. Thanks for this!

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

    I'll be configuring this setup on weekend. Thanks again🫡🫡

  • @shrewd7795
    @shrewd7795 18 วันที่ผ่านมา

    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  18 วันที่ผ่านมา +1

      Def the best theme I’ve put together 😁 it’s just cyberdream with that blurred background.

    • @shrewd7795
      @shrewd7795 18 วันที่ผ่านมา

      @@nikolovlazar You bet!

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt หลายเดือนก่อน

    wow, thank you very much

  • @ilyeshammadi7278
    @ilyeshammadi7278 20 วันที่ผ่านมา

    Three things we have in common: Neovim, ZSA Voygaer and PRS 🤜🏼🤛🏼

    • @nikolovlazar
      @nikolovlazar  20 วันที่ผ่านมา +1

      A man of culture! Love it!

  • @r2-p2
    @r2-p2 8 วันที่ผ่านมา +1

    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  7 วันที่ผ่านมา +1

      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.

  • @yoryerpy
    @yoryerpy 27 วันที่ผ่านมา

    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  27 วันที่ผ่านมา +1

      Thanks! I just used the Nerd Font patch tool. It wasn't too complicated as much as I remember it.

    • @yoryerpy
      @yoryerpy 26 วันที่ผ่านมา

      @@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!

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

    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  หลายเดือนก่อน +1

      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

  • @saeedxgholami
    @saeedxgholami 20 วันที่ผ่านมา

    You can make split with telescope using ctrl + v and ctrl + x on telescope file picker

    • @nikolovlazar
      @nikolovlazar  19 วันที่ผ่านมา

      Nice! I didn't know this. Thanks!

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

    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!

  • @DigitalAlchemyst
    @DigitalAlchemyst หลายเดือนก่อน +3

    How long did it take you to get adjusted to this type of set up.

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

      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 หลายเดือนก่อน +1

      @@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  หลายเดือนก่อน +1

      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

  • @ekekw930
    @ekekw930 26 วันที่ผ่านมา +1

    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  26 วันที่ผ่านมา +2

      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.

  • @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 26 วันที่ผ่านมา

      @@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 3 วันที่ผ่านมา

      Same here with iTerm cmd-d/cmd-shift-d. Pre configuring sessions would be nice though.

  • @Sina-sd4zi
    @Sina-sd4zi 8 วันที่ผ่านมา

    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  7 วันที่ผ่านมา +1

      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 7 วันที่ผ่านมา

      @@nikolovlazar thanks i am currently using your dotfile for nvim config and i love it

  • @AizazShahid-ck8cn
    @AizazShahid-ck8cn 21 วันที่ผ่านมา

    I could not get the borders for hover work for me. The other ones work just fine. I am using tokyonight

    • @nikolovlazar
      @nikolovlazar  19 วันที่ผ่านมา

      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.

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

    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 หลายเดือนก่อน +2

      I have not seen him use VS code before

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

      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: th-cam.com/video/JRnwt7oT1ZE/w-d-xo.html

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

      @@DigitalAlchemyst Thank you

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

      @@nikolovlazar Thank you for this. Chcecking it out now.

  • @danielbergfrederiksen3731
    @danielbergfrederiksen3731 23 วันที่ผ่านมา

    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  23 วันที่ผ่านมา +1

      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 15 วันที่ผ่านมา

    It looks like you tweaked your headline zsh theme a little bit. Can you add it to your dotfiles?

    • @nikolovlazar
      @nikolovlazar  15 วันที่ผ่านมา +1

      Oh you're right! I pushed a new commit that adds it. Thanks!

    • @brunocmesquita
      @brunocmesquita 14 วันที่ผ่านมา +1

      @@nikolovlazar Thank you!

  • @Noobhacker-d6m
    @Noobhacker-d6m หลายเดือนก่อน

    definitely earned my sub but I was wondering what font are you using for this?

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

      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 😁

  • @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_ หลายเดือนก่อน +1

    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?

  • @khanra17
    @khanra17 18 ชั่วโมงที่ผ่านมา

    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 12 วันที่ผ่านมา

    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  12 วันที่ผ่านมา

      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.