I installed UltiSnips with Vundle by placing
Plugin 'SirVer/ultisnips'¬ Plugin 'honza/vim-snippets'
.vimrc as well as this as it says in the readme
let g:UltiSnipsExpandTrigger="<tab>" let g:UltiSnipsJumpForwardTrigger="<c-b>" let g:UltiSnipsJumpBackwardTrigger="<c-z>"
I installed the plugin with
:PluginInstall and after restarting vim I can see that the plugin is installed by
:UltiSnipsEdit which opens a new window to add snippets. I added a basic example and save the file which is saved to the project directory in
snippet nn <header class="main-header"></header> endsnippet
Now I expect
nn to expand into my snippet content after writing it and hitting tab key. However, it did not happen. I tried disabling other plugins that I have installed and mapping expand trigger to a different key / keys but that did not work either. Is there something I am missing here?