Ryan Rueger

ryan@rueg.re / picture / key / home
aboutsummaryrefslogtreecommitdiff
path: root/screenshots/statusryne-insert.png
diff options
context:
space:
mode:
authorrrueger <rrueger@ethz.ch>2020-07-23 11:25:03 +0200
committerrrueger <rrueger@ethz.ch>2020-07-23 11:25:03 +0200
commitb20c29c906e03bbe483c86013eb3ee5fec4881a4 (patch)
tree02feaedfca1aa8e88690f6ec1d31cdef0c55409b /screenshots/statusryne-insert.png
parentb039ee8ccbe6bd4920e78fd7f67671a11390f2d9 (diff)
downloadstatusryne-b20c29c906e03bbe483c86013eb3ee5fec4881a4.tar.gz
statusryne-b20c29c906e03bbe483c86013eb3ee5fec4881a4.tar.bz2
statusryne-b20c29c906e03bbe483c86013eb3ee5fec4881a4.zip
Correctly identify size of the current split
Until now, I was using &columns to determine the width of available space for the statusline. However, when using a vertical split, &columns would still report the full vim window width, not the split width. The `winwidth(0)` (0 = current window) function returns the correct value.
Diffstat (limited to 'screenshots/statusryne-insert.png')
0 files changed, 0 insertions, 0 deletions