Friday, January 30, 2015

Re: Block selection in visual mode does not show the rectangle dimensions in the status line when using GUI

On Friday, January 30, 2015 at 5:15:15 PM UTC-6, José García Juanino wrote:
> El viernes, 30 de enero de 2015, 23:46:40 (UTC+1), Gary Johnson escribió:
> >
> > Execute this while running the GUI,
> >
> > :verbose set showcmd?
> >
> > to find where 'showcmd' was last set. If it's not clear from the
> > result where the problem lies, post the result here and we'll go
> > from there.
>
> Hi Gary, thanks for your response.
>
> The output of your command is:
>
> noshowcmd
> Last set from /usr/local/etc/vim/gvimrc
>
> And the contents of that file is:
>
> $ cat /usr/local/etc/vim/gvimrc
> [snip]
>
> It seems to be that showcmd was unset in some place, but I am unable to find the exact file. It is possible that the issue is FreeBSD specific.
>

The problem line is "set nocompatible".

This setting resets a number of commands to their default, including 'showcmd'.

This command should NOT be in the gvimrc, for that reason, since the gvimrc runs after the vimrc and will overwrite anything in the vimrc.

Sadly this seems to be a system-wide gvimrc. You should probably ask for that to be moved from the system gvimrc to the system vimrc in whatever distribution that is.

For now you could use a VimEnter autocmd to source a file that sets any of the options in the list below :help 'compatible'. Or throwing them into a file in your "~/.vim/plugin" folder will probably work as well.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: