I'm on RedHat enteprise at my workstation where both vim and gvim is installed.

when runnint vim --version it's clear that i lack a lot of cool stuff (like clipboard capabilities)

When running gvim --version it's clear that my gvim version is fully decked out.

I'd like to run vim in the terminal, but I'd also like to use the full capabilities installed with my gvim install. is there a way to run gvim in terminal? something like gvim --no-window or the like?

Is there a way to force the vim command to use the backend of gvim, while still being in terminal?


You can run gvim in TUI mode by passing -v, but note that you won't have the X clipboard registers unless you're running it under X.


actually gvim is vim -g

and gvim and vim are in two different conflicting packages on most distros

and for clipboard you need to run X (xorg-server)

but if you are running terminal (not the virtual console, tty) on X, that's ok

take a look at here

also you might run which vim and which gvim to see if pathes differ

for do rpm -qf $(which vim) (and gvim, accordingly) to find out the packages

  • They (vim-enhanced and vim-X11) don't conflict on Fedora and RHEL et alia. – Ignacio Vazquez-Abrams May 22 '18 at 11:01
  • which * returns usr/bin/* (star is gvim/vim) rpm -qf $(which *) returns vim-?-7.4.160-2.el7.x86_64 with ? being X11(*=gvim) or enhanced(*=vim) – Thorbjørn E. K. Christensen May 22 '18 at 13:07
  • also vim -g doesn't run – Thorbjørn E. K. Christensen May 22 '18 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.