10
votes
Accepted
Prevent colorscheme from changing background color
If the background is changing, then the colorscheme is changing it. You can either choose a colorscheme that doesn't do that, or try overriding the colorscheme.
autocmd ColorScheme * highlight ...
7
votes
Accepted
How can I build vim with just python 3 support?
Thanks to x33a on the Arch forums, I was able to solve my problem. (https://bbs.archlinux.org/viewtopic.php?pid=1596987#p1596987)
I changed the python 3 flag from
--enable-python3interp=dyanmic
to
...
5
votes
How can I build vim with just python 3 support?
The problem was not in Vim's default Python interpreter.
The real root of the problem is that the last version of jedi-vim (0.7.0) was released in 2013 and did not work well with Python 3.
Since ...
4
votes
Accepted
How to turn off completion (enabled by default in Arch)?
I unknowingly had installed on my system the set of packages "vim-plugins".
Among these was "vim-jedi" which seems to be the one causing behavior I didn't want.
I used the package manager to remove ...
3
votes
How to display Font Awesome in Vim?
Console Vim is using the font from the console terminal.
You can use Inconsolata Nerd Font, which includes FontAwesome glyphs.
For example, in urxvt including the following:
URxvt.font: xft:SF Mono:...
3
votes
Accepted
Vim not encoding with UTF-8
I feel like an idiot. The test file doesn't have any non-ASCII characters in it, so there is nothing for file to look for that would tell it the encoding Vim is using. So I repeated the test with ä in ...
2
votes
Accepted
Error when installing Vim
As suggested by filbranden in the comments, I workarounded the issue by installing Vim from Arch package repository.
Not that I had not tried, but the package vim, as you can read here, does not come ...
2
votes
CTRL-V_CTRL-[key], instead of ^[key] gives ^[[27;5;[ASCII code of key]~ in xterm on Arch
As of patch 8.1.2350, Ctrl-V will emit again the translated key, even if modifyOtherKeys has been set. To get the raw escape sequence, you can instead use now Ctrl-Shift-V
2
votes
Accepted
How to change foreground color of character underneath cursor?
This is only supported in GUI. For terminal, there is no common way to set it up.
If you really need setting cursor colors, you have to figure the right control sequence yourself and tell Vim about ...
1
vote
Accepted
Vim catching Win-key keyboard shortcuts on XTerm and i3
Add this to your vimrc:
set t_fd=
set t_fe=
Some terminals including xterm support the focus event tracking
feature. If this feature is enabled by the 't_fe' sequence, special
key sequences are sent ...
1
vote
Accepted
CTRL-V_CTRL-[key], instead of ^[key] gives ^[[27;5;[ASCII code of key]~ in xterm on Arch
set t_TE= t_TI=
This in vimrc disables modifyOtherKeys (:h modifyOtherKeys), which was causing the problems
1
vote
Maps literally read < and > instead of the actual character
As mentioned in the comments, you need to make sure cpoptions does not contain the k and < flags before defining your mappings (this explains why netrw broke too).
The likely culprit is that vim ...
1
vote
How can I delete or ignore a test when compiling vim?
I worked around this problem by using the compile switch:
--disable-netbeans
However, obviously it is just a workaround and the test failure will be a problem for anyone that wants to use netbeans ...
1
vote
Cannot set (let) mapleader and use <leader> in global vimrc
One thing I've just seen is that if cpo contains <, then special characters like <leader> won't be handled right:
*cpo-<*
< Disable the ...
1
vote
Accepted
How to use vundle for vim installed from AUR
Well, so after some investigation I finally located a vundle file. It start from a lower-cased letter and that's why I did not find it at the first place.
It's located in /usr/share/vim/vimfiles/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
linux-arch × 21vimrc × 7
linux × 5
terminal × 4
key-bindings × 3
installing × 3
neovim × 2
gvim × 2
autocompletion × 2
os-clipboard × 2
vimscript × 1
command-line × 1
cut-copy-paste × 1
terminal-buffer × 1
plugin-you-complete-me × 1
cursor × 1
options × 1
vimscript-python × 1
macos × 1
color × 1
font × 1
encoding × 1
plugin-vundle × 1
compile-vim × 1
x11 × 1