Timeline for How to ignore a column when visually selecting a paragraph
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 11, 2016 at 20:24 | comment | added | DoYouEvenCodeBro | @nobe4 edited my post to include a function :) | |
Jul 11, 2016 at 20:24 | history | edited | DoYouEvenCodeBro | CC BY-SA 3.0 |
added function to solve the problem
|
Jul 11, 2016 at 16:23 | comment | added | nobe4 | @f41lurizer, I think it may be possible to write a function around this principle, I'll have a look tonight but I feel it may be a way around :) | |
Jul 11, 2016 at 16:16 | comment | added | DoYouEvenCodeBro | the command for that would be ?#\s*$, but that matches the header line as well. I'm not sure how to make it only match to the header line, but its a start | |
Jul 11, 2016 at 16:10 | comment | added | DoYouEvenCodeBro | @Tumbler41 That's a good point - it's better than nothing though. I guess you could search upwards until a line not matching #.*$ was found, then run the command to achieve that functionality. | |
Jul 11, 2016 at 16:06 | comment | added | Tumbler41 |
This is useful, but only expands forward. If you're in the middle of the paragraph it won't select the whole thing, which is what vip normally does. Also, if you have a paragraph that ends at the bottom of the file without a following # it has some unintended behavior.
|
|
Jul 11, 2016 at 16:00 | history | answered | DoYouEvenCodeBro | CC BY-SA 3.0 |