Pho*_*nix 16 vim configuration
如何通过编辑~/.vimrc或其他方式配置Vim ,以便状态栏可以显示在窗口的顶部.
我的意思是底部信息栏,看起来像index.html 22L,538C written 15,3-9 ALL.
小智 12
答案:利用(静态)"tabline".
vim tablines(位于顶部)和状态行(位于底部)使用静态tabline作为与statusline相同的功能
里面vimrc:
----- begin cut -------
"turn off status line
"set laststatus=0
set ls=0
set showtabline
set tabline="what status line equals, or equaled or whatever"
"set or change the color of the tabline
hi tablinefill cterm=none ctermbg=blue ctermfg=white gui=none guibg=blue guifg=white
------ end cut -------
Run Code Online (Sandbox Code Playgroud)
Roo*_*ook 11
无法做到......
我的意思是,你可以下载vim的源代码,然后从那里开始,但本机上没有.不是我知道的.
您可以在标题中添加一些信息,您可以从标题中读取一些信息,但状态行保持原样.对不起:/