My Entire Neovim Setup From Scratch After 8 Years

  Рет қаралды 26,558

DevOps Toolbox

DevOps Toolbox

Күн бұрын

After delaying it over and over - this my entire Neovim setup from scratch. Lua files, plugin structure, what I use daily and how I configure everything.
Ways to support this channel:
🎓 My course: learn.omerxx.com/courses/seco...
📰 Become a better engineer in just 3 minutes a week: signup.omerxx.com
⌨️ Tech I use: kit.co/omerxx/my-battle-station
LINKS
▶ My Nvim config with every plugin mentioned: github.com/omerxx/dotfiles/tr...
▶ Taking notes with Obsidian and Neovim video: • The Holy Grail of Neov...
▶ Building a Second Brain with Neovim in under 90 minutes: learn.omerxx.com/courses/seco...
⏱ Timestamps
00:00 - Intro
01:04 - Structure
01:45 - Keymaps
02:15 - Lazy plugins
02:45 - Gitsigns + Lualine
03:14 - Editor options + Debugger
03:38 - Telescope + Treesitter
05:21 - LSPs
06:08 - Trouble
06:44 - Note taking and writing
07:42 - Neogit
08:20 - Noice + Notify
#neovim #vim #nvim #config #dev #devops #software #development

Пікірлер: 79
@devopstoolbox
@devopstoolbox 15 күн бұрын
Join 2000+ subscribers getting one dev/sec/ops tip every Friday: signup.omerxx.com
@typecraft_dev
@typecraft_dev Ай бұрын
this is a GREAT config!
@hydranooni
@hydranooni Ай бұрын
Hi, Nerd!
@PetrenkoAndrii
@PetrenkoAndrii 28 күн бұрын
Thanks, Nerd!
@assafxdori
@assafxdori 24 күн бұрын
What a beast of config! Thank you for sharing with us.
@Markadown
@Markadown 29 күн бұрын
I always love seeing people's setup. Great video.
@Mortonbel
@Mortonbel 27 күн бұрын
Great config, thank you!
@adibhanna
@adibhanna Ай бұрын
amazing video! love your setup!
@devopstoolbox
@devopstoolbox Ай бұрын
Some day I’ll get to your level of aesthetics 😉
@fixer8173
@fixer8173 29 күн бұрын
Great stuff here, love your content
@bobby9568
@bobby9568 18 күн бұрын
Amazing! We're waiting for the usage from scratch video :)
@tihon4979
@tihon4979 29 күн бұрын
Awesome!!! 👍👍👍
@jonathanjohnston9272
@jonathanjohnston9272 14 күн бұрын
Nice video! Thanks! I appreciate the chapter marks. Long-time (1996) Vim user, but still a nvim newbie. I'll want to checkout some of those plugins. OTOH, I don't appreciate the sentiment that _real_ Vim usera don't use tabs. I've been using them since Vim added them. They make for handy workspaces, somewhat like workspaces in i3-wm (Linux)
@devopstoolbox
@devopstoolbox 14 күн бұрын
Yep, take these stances with a grain of salt :) If it's a feature there's no "real users do X" .. it was my way of letting new neo/vim users to learn about buffer managment and how they differ from what people normally know about them coming from traditional IDEs
@rodelias9378
@rodelias9378 18 күн бұрын
Cool video Thank you
@Zwk-kb9yc
@Zwk-kb9yc Ай бұрын
Nice :D !
@ggrl
@ggrl Ай бұрын
wow! just wow!
@IainSimmons
@IainSimmons 29 күн бұрын
Great video, I'll have to steal some of those keymaps! On that topic, is there a particular reason you use the older vim.api.nvim_set_keymap vs the newer vim.keymap.set in a bunch of places?
@devopstoolbox
@devopstoolbox 29 күн бұрын
Laziness mainly ;) I focused on moving to lua config files and there are some leftovers. Since I rarely ever change them I never bothered. You’re right though 😅
@Lusit2306
@Lusit2306 Ай бұрын
Very cool config. I've heavily followed your repo to learn neovim. One thing i find that it misses is plugins lazy loading. At one point my config was too heavy and took like 200ms to open neovim which is noticeable and was annoying. That's when i fell in lazy loading rabbit hole. One exemple with harpoon, i've lazy loaded on Keys event since it's not mandatory on startup. Now my conf takes 60ms to load.
@devopstoolbox
@devopstoolbox Ай бұрын
You’re 100% right. It’s an optimization I’ve delayed for too long. Will happen soon!
@Lusit2306
@Lusit2306 29 күн бұрын
@@devopstoolbox can't wait for the optimization video !
@comeraczy2483
@comeraczy2483 28 күн бұрын
Thanks for sharing. At 8:00, did I hear it right? "It copies my code, as an image"? I understand that, if they need to, people can take their phone to turn the image back into an usable form, but why would you ever share code as an image?
@devopstoolbox
@devopstoolbox 28 күн бұрын
Yes exactly. My main 2 use cases : 1. As examples shared on written blogposts / news letters 2. Bits of code shared with coworkers over slack / slides to cover software / new feature or discuss a concept
@xalium
@xalium 29 күн бұрын
I think new version of neovim has comment fn as a native feature. gcc works out of box. Unless there’s any other reason to use that plugin?
@IainSimmons
@IainSimmons 29 күн бұрын
Yes, in Neovim 0.10.0 native commenting was added. It's based on mini.comment, which was also Inspired by a few of the other main ones. Also I think the keymaps to go to the previous/next diagnostic with [d and ]d are now built-in to Neovim 0.10.0 too
@zutt3567
@zutt3567 29 күн бұрын
hey what's that ltree command you used to show the folders in such a nice way? im on ubuntu and cant seem to download it using snap or apt. and how do you get those autocompletes to come up for your commands? such as when you type a part of a command, the rest of it comes up with a lower opacity and you can press tab to autocomplete it
@devopstoolbox
@devopstoolbox 29 күн бұрын
So “lt” is a mapping I have for eza with the tree flag (see line 100: github.com/omerxx/dotfiles/blob/master/zshrc/.zshrc) ltree is the same as lt but without “-long” it’s a temporary mapping I created for the video :)
@zutt3567
@zutt3567 29 күн бұрын
@@devopstoolbox ah I see, thanks. I'll check it out. could you explain the auto completes in the terminal if that's fine with you?
@devopstoolbox
@devopstoolbox 29 күн бұрын
@@zutt3567 oh yeah - this is zsh autosuggestions - github.com/zsh-users/zsh-autosuggestions Also on my dotfiles (zshrc line 12)
@zutt3567
@zutt3567 29 күн бұрын
@@devopstoolbox I see. Thanks! great video btw
@John-Dennehy
@John-Dennehy 15 күн бұрын
Just paused the video and spent an hour looking for the same thing, before thinking to ask here. Annoyingly I already had eza installed but just didn't realise it could look this nice
@itisciprian
@itisciprian 28 күн бұрын
i was wondering for sometimes what layout you use for the keyboard ? Colemak DH or Workman or something else? - Make a video about it
@devopstoolbox
@devopstoolbox 28 күн бұрын
Good old qwerty :) Never had RSI and while I’d love to take a stub at it at some point where ever I asked people told me it’s more about convenience rather than speed. And, it takes a huge effort to make the change so 🤷
@topcivilian
@topcivilian Ай бұрын
excellent video, my friend you have a new subscriber I would like to see more of these beginner videos, I have a fresh linux installation with vanilla neovim and want to make it as productive as your setup, however, all of these features are a bit overwhelming, lol, so I will need to rewatch this 😊
@devopstoolbox
@devopstoolbox 29 күн бұрын
I totally get it. This is part showing what Neovim can do, and part giving you space and direction to get started small and grow. Happy to hear it helps and I hope you'll enjoy the next ones!
@n0kodoko143
@n0kodoko143 28 күн бұрын
@himanshuwiz
@himanshuwiz 28 күн бұрын
I tried neovim and setup all the configs and keybinding according also integrated the git with it but dont know why i feel more productiive on vs code
@devopstoolbox
@devopstoolbox 27 күн бұрын
Hmm my honest take: we’re not all the same. Some would love the idea of moving around quickly, get the hang of it and invest time in making it work (sometime too much time). On the other hand, others don’t want to go through a steep learning curve, and just wanna get things done with vscode. If vim motions are enough for you there’s nothing wrong with that 🤷‍♂️. One thing to note - it takes time to get used to! So if you feel you’ve “wasted” too much of it, change to a setup that works for you
@lordarturo117
@lordarturo117 21 күн бұрын
Do you still use Neorg? Or does Obsidian cover all your note-taking needs?
@devopstoolbox
@devopstoolbox 21 күн бұрын
Mainly obsidian. Kept using Neorg for a while for project specific stuff but I slowly forgot syntax and tricks so moved back to the comfort of markdown 😎
@lordarturo117
@lordarturo117 21 күн бұрын
@@devopstoolbox I was looking at switching the other way and really enjoyed your video about it 😎
@devopstoolbox
@devopstoolbox 21 күн бұрын
@@lordarturo117 :)
@LGXerxes
@LGXerxes 21 күн бұрын
What do you use for tenting keyboard?
@devopstoolbox
@devopstoolbox 21 күн бұрын
I'm using ZSA's platform. BUT - it's quite pricey and while I really like it, there are great 3d print-able models on their website that you can get yourself for a faction of the price. That said, the platform is solid, super easy to setup, and I haven't moved it an inch since I got it (4 month ago)
@LGXerxes
@LGXerxes 21 күн бұрын
@@devopstoolbox I see, am currently looking for something like the ZSA's platform but for my glove80. But it might be a good excuse to buy a printer and diy something.
@devopstoolbox
@devopstoolbox 20 күн бұрын
@@LGXerxes How do you like glove80? I'm really curious, I love the moonlander, and I don't think I can give it up but the typing experience is not as good as I used to have with kb's like the HHKB for example
@alexandrufasoleac627
@alexandrufasoleac627 28 күн бұрын
Nice Video! Congrats. I tried to battle with LSP (vue 2 and 3) for some days now... getting frustrated :) is there anyone who has a configuration that works properly from LSP pov?
@devopstoolbox
@devopstoolbox 27 күн бұрын
Thanks! You mean specifically for js? Checkout “dreamofcode” or “devaslife” they may have some useful stuff for you
@fraga3477
@fraga3477 Ай бұрын
Could be installed in Windows? I'm learning C# and it's better to use, edit, create API's, etc... in windows.
@simonelungarella9000
@simonelungarella9000 Ай бұрын
Yes, It's pretty easly installable on windows. I've started with kickstart as suggested in the video, if you follow the repo there are some raccomandation on windows installation.
@devopstoolbox
@devopstoolbox Ай бұрын
I don’t see why not. All of these should work on windows just as well!
@iyar220
@iyar220 22 күн бұрын
I love the config but it fails completely with jdtls and i just cannot fix it :( i have to use java a lot so it's a dealbreaker
@devopstoolbox
@devopstoolbox 22 күн бұрын
Oh man. I wish I could help... If you do find a way LMK and I'll make to sure to add it to the readme of my dotfiles
@iyar220
@iyar220 22 күн бұрын
@@devopstoolbox Thank you, I'll let you know. For now my broken solution is to have neovim load my former config if it's a .java file, and your config if it's any other file lol
@kamalkamals
@kamalkamals 21 күн бұрын
why not using nvimtree ? because the files explorer display by default and there is no keymap to toggle, hide & diplay !!!
@devopstoolbox
@devopstoolbox 21 күн бұрын
You're right, but long ago, thanks to DAS (Destroy All Software), I learned that having a file explorer is detrimental to productivity. If you know your project, going through files should be done with a fuzzy searcher. This was in the pre-fzf era, and I believe he called it "leader-c". In an event, with a fuzzy searcher, it's +1/2 characters and you're there. Paired with good buffer management, and you're flying 300% faster between files than you would have with a visual tree. I get that its not everyone's first choice, but I've doing it for over a decade and only when I'm completely unfamiliar with a repo / files structure I'd pop the tree
@kamalkamals
@kamalkamals 21 күн бұрын
@@devopstoolbox yes agree it s depend to each user, but after test ur nvim configs from github, files explorer display by default so how can hide ?
@devopstoolbox
@devopstoolbox 20 күн бұрын
@@kamalkamals Not sure why it's on by default, but you have nvimtree toggle and hide commands from your nvim command
@kamalkamals
@kamalkamals 20 күн бұрын
@@devopstoolbox first plugin nvimtree is not on ur config so must to add with custom keymap set
@x86sapien
@x86sapien 18 күн бұрын
How to turn off the notification popups that appear in right corner. They are annoying
@devopstoolbox
@devopstoolbox 18 күн бұрын
You can either get rid of vim notify or use NoiceDismiss
@x86sapien
@x86sapien 17 күн бұрын
@@devopstoolbox I did both but the popups in the right low corner are still there. It send notification even if lsp is activated. That is everytime i code
@devopstoolbox
@devopstoolbox 17 күн бұрын
@@x86sapien that’s strange not sure what are these that’s popping 😳
@tsukinoko_kun
@tsukinoko_kun 29 күн бұрын
Didn't talk about harpoon? 🤨
@devopstoolbox
@devopstoolbox 29 күн бұрын
Yeah, the main reason is, I find Harpoon a little funky. It used to be great, and then it started losing touch with my mappings. Even with V2 it feels like it's either not suited for my needs or just moves around in a way I don't get. It's still part of my workflow and I think I need to invest some time in figuring out whats going on. Can't review with honesty at the moment though.
@willernst
@willernst 29 күн бұрын
@@devopstoolboxit’s not something I’ve really incorporated heavily into my workflow, but I gave up on Harpoon and switched to Grapple with much better success.
@perlance1337
@perlance1337 5 күн бұрын
This is really good, however, sending code as image files should be a warcrime.
@devopstoolbox
@devopstoolbox 5 күн бұрын
I find myself do it quite often to show examples - refer to a public source quote in a nicer more readable way
@abrarmasumabir3809
@abrarmasumabir3809 29 күн бұрын
if you are not using your HHKB then give it to me : )
@devopstoolbox
@devopstoolbox 29 күн бұрын
It has served me for so long and I invested so much in making it even better than what it was that I'm having hard time letting go... Maybe I'll do a give-away sometime :)
@abrarmasumabir3809
@abrarmasumabir3809 29 күн бұрын
​@@devopstoolbox If you do, then please consider giving it to me. I am going to graduate from high school and probably will take cs as my major in college.
@ianmarteens
@ianmarteens 28 күн бұрын
I hate vim, neovim and even dev ops. I’m a real programmer: I deal with maths, algorithms and data structures. These thingies are a actual waste of time. It distract potentially useful people from doing useful things. I just refuse to follow the stupid fads.
@devopstoolbox
@devopstoolbox 27 күн бұрын
Ok! 👌
@loo_9
@loo_9 26 күн бұрын
I hate VS Code, JetBrains, and even web dev. I’m a real developer: I deal with data structures, algorithms and maths. These thingies are a waste of time. It distract potential useful people from doing useful things. I refuse to follow the stupid fads.
@ianmarteens
@ianmarteens 25 күн бұрын
@@loo_9 even parody requires some brains. A hard fact of life, I’m sorry.
My Neovim & Tmux Terminal Dev Workflow As A Principal Engineer
9:22
DevOps Toolbox
Рет қаралды 37 М.
How to Push Code to Github from Visual Studio Code (2023)
9:00
The Code City
Рет қаралды 98 М.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 90 МЛН
this new windows feature should make you VERY nervous
9:34
Low Level Learning
Рет қаралды 165 М.
This Keyboard Sounds Poppy?
0:58
Hipyo Tech
Рет қаралды 8 МЛН
Which PLUGIN IS THE BEST for Neovim/Git? (PRACTICAL EXAMPLES included)
8:32
Why Is C SO Dangerous?  #programming #coding #lowcode
0:51
Low Level Learning
Рет қаралды 1,9 МЛН
I Used ONLY A Keyboard For 30 Days - Here's What I Found!
8:23
DevOps Toolbox
Рет қаралды 10 М.
Tmux From Scratch To BEAST MODE
12:44
DevOps Toolbox
Рет қаралды 97 М.
I Rewrote My Entire Neovim Config...
11:09
TJ DeVries
Рет қаралды 37 М.
From 0 to IDE in NEOVIM from scratch | FREE COURSE // EP 1
19:48
Samsung S24 Ultra professional shooting kit #shorts
0:12
Photographer Army
Рет қаралды 34 МЛН
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 534 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 1,7 МЛН
SSD с кулером и скоростью 1 ГБ/с
0:47
Rozetked
Рет қаралды 657 М.