I’ve forked dotfiles, I’m now down with tmux and the rest of the party. I’ve found writing javascript frustrating. I was wondering if there are any particular techniques or plugins used for doing things like auto-adding closing parens and curly braces and placing the cursor in the natural position? I’m guessing one answer I’m given might be “coffeescript”?
1 Like
I have gotten a pretty decent setup for javascript in vim
Some useful plugins/tools
- YouCompleteMe for autocomplete
- delimitMate for automatic brace insertion
- esformatter for indentation
- tern for enhanced autocomplete sources
Check out my dotfiles here
See here for installation instructions for tern & node.js
1 Like
I am using pangloss/vim-javascript for syntax highlighting and indention support.