People might be asking the question "why switch to neovim?". In my case, it makes more sense. Although I use a MacBook Pro M1 pro which has great battery life btw, I live in Nigeria and the electricity is not constant. Sometimes I notice the macbook gets so hot and the battery keeps going down at a faster pace. I open the activity monitor and guess the culprit? Yeah VS code. I think it's also damaging the battery life. This happens every time and the culprit is always VS code. If I should quit VS code and wait some minutes, the laptop starts getting cooler and the battery stops going down at that fast pace. This is why I decided to start learning to use neovim and I'm loving it. I haven't really found the perfect configuration for flutter specifically tho
@RobertBrunhage Жыл бұрын
Great take! My reason for switching was that I thought it seemed fun, and I still do 😂
@avatar_ng Жыл бұрын
omg the flutter-watch command is amazing
@RobertBrunhage Жыл бұрын
I just wish we had flutter watch as part of the commands in Flutter haha. No worries, glad you liked it!
@mikemegalodon2114 Жыл бұрын
This is just the video i wanted, flutter neovim and tmux
@RobertBrunhage Жыл бұрын
Considering doing more content about it. I would never go back to using something else than neovim and tmux. Also it's fun :))
@guilchaves6 ай бұрын
i was assigned to a new project that uses flutter, this really helped. thank you.
@SeriousSerge Жыл бұрын
As always great video! i was just looking into starting to use nvim. I quite like vscode but ill be doing development in remote machines soon because of reasons and this fits my needs like a glove. just ssh into the remote and have nvim set up there and voila! Thanks for your great content, you''ve been alot of help
@tayabfarooq2062 Жыл бұрын
great to see you back after long time!
@RobertBrunhage Жыл бұрын
Fun to be back!
@tayabfarooq2062 Жыл бұрын
@@RobertBrunhage Sir I have one question, Sir I am using custom ML model integration in Flutter for Android & IOS but is there any way for Flutter Web? I am searching for it, for a very long time but i can not find one
@nero1375 Жыл бұрын
Do not forget about flutter-tools plugin!
@RobertBrunhage Жыл бұрын
Yeah, believe I mentioned it. Had so many small issues with it in the end that I just went to the terminal instead. I do like the terminal approach a bit more though (as long as you have Tmux or similar)
@utkarshj110 ай бұрын
here after updated lazy approach to plugins, thanks for the setup repo
@muhammadvikral4367 Жыл бұрын
I iust knows that you can watch changes like that when running flutter via terminal. I use flutter-tools atm but i hate it when my vim crashed or my lsp start doing something weird i had to restart my nvim, and my had to rerun my flutter app. Thank you so much for the runner info, it will be such a great quality of life for me
@rd_6266 ай бұрын
Honestly, this video is incredibly informative and helpful. Thank you, Robert!
@artofnessa Жыл бұрын
NeoWIN!!
@ChristianKyony Жыл бұрын
Fantastic videos for the hard-core (neo-)vimers like me. I like what you have done with flutter-watch, tmux, harpoon and also the window manager yabai as I use a MacBook Pro (I really missed xmonad).
@lukasklingsbo3391 Жыл бұрын
Good stuff! 🔥
@RobertBrunhage Жыл бұрын
Converting people 1 by 1
@Ellefsen97 Жыл бұрын
How do you set up the keybindings for the flutter related lsp, like documentation popups, see definition and autocompletion? I'm struggling with the setup
@RobertBrunhage Жыл бұрын
You can find my dotfiles but here is the related file for setting that up -> github.com/RobertBrunhage/.dotfiles/blob/main/nvim/.config/nvim/after/plugin/lsp.lua
@Ellefsen97 Жыл бұрын
@@RobertBrunhage Thanks a lot! I'm new to nvim and it's a lot to learn. Thanks to you I now got a functional nvim for Flutter development. I truly appreciate the help
@DevMartins_11 ай бұрын
Thanks man, you saved my life! =D
@albuslrc Жыл бұрын
Great video 😄
@TechBuddy_ Жыл бұрын
I created my flutter watch using the dart process spawning manually cuz I stopped using nodemon as the node executable already comes with watch flag nowadays Great video btw, harpoon helps me soo much like constantly switching between the same 3 to 4 files is sooo easy with it I can't live without it anymore
@RobertBrunhage Жыл бұрын
Oh awesome, didn't know that, would love to see the script!
@TechBuddy_ Жыл бұрын
@@RobertBrunhage I am a Lil busy rn I will send the code in discord once I am home :)
@gorudonu Жыл бұрын
I have a script to watch files and rerun tests for files that have changed.
@RobertBrunhage Жыл бұрын
@@gorudonu Oh would love to see that as well!
@hardal7 Жыл бұрын
please share!
@erlangparasu63396 ай бұрын
really helpful video thanks
@Ahmed-yr8wb Жыл бұрын
Are you back publishing content again?
@RobertBrunhage Жыл бұрын
Yee back to publishing a bit more of whatever I think is fun to publish. Got a bit burned out before and this is a bit more fun to do!
@Ahmed-yr8wb Жыл бұрын
@@RobertBrunhage oh that's wonderful news, we missed you so much 💕💕💕
@juanmacias5922 Жыл бұрын
@@RobertBrunhage yay, hope you find more fun things to share!
@gorudonu Жыл бұрын
You need a debugger with dap. That's what most neovim videos lack
@RobertBrunhage Жыл бұрын
I believe because most people using NeoVim just doesn't use the debugger. When I moved over to NeoVim I just stopped using debuggers all-together. It feels so much smoother to not use it now that I've used both. But I guess that's just personal preference. Flutter devtools always has a debugger though
@Rockem1234Ай бұрын
How do you run flutter tests from inside nvim? I'm struggling with it :(
@juanmacias5922 Жыл бұрын
I love vim commands, I just need to learn to use Harpoon, and nvim for my Flutter development lol
@RobertBrunhage Жыл бұрын
I can't go back, and highly recommend harpoon. I usually work between 1-4 files and just navigating them with keybinds is super powerful!
@caibouz3526 Жыл бұрын
Find references is too slow with dartls, did u encounter before?
@RobertBrunhage Жыл бұрын
That's just life, it can be slow in larger projects with more packages. It's the same LSP that vscode uses
@lowentropyentity11 ай бұрын
could you share your dotfiles? the nvim config is a submodule that's either private or deleted
@RobertBrunhage11 ай бұрын
Should be public now
@hyperiontitan4633 ай бұрын
I need this.
@ifqygifhaazhar87866 ай бұрын
how to use convert stateless to statefull use this nvim?
@Ask-786 Жыл бұрын
Great video :). By did you made that code action menu like that. It appears bottom of the window for me. with an option to choose corresponding number .
@nihalabdulla7282 Жыл бұрын
How do you debug your code ?
@Dev_Eli Жыл бұрын
Hi, robert. How do you debug your code?
@RobertBrunhage Жыл бұрын
I sprinkle a little print here and then a sprinkle another print there. Worst worst case I use the debugger from the devtools, never found myself needing the debugger though, was usually more pain than help
@Ematolah10 ай бұрын
Hi sir hope you are having a great day sorry to be messaging and commenting and issuing every where for you but i dont understand how i should intergrate this into my own lsp config file
@_acky Жыл бұрын
how can I install Flutter using nvchad and lazy plugin
@DartMitai6 ай бұрын
lsp inlay hints???
@deadmet219 ай бұрын
how can i setup fvm using this config?
@redsun9594 Жыл бұрын
What about breakpoint debugging?
@RobertBrunhage Жыл бұрын
I never use that nowadays but if I need it, the devtools already has a debugger docs.flutter.dev/development/tools/devtools/debugger I've also heard of people setting up github.com/mfussenegger/nvim-dap to get debugging, but as I don't use it I haven't tried
@redsun9594 Жыл бұрын
@@RobertBrunhage good stuff, I currently use VSCode vim plugin, but it's really lacking and probably this video is a wakeup call to step up my game, thanks for the amazing content!
@RobertBrunhage Жыл бұрын
@@redsun9594 I used that for quite a while and switching between that and Neovim when I first got started. But once I was able to go full NeoVim neckbeard, I never went back.
@mikemegalodon2114 Жыл бұрын
Debugging should be possible using dap
@HarshKumar-qw5ou Жыл бұрын
I edit my files on nvim but use vscode for debugging since it has such a nice debug window with colored logs and everything. Am i the only one who relies so much on that debug console. dap don't even come close to those nice nice colored logs.
@RobertBrunhage Жыл бұрын
I find that I tend to be faster without using debuggers in general with finding the cause of the issue I am having. In general I can't help much there :/
@codehunter407211 ай бұрын
How to auto format flutter ?
@RobertBrunhage11 ай бұрын
You would setup an autocommand for running dart format. I am a f kind of guy so not used autoformat for almost 3 years.
@AK-iz3nz Жыл бұрын
cool!
@M-Aisuru6 ай бұрын
I'm new to nvim and would like to know how to view errors and see what commands I can use when using control + space in vscode. Like you but in nvim