6
votes
Install Vim with +clipboard support but without Gvim?
Building Vim from the source with the right flags is the general solution.
git clone https://github.com/vim/vim.git
cd vim/src
./configure --with-x=yes --disable-gui
The last command will probably ...
4
votes
Install Vim with +clipboard support but without Gvim?
If you don't mind having gvim installed you can run gvim in commandline mode with gvim -v. Then you should have a version of commandline vim able to access the keyboard.
Also if gvim is invoked as vim ...
4
votes
How to safely switch from vim-athena to vim-gtk?
You don't have to uninstall any of the existing packages. The vim-{athena,gtk,gtk3,nox} etc. packages just provide the Vim binary built with different feature sets and linked against different GUI ...
3
votes
Colorscheme's background not correct in terminal
Seems like you found your answer. I had this same problem and nothing above worked. What worked for me was using altercation's terminalrc, as opposed to sgerrand's.
My relevant vimrc is simply:
...
3
votes
Raise window holding swap file
Long lost and almost forgotten.
Meant to re-factor the code etc. but post is as is. This code is used on a 32-bit system. Not sure how it would behave on 64-bit (or other).
Have a hack in C-code ...
3
votes
Scroll the screen, not the cursor, when using scrollwheel
I know this is a few years late, but you can use
nmap <Down> <C-e>
nmap <Up> <C-y>
This worked for me.
2
votes
How can I make gvim keyboard language-agnostic in command mode?
One option is to use the plugins https://github.com/lyokha/vim-xkbswitch or https://github.com/rlue/vim-barbaric, which switch the input method in vim's input mode using xkbswitch.
1
vote
How do the * and + registrers behave in the virtual console?
Even though it doesn't show in the output of :display, when you use the plus or star registers in TTS (i.e., a mode without clipboard feature), it stores the content in the 0 register. The code is in ...
1
vote
Accepted
Disable Shift+Insert from pasting from Primary
I found a solution which relies on Vim's +clientserver capability. It just took a small addition to a script I already used. The final result is this vimserver.sh:
#!/bin/sh
if [ -z "$(vim --...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
x11 × 18os-clipboard × 8
gvim × 6
cut-copy-paste × 4
terminal × 4
linux × 4
register × 3
installing × 2
font × 2
cygwin × 2
vimrc × 1
key-bindings × 1
colorscheme × 1
external-command × 1
scrolling × 1
visual-block × 1
mouse × 1
linux-ubuntu × 1
swap-file × 1
keyboard-layout × 1
selection × 1
ssh × 1
linux-arch × 1
console × 1