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
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
@ 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
@@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
@@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
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.
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.
@@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.
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...
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.
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.
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.
@@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.
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! 😊
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 :)
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.
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?
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
@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.
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 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.
@@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.
@@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.
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.
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”.
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
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
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.
@@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.
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.
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..
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
Absolutely! I love it
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
@ 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
@@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
@@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
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!
Waiting to see how you find it!
the visual congruency of nvim and its parts needs a ton of love.
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.
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.
@@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.
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...
The mini.operator I find most infringing on the basic Vim bindings and something I would probably never use in my life.
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.
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.
I stand corrected :) I promise I'm going to fix this going forward
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?
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.
@@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.
Folkey sounds cute indeed
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! 😊
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 :)
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
What color theme for code is this?
cattpuccin
You answered your own question from 9:25 at 8:44 btw. Using iw applies everywhere unless you didn’t mean that
True :)
mini.nvim = cmp, git, gitsigns, neotree, indent-blankline, fidget, web-devicons, autopairs, todo... It's kinda insane how he manage all that
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.
you forgot telescope and which-key, which are huge
long waited video
🧬: "I replace neovim plugins and neovim"
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?
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
@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.
thanks for this!
amazing video! as usual
Thanks Adib!
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
no.
learn c.
what kind of developer asks another developer to do it for them instead of learning for yourself?
@@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.
@@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.
@@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.
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"
Wait, mini files is better than the goated oil nvim?
IMHO, absolutely.
try hyperland setup by ml4w
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.
All keys are configurable. You can set up 'mini.surround' in the same way as 'vim-surround', there is an example in the help.
w motion in vim means to the end of the word, while you can use W for the whole word
you mean start... e is for end.
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”.
Just use the neovim in a container thats it no config
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
LazyVim video is coming :)
I am using helix for daily drive since 1 year ago.
I get this a lot and I'm going to try it myself
i end up coming back to nvim since it does not support plugins yet
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
i think nix and lua are both usable perfectly fine
no need to have multiple layers of configs
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.
@@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.
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.
nix is already very popular. stop being cringe.
blasphemy 😂
🤣
Unless your are from early 2000s, this isn't really useful to devs without copilot-like autocompletions
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..
The thumbnail could replace the official mini.nvim logo
Exactly what I was thinking... I'll reach out to Evgeni :)