diff options
Diffstat (limited to 'home')
| -rw-r--r-- | home/xyz/.config/nvim/init.vim | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim index cd1a4004..36e26156 100644 --- a/home/xyz/.config/nvim/init.vim +++ b/home/xyz/.config/nvim/init.vim @@ -217,8 +217,16 @@ map <leader>* /\*\*.*\*\*<CR> " toggle markdown folding and re-edit current file map <leader>m :call Md_toggle_fold()<CR> -" default statusline:set statusline=%<%f\ %h%m%r%=%-14.(%l,%c%V%)\ %P -set statusline+=%< +" Default statusline shows in the `:h statusline` first example: +" set statusline=%<%f\ %h%w%m%r%=%-14.(%l,%c%V%)\ %P +" +" nvim `:set statusline?` shows more stuffs, not sure why +" +" Before nvim 0.12.1, statusline+=%< as first works, now it needs = instead of +" += else it will show two statuline. statusline+=%< as first seems still work +" with new version of vim. It maybe because now nvim `:set statusline?` is not +" empty but at vim it is empty +set statusline=%< set statusline+=%f " %F or 1CTRL+G to show full path set statusline+=\ %m set statusline+=%= |
