-
Notifications
You must be signed in to change notification settings - Fork 67
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
Gather to current heading (,gh) mixes up different headings #33
Comments
On Sun, Mar 18, 2012 at 9:37 AM, hfs
Thanks for the report. I'm pretty sure the function works properly |
Hi, thanks for the quick response. I’m afraid the function does not work for me. The “current” heading will always be made a child of the first top-level heading, regardless what was marked. Take a look at this example:
Mark heading 2: Result: Heading 3 is made a child of heading 1
Expected result would be
Of course this is not a big issue for me. I use VimOrganizer daily find it very useful, so thank you for all your effort! |
On Sun, Mar 18, 2012 at 11:59 AM, hfs
I just did some manipulations with your sample text, all of which I'm not sure what the problem could be. -- Herb |
This is a locale problem... In my German locale
This of course doesn’t match the regex in I’m not sure if there is a solution to this? Even if you tried to make the regex more generic, you couldn’t even be sure that “Signs for” translates to two words in other languages. As a workaround I can start Vim with an English locale and gathering works as expected. |
On Sun, Mar 18, 2012 at 2:32 PM, hfs
Thanks for tracking that down. I think a workable solutiion would be Thanks again, Herb |
While you’re at it, in
with
like for the other string comparisons? This may break gathering, too. |
Thanks very much. Vim 7.3 bug returns wrong result for empty strings On Thu, Mar 22, 2012 at 1:39 AM, hfs
|
Gather to current heading (,gh) doesn’t work as intended. Instead of adding all marked headings as subheading of the current heading, the current heading is taken elsewhere.
Given this org file content:
Mark the third top-level heading:
6G,<Space>
. It is marked with a>
in front.I want to move the third top-level heading below the first one. Go to the first heading and issue “Gather to current heading”:
gg,gh
. This is the result:Whereas I would have expected
The text was updated successfully, but these errors were encountered: