Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
use js-beautify from Vim
branch: master

This branch is even with bigfish:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
after/ftplugin
bin
README.mkd

README.mkd

Vim JS Beautify

Uses Node.js to run js-beautify on the current buffer.

Requires: Node.js

Usage:

:JSBeautify

Processes whole file by default, but using a range may also work.

You could map to a key in .vimrc, eg:

nmap <leader>b :JSBeautify<cr>

Warning: may take a while for large files

Something went wrong with that request. Please try again.