Hot answers tagged

16 votes

How to see a whole message in status bar in vim?

From the YCM documentation. YCM will display a short diagnostic message when you move your cursor to the line with the error. You can get a detailed diagnostic message with the <leader>d ...
  • 161
5 votes
Accepted

Why does `:cdo print` not show full output?

:help :cdo explains that the command actually is comprised of several subcommands: It works like doing this: :cfirst :{cmd} :cnext :{cmd} etc. The ...
3 votes

How to let the latest message persist on redraw?

Not really what you want but you can still redirect messages to a split with such a command: :redir @">|silent messages|redir END|split|put Just map it to a shortcut that suits you.
  • 373
3 votes
Accepted

Is There a Way to Make Vim Provide an Error Message Whenever it Beeps?

It is not completely true that vim uses the beeps (or bells, as it calls them) only in errors. There are many events that can trigger the bells, only some of them are errors. You can custom the bell ...
2 votes

Command line messages disappear in a flash

So the issue wasn't guioptions, it was guiheadroom; I finally noticed this because while I keep my config files synced, the stub ~/.vimrc which sources them isn't, to accomodate local settings. One of ...
2 votes

Hide bottom message when open new file

as suggested by Carpetsmoker in comments, here is how I solved this: set shortmess+=F
  • 1,136
2 votes
Accepted

vim display message on execution of mapping

From :help :!: A '|' in {cmd} is passed to the shell, you cannot use it to append a Vim command. See :bar. An alternative would be to use the system() function, like so: :call system('pbcopy', ...
1 vote
Accepted

Silence specific message like "Press ENTER or type command to continue" correctly

Based on this answer, I came up with the following: :silent exec '!commandhere '.shellescape(getline('.'))<CR>:redr!<CR> This works. The other alternative as mentioned in the comment ...
1 vote

Redirect with higher verbosity

You can use :h :verbose to do this. Assume we use a Less command to capture vim output, we can see what set filetype really do like this: Less 20verbose set filetype=cpp The 20 is used to specify '...
  • 5,968
1 vote
Accepted

How to get rid of an error message from 'deoplete'

I had the same issue and fixed with pip install --user pynvim
  • 26

Only top scored, non community-wiki answers of a minimum length are eligible