In order to get node.js completion with tern, you will need a .tern-project
file. A sample file is included below.
Place the .tern-project
file inside your project directory. You can also have a global ~/.tern-project
file located in your home directory
- Another installation guide http://ahalbert.nfshost.com/Tech/Installing_Tern_for_Vim.html
- Tern keyboard shortcuts in vim http://usevim.com/2013/05/24/tern/
- PDF of shortcuts http://usevim.com/files/tern_keyboard.pdf