ternjs/tern_for_vim

Keyboard shortcuts not working

Opened this issue · 2 comments

I had the plugin working well along with Neocomplete, but the problem is keyboard shortcuts like
td :TernDoc
tt :TernType

etc are not working . I have phpcomplete installed along with Neocomplete . Do somebody having the same problem ?

Make sure you are doing

<Leader>tt :TernType<CR>

Without the it will not actually run the command (it's a macro to hit enter for you).

The maplocalleader and tern_map_keys variables should be set in order keybindings to work.

# ~/.vimrc

let maplocalleader='\'
let tern_map_keys=1

See :help tern.txt for details.