Questions tagged [vimrc]
.vimrc is the primary configuration file for the VIM text editor
180 questions
0 votes
1 answer
77 views
Changing font in my Vim text editor on Arch Linux? (DWM/X11)
I need your help! I am trying to set up a specific font and font size in my ~/.vimrc file using set guifont=Monospace:h15, but nothing is changing no matter if I put 12 or 20 in the size column. I've ...
-3 votes
1 answer
288 views
New / different VIM for Debian?
On both my new Debian and Raspberry Pi: VIM version 9.0.1499 This vim is quite different and irksome to a user of the version that's been "standard issue" on Fedora for over a decade now. ...
1 vote
0 answers
86 views
Backspace on vim doesn't work after I create a ~/.vimrc file
I'm using vim on macOS, I did different tests. Backspace doesn't work in vim with my ~/.vimrc. I saw that when I remove my ~/.vimrc file everything is ok, but whatever I write in it (any writable ...
1 vote
1 answer
121 views
What's overriding my .vimrc tabstop size setting for CMake files?
In my ~/.vim/vimrc, I have: set shiftwidth=4 set tabstop=4 and when I edit a plain text file, that is respected. However, when I edit a CMake file - these both becomes 8. I tried looking for the ...
0 votes
1 answer
467 views
"E492: Not an editor command: PlugInstall" only when I "sudo vim"
My question is a spinoff from this previous question 6 months ago, so to get more details and see how I've installed Vim Plug have a look here. Currently I wanted to add this extension. https://github....
1 vote
1 answer
152 views
Copying "fancy" spaces with the mouse from Vim
I have the following setting in my .vimrc: set listchars+=space:· for formatting purposes (spaces vs tabs, extra spaces, etc) and thanks to a proper color scheme, these dots do not disturb much. So ...
3 votes
1 answer
1k views
Disable vim from auto indenting my comment lines, but continue to autoindent everything else [duplicate]
I want vim to stop auto indenting any time I add a # to the beginning of a link after its white space. Here is an example of the problem: Original text: dog cat moose If I add a # comment ...
1 vote
0 answers
852 views
Ubuntu: vim gruvbox looks like completely different in tmux
I am a beginner of using tmux and am trying to get vim and tmux working together properly. I am using Ubuntu 20.04 LTS, vim 8.1.3741, tmux 3.0a. All was well until I entered vim inside of a tmux ...