I downloaded jsbeautify.vim from http://www.vim.org/scripts/script.php?script_id=2727
So where do I put jsbeautify.vim ? In ~/.vim/ or ~/.vim/ftplugin/ ?
After I position the plugin file, I will vim somefile.js containing javascript code without any newlines (difficult to read).
How do I invoke the plugin to pretty the code make it readable (exactly what key sequence).
How do others read/edit large crunched javascript code files (like firefox or chrome extensions)?
Fyi: this is a chrome extension so the files are overly large to cut-paste into an web-based tool. I really just want to edit the file in-place to fix a bug, test theories.
Thanks, - Greg