This Neovim "Plugin" Replaces 40 Others

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 89

  • @linkarzu
    @linkarzu 12 днів тому +40

    mini files is my favorite file manager in Neovim, I still use neo-tree from time to time, specially when sharing my screen with co-workers. The advanced keymaps you can create with mini.files is amazing, I created some that allow me to grab an entire directory, zip it and copy it to my system clipboard that I can then share in slack for example, or grab files from my system clipboard and paste them in mini.files and many more

    • @devopstoolbox
      @devopstoolbox  12 днів тому +4

      Absolutely! I love it

    • @joandotvandamme3340
      @joandotvandamme3340 11 днів тому +2

      I initially copied your config for mini files while adapting it to windows and linux-wayland. Ended up prefering oil so had to rethink everything and implemented it there. It's been really handy to be able to zip/copy files. Using it to quickly share code through slack and telegram too

    • @linkarzu
      @linkarzu 11 днів тому +1

      @ Interesting that you implemented the same stuff for oil, I'm pretty sure other oil users would love to have those features, so you should share them!
      And yes, oil is faster than mini.files, but I just like the preview too much

    • @joandotvandamme3340
      @joandotvandamme3340 11 днів тому

      @@linkarzu oil has preview for files, dont know if it could be made to work with images 🤔. It's in my public config at github DinDotDout. I may upload a video sometime, wouldnt mind if anyone else does it

    • @joandotvandamme3340
      @joandotvandamme3340 11 днів тому

      @@linkarzu i still lack imave preview features and paste between buffers, havent really felt the need for it yet. I have implemented mulitple selections in visual mode for both copy to cliboard and zip copy. May show it off in a vide sometime. I go by DinDotDout in github

  • @ascourter
    @ascourter 9 днів тому +4

    Great video Omer! I have been dragging my feet on adding mini and now I am going to take the plunge. Will share any things I discover along the way!

  • @garciajero
    @garciajero 9 днів тому +1

    the visual congruency of nvim and its parts needs a ton of love.

  • @anon_y_mousse
    @anon_y_mousse 11 днів тому +6

    One problem I have with all of these plugins people keep talking about is that you'd have to adjust to a completely different set of shortcuts. I use vanilla Vim, with only a few tweaks to the build configuration for mouse and global clipboard functionality, plus building support for like 4 or 5 languages and one plugin for tab completion. Of course, I've also been using Vim for 25+ years so it's a lot harder to change shortcuts at this point and I've added quite a bit to my configuration file, which might conflict with new plugins. My workflow generally consists of having 2, 3 or 4 terminals open on a given desktop and using tabs to edit files and usually one window just for project management. I use tab and s-tab to shift between tabs, and I've never really liked splits in Vim as opposed to just having a whole new terminal open, but I've really taken to using tabs.

    • @karaloop9544
      @karaloop9544 8 днів тому +1

      I'm also a long time vim user and I leave the standard shortcuts alone. I've put all the plugin functionality behind as leader key which, thanks to which-key, works fabulously. Took some care but I wanted to avoid exactly what you are concerned about: train myself towards a pimped version of vim and become helpless on machines without my particular config.

    • @anon_y_mousse
      @anon_y_mousse 8 днів тому

      @@karaloop9544 It's interesting that I see so many use ' ' as the leader key these days. I would likely accidentally trigger a bunch because I sometimes just tap the spacebar while I'm reading something. I use '\' as my leader key because I don't ever randomly type it, but that's likely just me. I might have a bit of OCD there. However, towards your configuration, if you put everything in your .vimrc then you can copy that wherever you go and be setup in one step.

    • @devopstoolbox
      @devopstoolbox  7 днів тому +1

      A comment I made here earlier:
      Vanilla vim is the absolute best way to learn the basics. My first few months forcing my self to learn vim was uninstalling all other text editors, canceling my arrow keys and holding an empty list of plugins.
      With progression towards language servers and parsers, then text objects and even AI, I feel like my workflow grows with me.
      I don't find any conflicts with the basics, just improvements. Maybe that's the point - if you have solid foundations, you can make sure the surrounding addons don't create any bad habits or conflicting mappings.
      I do get the appeal of a vanilla setup, but with everything the community has to offer today, I can't hold myself back.
      Addressing the one important key metric I look at when it comes to my setup: I enjoy doing my work much more like that...

    • @AhmadMughal1
      @AhmadMughal1 6 днів тому +1

      The mini.operator I find most infringing on the basic Vim bindings and something I would probably never use in my life.

    • @mthalter
      @mthalter 5 днів тому +1

      Context matters a lot, I think.
      I use Lazyvim as my main editor, but still use vanilla vim for work since I also have to manage a few dozen virtual machines and the like. My brain can distinguish between the two and change muscle memory accordingly.
      It helps that I use Lazyvim on the terminal and use putty for the vms, so they're visually distinct.

  • @RobertFletcherOBE
    @RobertFletcherOBE 12 днів тому +38

    I grew up with a 'folke'. it's a german name pronounced 'fol-kah' (with a bit of v on the f). I keep seeing the lads name said wrong. My favorite is fol-key which makes him sound quite adorable.

    • @devopstoolbox
      @devopstoolbox  12 днів тому +3

      I stand corrected :) I promise I'm going to fix this going forward

    • @linkarzu
      @linkarzu 11 днів тому +1

      Most times I call him fol-key, others have told me it's folk, so I just don't know what to do anymore. Fol-kah then?

    • @mintcar
      @mintcar 11 днів тому +2

      I think he might be from Belium though. I read he went to school in Ghent. No idea how they pronounce it. It's a name in Sweden too, pronounced Folk-eh.

    • @cr4h4n
      @cr4h4n 11 днів тому +1

      @@mintcar that's correct. Folke hails from Belgium. Source: I used to work in the same startup space where his company Engagor was located back in the day.

    • @twb0109
      @twb0109 8 днів тому

      Folkey sounds cute indeed

  • @wertelyu
    @wertelyu 5 днів тому

    I hope you’re doing well!
    I’ve been following your content on tmux and nvim, and I really appreciate the insights you provide. Your videos have been incredibly helpful in understanding how to customize and optimize these tools on a local machine.
    I was wondering if you could share some practical tips on using tmux in a remote server environment. Specifically, do you configure tmux and nvim on remote servers as well, or do you stick with default settings remotely and rely on your custom setup only on your local machine?
    I’d greatly appreciate any thoughts you might have on how to efficiently manage tmux configurations across different environments.
    Thanks in advance for your time, and keep up the great work! 😊

    • @devopstoolbox
      @devopstoolbox  5 днів тому

      Thanks man!
      As for remote servers, working on scaleable cloud platforms using K8s mostly, in my world when I SSH intro a remote shell something had gone terribly wrong, so I can't comment on setting up anything remotely.
      In the past I used to replicate my dotfiles mainly for tmux and zshrc with a couple of simple scripts that I'd install using scp.
      Today I'd probably use Nix as my best option or something like chezmoi for syncing dotfiles. However it's not something I have to deal with :)

  • @ПоспеловНикита
    @ПоспеловНикита 11 днів тому +3

    9:14 try iw like inner word or whatever that means - in a standard vim style that should operate a word from start to end

  • @VyacheslavVoytenok
    @VyacheslavVoytenok 8 днів тому +2

    What color theme for code is this?

  • @neveralegend-kt8rd
    @neveralegend-kt8rd 12 днів тому +5

    You answered your own question from 9:25 at 8:44 btw. Using iw applies everywhere unless you didn’t mean that

  • @thomasbuihere
    @thomasbuihere 11 днів тому +8

    mini.nvim = cmp, git, gitsigns, neotree, indent-blankline, fidget, web-devicons, autopairs, todo... It's kinda insane how he manage all that

    • @echasnovski
      @echasnovski 11 днів тому +12

      Mostly thanks to spending a lot of free time on it and having most of the released modules basically "done". There will be some of the features/fixes here and there, but usually not that huge of a maintenance burden.

    • @ky3ow
      @ky3ow 11 днів тому +2

      you forgot telescope and which-key, which are huge

  • @mageshyt2550
    @mageshyt2550 12 днів тому +4

    long waited video

  • @dj-maxus
    @dj-maxus 11 днів тому +5

    🧬: "I replace neovim plugins and neovim"

  • @ricardokullock2535
    @ricardokullock2535 11 днів тому +2

    I've been considering trying it out... and you got me, I'll try to replace some of the old stuff.
    Does the animation one conflicts with stuff from snacks?

    • @devopstoolbox
      @devopstoolbox  7 днів тому +1

      I don't think it does, and I try to stay away from optional animation addons (performance + lack of improvement to my workflow). That said, I am trying lazyvim in the past couple of weeks which comes with some animations by default. Can't say I dislike it but other than a nice visual it doesn't add much

    • @ricardokullock2535
      @ricardokullock2535 7 днів тому

      @devopstoolbox I've been using Lazy, but not the full Lazynvim. I don't like the idea of setting so much automatically. I prefer thinking about how I want it.

  • @ali2kan
    @ali2kan 11 днів тому +1

    thanks for this!

  • @adibhanna
    @adibhanna 11 днів тому

    amazing video! as usual

  • @alijabrayilzade3568
    @alijabrayilzade3568 11 днів тому +2

    hi great video can you please make complete laravel setup in neovim(I could not found treesitter for blade templates) and tailwind css support as well
    - laravel php autocomplete
    - blade theme and autocomplete
    - tailwind-css support

    • @ags2099
      @ags2099 11 днів тому

      no.
      learn c.

    • @anonlegion9096
      @anonlegion9096 11 днів тому +1

      what kind of developer asks another developer to do it for them instead of learning for yourself?

    • @alijabrayilzade3568
      @alijabrayilzade3568 11 днів тому

      @@ags2099 I am not against it learning c but current job I am using laravel and vscode with nvim extension. I wanted to switch neovim but sope parts doesnt work I expected.

    • @alijabrayilzade3568
      @alijabrayilzade3568 11 днів тому

      @@anonlegion9096 I am junior dev. I currently using vscode with neovim extension. if you are asking I made vscode feel like neovim as much as possible. But I now wanted to switch to neovim couple of times tried and some parts really dont work treesitter for blade it doesn't work. And sometimes lost too much time configuring it.

    • @jonatasbaldan
      @jonatasbaldan 11 днів тому

      ​@@alijabrayilzade3568 Feel's like you just following a trend without knowing what the tools was made for.
      Stick with vscode with all the extensions (laravel team just drop their oficial extension for vscode) with vim motion, and continue your journey to become a dev. Being a "junior dev" is not a excuse, it seems you don't even know the pourpose of nvim.

  • @AhmadMughal1
    @AhmadMughal1 6 днів тому

    9:24 I would believe that to be intended behavior and if you want the surrounding to be the entire word you can use "iw" instead of "w"

  • @cariyaputta
    @cariyaputta 10 днів тому +1

    Wait, mini files is better than the goated oil nvim?

  • @naranyala_dev
    @naranyala_dev 8 днів тому +1

    try hyperland setup by ml4w

  • @cpakkala
    @cpakkala 11 днів тому +1

    Looks great. I love minimalism; however I NEED the first part of any normal mode command to be a verb, because I'm giving it an imperative. It should be "delete surrounding quote", not "surround delete a quote". The latter reminds me of the Kakoune method of putting the object before the noun.

    • @echasnovski
      @echasnovski 11 днів тому

      All keys are configurable. You can set up 'mini.surround' in the same way as 'vim-surround', there is an example in the help.

  • @Ziggurat1
    @Ziggurat1 11 днів тому +1

    w motion in vim means to the end of the word, while you can use W for the whole word

    • @PaulSebastianM
      @PaulSebastianM 11 днів тому

      you mean start... e is for end.

    • @robertsteele6415
      @robertsteele6415 11 днів тому

      Almost correct. “w” refers to a word text object. “W” refers to a collection of characters until the first white space character. Both will begin their selection at the cursor but can be modified to select the entire word/unbroken character chain with “i” or “a”.

  • @myselfakashagarwal
    @myselfakashagarwal 11 днів тому +2

    Just use the neovim in a container thats it no config

    • @devopstoolbox
      @devopstoolbox  7 днів тому

      Nothing wrong with vanilla vim! TBH, it's the absolute best way to learn the basics. My first couple of months forcing my self to learn vim was uninstalling all other text editors, canceling my arrow keys and holding an empty list of plugins installed. raw dog it

  • @ეროვნებითქართველი

    snacks + mini => should be de-facto standard for necessary plugins for nvim

  • @2ndbrain108
    @2ndbrain108 7 днів тому +1

    I am using helix for daily drive since 1 year ago.

    • @devopstoolbox
      @devopstoolbox  7 днів тому

      I get this a lot and I'm going to try it myself

    • @crono102
      @crono102 2 дні тому

      i end up coming back to nvim since it does not support plugins yet

  • @shyampadia
    @shyampadia 12 днів тому

    Man you diching nix hm is like a stab in the back. You should really consider adding it back with out of store symlinks. That will solve the problem you were facing. Nix is awesome we need more developers using it

    • @RenderingUser
      @RenderingUser 11 днів тому +1

      i think nix and lua are both usable perfectly fine
      no need to have multiple layers of configs

    • @subatomicmolecules
      @subatomicmolecules 11 днів тому +2

      Nix is an overcomplication trying to shoehorn declarative config and immutability where it shouldn't, things not "just working" like they would normally, and all that for the sake of being able to reproduce your config across your 1 device.
      The nix package manager is an interesting concept, but the hype is massively overblown.

    • @RenderingUser
      @RenderingUser 11 днів тому +1

      @@subatomicmolecules nix package manager is great. There's 0 complicated things about it. It's easy to read and modify. And it's thus far the single biggest package repository on Linux.

    • @RenderingUser
      @RenderingUser 11 днів тому +1

      the package manager is great. There's 0 complicated things about it. It's easy to read and modify. And it's thus far the single biggest package repository on Linux.

    • @solitudesf8111
      @solitudesf8111 9 днів тому +1

      nix is already very popular. stop being cringe.

  • @gurdeepgss
    @gurdeepgss 12 днів тому +2

    blasphemy 😂

  • @henry-the-dog-and-steve
    @henry-the-dog-and-steve 3 дні тому +1

    Unless your are from early 2000s, this isn't really useful to devs without copilot-like autocompletions

    • @devopstoolbox
      @devopstoolbox  3 дні тому +1

      Hmmm why not? It doesn't conflict with having autopilot on.
      Most of my code, even the bits generated by AI requires changing, and having the fastest environment to do so is more important than ever..

  • @m4saurabh
    @m4saurabh 12 днів тому +3

    The thumbnail could replace the official mini.nvim logo

    • @devopstoolbox
      @devopstoolbox  12 днів тому

      Exactly what I was thinking... I'll reach out to Evgeni :)