diff --git a/lua/settings.lua b/lua/settings.lua index ad5b557..e3f087a 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -105,3 +105,24 @@ vim.opt.smartindent = true -- (0,W4 - indent inside unclosed parenthesis -- i2 - indent C++ class base declarations and constructor initializers vim.opt.cinoptions = 'N-sE-sg1h1l1(0,W4i2' + +-- Avoid prompts and short/remove messages +-- f use "(3 of 5)" instead of "(file 3 of 5)" +-- i use "[noeol]" instead of "[Incomplete last line]" +-- l use "999L, 888B" instead of "999 lines, 888 bytes" +-- n use "[New]" instead of "[New File]" +-- x use "[dos]" instead of "[dos format]", "[unix]" instead of +-- "[unix format]" and "[mac]" instead of "[mac format]" +-- o overwrite message for writing a file with subsequent message for reading +-- a file (useful for ":wn" or when 'autowrite' on) +-- O message for reading a file overwrites any previous message; also for +-- quickfix message (e.g., ":cn") +-- t truncate file message at the start if it is too long to fit on the +-- command-line, "<" will appear in the left most column; ignored in +-- Ex mode +-- T truncate other messages in the middle if they are too long to fit on +-- the command line; "..." will appear in the middle; ignored in Ex mode +-- I don't give the intro message when starting Vim, see :intro +-- F don't give the file info when editing a file, like `:silent` was used +-- for the command +vim.opt.shortmess = 'filnxoOtTIF'