简体   繁体   中英

vim not reading Tab key as <Tab>

I am using vim 7 on Kubuntu. I have just installed the UltiSnips plugin and I noticed that the Tab key was not expanding the snippets. After checking the mapping of the key and verifying it was correct, I found that when I hit Tab, my vim (and gvim) read it as ^GS , not as <Tab> .

I found that ^GS was a mapping from the surround plugin and after removing it, the Tab key is read as ^H but it still doesn't trigger the snippet, and there is no mapping for ^H .

How can I get the Tab key to be read as <Tab> ?

Upon more investigation, this is not related to vim and the way it handles <Tab> . It was a problem in UltiSnips and custom snippets not been read.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM