Questions tagged [x11]

The X Window System (often just called X11) provides graphics on Unix-like systems.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 views

gvim often give this error: E8backupdir=~/.vim/tmps failed to start the GUI

I often log in remotely to a specific server using ssh -X from a Macbook Pro terminal instance. When I use gvim then usually I get a local Xwindow and can edit normally while the terminal session ...
James B. Byrne's user avatar
2 votes
1 answer
43 views

How do the * and + registrers behave in the virtual console?

My Vim is installed with +clipboard support, and all works just fine. I know that the clipboard comes with X, so there isn't such a thing in a virtual console (or, at least, this is what I've ...
Enlico's user avatar
  • 2,162
6 votes
3 answers
2k views

Install Vim with +clipboard support but without Gvim?

My distribution comes with a minimal version of Vim. vim --version returns -clipboard, so the * and + registers interact (copy/paste) with the primary and clipboard do not work. The resources I've ...
Quasímodo's user avatar
  • 2,406
1 vote
1 answer
470 views

Disable Shift+Insert from pasting from Primary

In Vim, the canonical methods to interact with X11's Clipboard and Primary is to use + and * registers. There are at least another two ways to paste from Primary into Vim: Shift-Insert and Mouse ...
Quasímodo's user avatar
  • 2,406
3 votes
0 answers
657 views

Why does Gvim not see my X11 fonts?

After going blind from using Gvim with non-bitmapped fonts, I tried to narrow my question from the previous attempts (1) and (2) (with older attempts going back years). Specifically, I wanted to find ...
user2153235's user avatar
2 votes
1 answer
2k views

Where does gvim find font options for its `guifont` pick list?

In gvim, :set guifont=* brings up a GUI panel from which one can choose a font family, weight, slant, and size. Where does gvim find these fonts? I'm using Cygwin's X-windows. While the scheme for ...
user2153235's user avatar
1 vote
0 answers
146 views

How do I unconditionally disable all the "smart" terminal actions in vim

I have already set mouse= and set ttymouse= but I still get it intercepting paste when I'm trying to paste vim commands, like I want it to do some kind of complex :map! .... so I copy that from ...
Resuna's user avatar
  • 111
0 votes
0 answers
216 views

Blockwise pasting from "+ register not working

UPDATE: I run an X server (XQuartz 2.7.11) on MacOS, which I forward via ssh to any Linux machine I use. The problem seems to be that under XQuartz, the "+ register does not support blockwise yanking/...
Anders Lundstedt's user avatar
1 vote
1 answer
212 views

How can I make gvim keyboard language-agnostic in command mode?

Sometimes I'm using GVim not only for coding, but also for typing texts in Russian language. I'm very annoyed that I have to switch my keyboard layout back to English each time when I return to ...
vdudouyt's user avatar
  • 131
3 votes
1 answer
5k views

How to safely switch from vim-athena to vim-gtk?

I have vim 7.4 Huge version with X11-Athena GUI installed on my laptop running ubuntu 16.04. I would like to safely switch to vim-gtk. Do I have to uninstall existing vim installation and install vim-...
Imran Ali's user avatar
  • 171
6 votes
0 answers
108 views

Prevent gvim from clearing the clipboard on exit [duplicate]

If I copy text into the xterm clipboard ("+y) from gvim, it is cleared when I exit gvim. How do I prevent this? I've found the solution for vim, but it doesn't work for Gvim: autocmd VimLeave * ...
DmitMedv's user avatar
  • 161
5 votes
1 answer
1k views

Can Vim add to the X11 clipboard or primary buffers without an external utility?

We can copy to both the + and * registers, but this doesn't actually copy the content to X's memory (apparently). If you copy something from Vim using the * or + registers and quit Vim, poof! There's ...
muru's user avatar
  • 24.6k
23 votes
1 answer
30k views

How do I use the system clipboard with Vim in Arch Linux? [duplicate]

I am using Vim on Arch Linux through urxvt. Since there is no "Ctrl-V" or "Ctrl-Shift-V" support in urxvt, there is no way for me to paste things I have copied from my browser (let's say) into my vim ...
alexytsu's user avatar
  • 816
21 votes
1 answer
7k views

How do I get +clipboard support in Fedora 20?

It seems to me that neither "+p nor "*p works for me. How can I know if my Vim is installed and set up properly to make them available? And if it's not set up, what can I do to set it up? I'm running ...
yo''s user avatar
  • 1,141
13 votes
9 answers
33k views

Colorscheme's background not correct in terminal

I imported the solarized colorscheme and palette. My terminal has the correct colors and background, gvim has the correct colors and background, but vim has an incorrectly colored background. The text ...
Oberdiear's user avatar
  • 191
13 votes
2 answers
498 views

Raise window holding swap file

From time to time while working on multiple projects, and / or what ever, it leaves me with (too) many Vim instances open – as happens, I open a file which already is opened elsewhere, leaving me with ...
Runium's user avatar
  • 1,227
9 votes
1 answer
6k views

Define custom commands for the * and + registers

If I'm using a build of Vim with the xterm_clipboard feature then the system clipboard content is available through the + register. If the build I'm using doesn't have this feature, can I make the "+ ...
Gilles 'SO- stop being evil''s user avatar
23 votes
3 answers
14k views

Scroll the screen, not the cursor, when using scrollwheel

I'm using Vim in a terminal, so scrolling with the scroll wheel uses the \e[A and \e[B syntax (where \e symbolizes \x1b, or escape). However, Vim interprets this by moving the cursor up or down a ...
Doorknob's user avatar
  • 14.8k