vim-sensible icon indicating copy to clipboard operation
vim-sensible copied to clipboard

Line 62, laststatus = 2

Open hacshyac opened this issue 1 year ago • 3 comments

In sensible.vim the lines about laststatus (line 61-63) do not work out as I open vim first time. 2024-03-18_19-51 It gives me E36: not enough space (my system is in German). 2024-03-18_19-52 After typing enter, I can still open the file with vim, but there is no status bar under. (In this example, I opened a pandoc latex preamble) 2024-03-18_19-52_1 After close this file, and open again, the status bar shows correctly.. 2024-03-18_19-52_2

This is not a crucial problem. But it is not clean and a little bit annoying.

Here I attached my vimrc as well. 2024-03-18_20-00

hacshyac avatar Mar 18 '24 19:03 hacshyac

Does the same thing happen if you set laststatus=2 in your vimrc?

Does it happen if you remove the if s:MaySet('laststatus') guard?

tpope avatar Mar 20 '24 15:03 tpope

Does the same thing happen if you set laststatus=2 in your vimrc?

Does it happen if you remove the if s:MaySet('laststatus') guard?

Yes, it still happens. It tried both your suggestions. If I put set laststatus=2 in vimrc, it gives E36 in vimrc but not in sensible.vim.

hacshyac avatar Mar 21 '24 14:03 hacshyac

Anyway, I just commented line 61-63 in sensible.vim, since from status line I can get the same information like from laststatus. Thank you for answering me!

hacshyac avatar Mar 21 '24 14:03 hacshyac