Jump to content
Wim Alsemgeest

Using snip and Vim

Recommended Posts

Hello, I tried to use snippets and vim in the terminal. That works, but I used TAB after the // in the snippit in Alfred. When I inserted it in vim with snip, it look strange. I think something is going wrong with TABs


Have someone tried this? or must I do it different


Greetings from the Netherlands Wim Alsemgeest.

Screen Shot 2017-04-19 at 20.16.19.png

Share this post

Link to post

Alfred's snippets should work fine as long as you are in 'insert' (or equivalent) mode in VIM. If you are in the command mode and your snippet text is prefixed with a /, then this will run a / command in VIM as it doesn't have the context that you are pasting text.


Before using the snip keyword (or an auto expanding snippet), be sure to to press i for insert.




Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now