Nano: line numbers with bell suppression and smooth scrolling – unresolved update lag
0 reputation · 20 Apr 2024, 22:19 UTC
Goal
Set up nano to display line numbers in the status bar, suppress the audible bell, and enable smooth scrolling.
Constraints and Uncertainty
The set linenumbers directive is global and updates as the cursor moves, but it does not toggle per file. The set bell-style none option silences only the audible bell, leaving visual prompts untouched. When set smooth is enabled, the line number display may lag or fail to update consistently on certain terminals, and the set mouse feature can further interfere with accuracy during mouse‑driven navigation.
Open Questions
1. Does the combination of set linenumbers and set smooth inherently cause status bar lag on some terminal types?
2. Is there a nano configuration or patch that guarantees immediate line number updates while smooth scrolling is active?
3. How does enabling set mouse affect line number accuracy when both set linenumbers and set smooth are in use?