Timeline for Set line numbers based on line count
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 4, 2021 at 18:01 | comment | added | B Layer | @D.BenKnoble I had a feeling. :) | |
Feb 4, 2021 at 18:01 | comment | added | D. Ben Knoble♦ | @BLayer facepalm I sort of skipped over that paragraph. Woops | |
Feb 4, 2021 at 17:52 | comment | added | B Layer | @D.BenKnoble You're talking about if it were made dynamic per the last paragraph of my answer? | |
Feb 4, 2021 at 5:22 | history | edited | B Layer | CC BY-SA 4.0 |
point out static nature.
|
Feb 4, 2021 at 5:17 | history | edited | B Layer | CC BY-SA 4.0 |
point out static nature.
|
Feb 4, 2021 at 5:09 | comment | added | B Layer | On the first item, good suggestion. On the second, good point. Though I didn't see anything from OP to suggest they needed that I'll note it. | |
Feb 4, 2021 at 5:08 | comment | added | Martin Tournoij |
This can be a bit shorter with: let &l:number = line('$') > 150 ; also it won't set number if the lines grow to >150 while editing. I don't know if that's a requirement, but just something to be aware of. Can add CursorHold,CursorHoldI or something for this.
|
|
Feb 4, 2021 at 4:35 | history | edited | B Layer | CC BY-SA 4.0 |
added some details for novice users
|
Feb 4, 2021 at 4:16 | history | edited | B Layer | CC BY-SA 4.0 |
note about modelines
|
Feb 4, 2021 at 4:09 | history | answered | B Layer | CC BY-SA 4.0 |