Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't work with repeat '.' #9

Open
pinggit opened this issue Jan 10, 2013 · 4 comments
Open

doesn't work with repeat '.' #9

pinggit opened this issue Jan 10, 2013 · 4 comments

Comments

@pinggit
Copy link

pinggit commented Jan 10, 2013

it doesn't work well with repeat, when you move to another indented text, it doesn't re-calculate. is it expected behavior?

@michaeljsmith
Copy link
Owner

Hi Ping,

I guess you are talking about the '.' operator?

I'm not sure if it's possible to achieve this in vimscript, do you know of
any technique for grouping these actions into a transaction so that '.'
works?

On 11 January 2013 03:19, pinggit notifications@github.com wrote:

it doesn't work well with repeat, when you move to another indented text,
it doesn't re-calculate. is it expected behavior?


Reply to this email directly or view it on GitHubhttps://github.com//issues/9.

@pinggit
Copy link
Author

pinggit commented Jan 10, 2013

On 1/10/2013 6:25 PM, Michael Smith wrote:

Hi Ping,

I guess you are talking about the '.' operator?

I'm not sure if it's possible to achieve this in vimscript, do you
know of
any technique for grouping these actions into a transaction so that '.'
works?

On 11 January 2013 03:19, pinggit notifications@github.com wrote:

it doesn't work well with repeat, when you move to another indented
text,
it doesn't re-calculate. is it expected behavior?


Reply to this email directly or view it on
GitHubhttps://github.com//issues/9.


Reply to this email directly or view it on GitHub
#9 (comment).

hi Michael:
sorry I'm not an expert on that (I hope I were)...
I just borrowed the concept from the plugin:"repeat"
http://www.vim.org/scripts/script.php?script_id=2136
but I understood that is for the "map", not for the text-obj...

regards
ping

@michaeljsmith
Copy link
Owner

If this works it sounds like a good idea. Unfortunately I don't think I'll
have time soon to work on it!

On 11 January 2013 10:59, pinggit notifications@github.com wrote:

On 1/10/2013 6:25 PM, Michael Smith wrote:

Hi Ping,

I guess you are talking about the '.' operator?

I'm not sure if it's possible to achieve this in vimscript, do you
know of
any technique for grouping these actions into a transaction so that '.'
works?

On 11 January 2013 03:19, pinggit notifications@github.com wrote:

it doesn't work well with repeat, when you move to another indented
text,
it doesn't re-calculate. is it expected behavior?


Reply to this email directly or view it on
GitHubhttps://github.com//issues/9.


Reply to this email directly or view it on GitHub
<
https://github.com/michaeljsmith/vim-indent-object/issues/9#issuecomment-12124334>.

hi Michael:
sorry I'm not an expert on that (I hope I were)...
I just borrowed the concept from the plugin:"repeat"
http://www.vim.org/scripts/script.php?script_id=2136
but I understood that is for the "map", not for the text-obj...

regards
ping


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-12125543.

@urxvtcd
Copy link

urxvtcd commented Jan 29, 2022

I know this issue is ancient, but I have implemented than in my fork: https://github.com/urxvtcd/vim-indent-object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants