Jorenar / miniSnip

Lightweight snippet plugin for Vim
MIT License
53 stars 8 forks source link

Big update Select the visualization version is complete :) #35

Closed Angluca closed 1 year ago

Angluca commented 1 year ago

Very like it !!


Can be used normally after undo . No matter how fast you press, It's all right :) Come and try it .. Check it out! 111

Hope to optimize it better , So that minisnip tiny and delicate it please .

Jorenar commented 1 year ago

I have the following snippet:

#ifndef <{`!toupper(expand("%:r"))}>_<{!toupper(expand("%:e"))}>_
#define <{~1}>_<{~2}>_

<{}>

#endif // <{~1}>_<{~2}>_

When I try to expand it with your changes, all I get is:

#ifndef <{`!toupper(expand("%:r"))}>_<{!toupper(expand("%:e"))}>_
#define <_<_

<{}>

#endif // <_<_

The cursor stays at the first placeholder, no matter how much I spam the trigger key.
Could you please test it more thoroughly?

Also, the indentation is 2 spaces, not tabs. Don't leave commented out code, just delete it (but also make sure it doesn't affect existing snippets).


And the most important matter: Please, describe your request. I'm looking at the issue, I'm looking at the PR and I'm unable to understand what does it do. Please, take your time, write lengthy, there is nothing chasing us, there's no upper character limit.

I also really appreciate the screen captures, but you make way too much chaotic movements in them. I'm not sure what I'm looking at and how does it differ from current behaviour.

Please, do it in a way a tired corporate worker after hours can understand it.

Angluca commented 1 year ago

Sorry I'm a newbie and haven't more time test T^T, Can only be done to let you experience the feeling of v-select mode . Like v-select mode because no error deletion even after multiple presses , With highlighting you can easily see. And sometimes the wrong key is pressed so need to 'undo' it and it will still work.