DEV Community

Bharat Makwana
Bharat Makwana

Posted on • Originally published at bharatmk256.hashnode.dev

Using VIM as your Flutter IDE

Today we are going to setup vim as your Flutter IDE

If you have not installed Vim, consider installing NeoVim in your machine.

Once you have installed Vim in your machine you need to have plugin manager for vim

I Use Vim plug:

Once you have Vim plug installed you have to created .vimrc file (If you are on neo vim you have to create init.vim)

After that you have to install plugin inside VIM via Vim plug

In your .vimrc add these 2 lines

Plug 'dart-lang/dart-vim-plugin'
Plug 'thosakwe/vim-flutter'
Enter fullscreen mode Exit fullscreen mode

Once you added these 2 lines run:

:source %
:PlugInstall
Enter fullscreen mode Exit fullscreen mode

Done: you have installed Flutter in Your Vim setup now you can run flutter app via:

:FlutterRun <args>
Enter fullscreen mode Exit fullscreen mode

For more you can find more commands here: https://github.com/thosakwe/vim-flutter

Discussion (0)