A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cofyc/vim-uncrustify below:

cofyc/vim-uncrustify: Use uncrustify in vim, supports range formatting.

Skip to content Navigation Menu Search code, repositories, users, issues, pull requests...

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert cofyc/vim-uncrustify Repository files navigation

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

Simply extract package into your ~/.vim folder.

Add these in your .vimrc file:

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>
About

Use uncrustify in vim, supports range formatting.

Resources Stars Watchers Forks

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4