Artistic Style code formatter plugin for Vim/GVim
Put 'artistic_styler_console_direct.vim' file directly into the 'plugin' folder or use a plugin manager such as https://github.com/junegunn/vim-plug.
- Style Java (minimal): Leader+ft1 (i.e. \ft1)
- Style BSD (minimal): Leader+ft2 (i.e. \ft2)
- Style GNU (minimal): Leader+ft3 (i.e. \ft3)
- Write & Format [Style Java (minimal)]: Command
:Was
(:W
to Write/Save,as
-> Artistic Style)
Can be operated from the Toolbar in GVim.
NOTE: Copy 'bitmap' folder to your HOME directory, i.e., %userprofile%\.vim
or %userprofile%\vimfiles
(on Windows) or ~/.vim
(on Linux) if you are using a plugin manager. For example, vim-plug stores all the plugins into the 'plugged' folder. Toolbar icons will not be loaded from %userprofile%\.vim\plugged\artistic_styler_console_direct.vim\bitmaps
directory. Icons can only be loaded from %userprofile%\.vim\bitmaps
folder.