sponsor Vim development Vim logo Vim Book Ad

vim-uncrustify : Helper to call uncrustify in vim.

 script karma  Rating 5/4, Downloaded by 480  Comments, bugs, improvements  Vim wiki

created by
Yecheng Fu
 
script type
utility
 
description
Helper to call uncrustify in vim.

```
autocmd FileType c noremap <buffer> <c-f> :call Uncrustify('c')<CR>
autocmd FileType c vnoremap <buffer> <c-f> :call RangeUncrustify('c')<CR>
autocmd FileType cpp noremap <buffer> <c-f> :call Uncrustify('cpp')<CR>
autocmd FileType cpp vnoremap <buffer> <c-f> :call RangeUncrustify('cpp')<CR>
```

See https://github.com/Cofyc/vim-uncrustify for details.
 
install details
### With pathogen

Download .tar.gz package, and extract it into ~/.vim/bundle or with `git`:

```
cd ~/.vim/bundle
git clone https://github.com/Cofyc/vim-uncrustify.git
```

### Without pathogen

Simply extract package into your ~/.vim folder.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-uncrustify-0.0.1.tar.gz 0.0.1 2015-03-20 7.0 Yecheng Fu Initial upload
ip used for rating: 18.119.105.239

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github