0

I install pathogen to manage all plugins in gvim,do as the tutorial hwo to install with pathogen say ,running the following commands in my windows10

  % cd  g:\vim\vimfiles\bundle
  % git clone https://github.com/tomtom/tlib_vim.git
  % git clone https://github.com/MarcWeber/vim-addon-mw-utils.git
  % git clone https://github.com/garbas/vim-snipmate.git

My _vimrc configuration:

set nocompatible
execute pathogen#infect()
execute pathogen#helptags()
syntax on
filetype plugin indent on

To edit a test.js with gvim,press <tab> after for ,no completion at all!
:verbose imap <Tab> shows as below:

enter image description here

Why tab key can't trigger my snipmate?

1
  • 4
    Have you installed any snippets at all? Note this section from vim-snipmate REAMDE: SnipMate does not ship with any snippets out of the box. We suggest looking at the vim-snippets repository. Dec 7 '20 at 9:25
1

vim-snippets actually contains snippets not present in vim-snipmate:

 cd  g:\vim\vimfiles\bundle
 git clone https://github.com/honza/vim-snippets
2
  • 2
    Could you please write more from your own-answer?
    – peterh
    Dec 7 '20 at 12:03
  • 1
    I agree with peterh's sentiments: elaboration (e.g., that vim-snippets actually contains snippets not present in vim-snipmate) would be helpful. There's always edit.
    – D. Ben Knoble
    Dec 7 '20 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.