tern_for_vim icon indicating copy to clipboard operation
tern_for_vim copied to clipboard

Keyboard shortcuts not working

Open anoopd opened this issue 9 years ago • 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 ?

anoopd avatar Jun 22 '16 06:06 anoopd

Make sure you are doing

<Leader>tt :TernType<CR>

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

vantreeseba avatar Jul 01 '16 02:07 vantreeseba

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.

Shamaoke avatar Sep 18 '20 18:09 Shamaoke