On 2024-01-19, 'Ottavio Caruso' via vim_use wrote: > Am 19/01/2024 um 13:26 schrieb jr: > >hi, > > > >On Fri, 19 Jan 2024 at 12:26, 'Ottavio Caruso' via vim_use > ><[email protected]> wrote: > >>I have installed and uninstalled gvim many times. I have to re learn > >>some (many) keyboard combinations. Is there a safe way to mod gvim to > >>make it behave exactly like vim on the terminal? > > > >not sure I understand exactly, but you can create a '~/.gvimrc' to > >complement your '~/.vimrc'. > > > > And what should I put into ~/.gvimrc that would make gvim behave like vim?
You don't need a separate gvimrc, just a vimrc. Using just the one configuration file makes it simpler to keep the settings the same for both gvim and vim. I don't know why you would have to learn different keyboard combinations. Please elaborate on that. 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. The main difference is the behavior of :sh. I just don't use it often in situations where I'm running gvim. On Linux, it's important to use a vim built for X11 so that you have access to the clipboard. I also run autocutsel, which keeps the clipboard and the cut buffer synchronized so that I don't have to remember the differences between them and which one I just copied something into. I mostly use vim in an xterm on Linux, so I use only features available in that configuration out of habit and don't miss any that are available only in the GUI. I use a custom color scheme that pretty much preserves vim's default colors and keeps them the same on both gvim and vim. Regards, Gary -- -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20240119162526.GB26982%40phoenix.
