mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
Improve cursor pos on statusline (#3686)
This commit is contained in:
parent
c34da714e5
commit
0c5ca6ba66
@ -169,7 +169,7 @@ function! s:percentage() abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:cursorpos() abort
|
function! s:cursorpos() abort
|
||||||
return ' %l:%c '
|
return "%{' ' . join(map(getpos('.')[1:2], \"printf('%3d', v:val)\"), ':') . ' '}"
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:time() abort
|
function! s:time() abort
|
||||||
|
Loading…
x
Reference in New Issue
Block a user