vim-unite-history icon indicating copy to clipboard operation
vim-unite-history copied to clipboard

offset on search

Open pelodelfuego opened this issue 10 years ago • 7 comments

I just saw that offset doesn't work either: ie: /pattern/s+3. When you make default action in vim history, you are looking for pattern/s+3. I'm trying to figure out where is stored the offset value

pelodelfuego avatar Jan 28 '15 13:01 pelodelfuego

The search command is executed by kind-command. This is contained in unite core. @Shougo How are you thinking about this?

thinca avatar Feb 02 '15 05:02 thinca

:Unite history/command -select=3 -input=pattern

Shougo avatar Feb 03 '15 18:02 Shougo

@thinca did you manage to get shougo solution work ?

pelodelfuego avatar Feb 04 '15 06:02 pelodelfuego

@pelodelfuego You should read the issue template and upload reproduce ways.

I will check it.

https://github.com/Shougo/unite.vim/issues/584

Shougo avatar Feb 04 '15 12:02 Shougo

@thinca If the offset feature is not work, it is unite-kind-command problem. But I cannot reproduce it.

Shougo avatar Feb 04 '15 13:02 Shougo

I think pattern :+3 is better. unite.vim can execute command after jump.

Shougo avatar Feb 04 '15 13:02 Shougo

I get it. But to support this feature is not easy. I don't want to add the feature.

If the feature has the advantage, please explain it to me.

Shougo avatar Feb 16 '15 21:02 Shougo