Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #16 from brysgo/neoformat
Browse files Browse the repository at this point in the history
Bind gg-G to run neoformat on current buffer
  • Loading branch information
nertzy authored Sep 28, 2017
2 parents 1fecad0 + 6385a2e commit e5e2a6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ lets you view and cycle through your previous copy and paste registers on the fl
* It also supports adding a `.projections.json` file to your project so you can teach Vim how to find the spec for the current source file. See the [README](https://github.com/tpope/vim-projectionist) for more details.
* [rainbow-parentheses](https://github.com/kien/rainbow_parentheses.vim) highlights nested parentheses, brackets, and curly braces with differing colors so you can match them up more easily.
* Use `,rp` to toggle rainbow parenthesis mode in the current file. By default it is off.
* [neoformat](https://github.com/sbdchd/neoformat) lets you run the code formatter of your choice on your code, bound to `gg-G`.

## Window Management
* [ZoomWin](http://www.vim.org/scripts/script.php?script_id=508) lets you close all other windows with `<C-w>o`. You can restore all the closed windows with the same command. Useful with `:tabo` to close everything but what you're working on.
Expand Down
1 change: 1 addition & 0 deletions init/neoformat.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nmap gg-G :Neoformat
1 change: 1 addition & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ else
Plugin 'editorconfig/editorconfig-vim'
Plugin 'tpope/vim-projectionist'
Plugin 'kien/rainbow_parentheses.vim'
Plugin 'sbdchd/neoformat'

"
" Window Management
Expand Down

0 comments on commit e5e2a6e

Please sign in to comment.