Friday, January 19, 2024

Re: How to make gvim/vim-gtk3 behave exactly like vim

* 'Ottavio Caruso' via vim_use <vim_use@googlegroups.com> [240119 11:44]:
> Am 19/01/2024 um 16:25 schrieb Gary Johnson:
> > I don't know why you would have to learn different keyboard
> > combinations. Please elaborate on that.
>
> Then you say:
> >
> > It has been a goal of mine, too, to make gvim indistinguishable from
> > terminal vim. That's largely to make gvim on Windows behave the
> > same as terminal vim on Linux. I think I've done pretty well. As
> > it is, I sometimes have to check the title bar to see which one I'm
> > using.
>
> You answered your own question.

Not really. He has given a general answer when he is asking you for a
more specific answer (as have several others on this list).

An example would be:

Ctrl-V on gvim does ..., while on vim it does ....

If you can give a few keystrokes that behave differently, we can help
you find out why, and give suggestions for fixing it.

You can try «:verbose map» in your vim/gvim sessions and see if the
keystrokes you are concerned about have been remapped, and which script
remapped it. That might give you enough info to be able to fix it
yourself.

As others have said, in general a keystroke that does something in vim
will do the same thing in gvim, but gvim has some keystrokes that are
not available in vim. A script can easily map specific keystrokes
differently in vim than gvim, and the above "map" command should give
you some clues, if that is the problem.

I don't remember if you said which OS/distribution you are using.
Different distributions have different system-wide default vim
configuration files. This info might also give us a better idea how to
help you.

...Marvin

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ZarcXlKKUOx/G9ZS%40basil.wdw.

No comments: