Questions tagged [default-settings]
The default-settings tag has no summary.
27 questions
0 votes
1 answer
57 views
vimscript function suggest in command-line mode?
At home I have Ubuntu LTS and my gVim command-line mode displays a horizontal list of vimscript functions as you type them after you type :call. At work we run Windows and gVim, but the same ...
2 votes
2 answers
505 views
What defines default colors for highlight groups not present in a color scheme?
After updating to vim 9.1 yesterday, diff highlighting colors were broken for me. Comparing with an older vim (7.4) on a different machine, it seems that the cause was probably a change in the diff....
1 vote
1 answer
80 views
VIM "forgets" last edited line
I've noticed that VIM "forgets" last edited line after some time. Sometimes when I open a file that I haven't been editing since a few days (maybe 3 and more) and type '. in normal mode I'll ...
1 vote
1 answer
96 views
How to escape commas in au patterns and comma separated lists?
How do you specify a comma literal in the kinds of comma separated lists that are ubiquitous in vim configuration? The first example I can think of off the top of my head is in autocmds: au! BufRead,...
0 votes
0 answers
77 views
Creating a local vimrc for a large LaTeX project with selective plugins, settings, and mappings
This is related to my previous question that you can find here: I am currently working on a large project (a PhD thesis with multiple chapters, each consisting of around 30 pages) and have found that ...
2 votes
1 answer
122 views
Multiple tabstops to make tab seperated columns line up
I have a file with several columns separated by tabs, the first column needs a 20 tabstop, but the rest are much smaller. This will get me the 20, but "20,25,35,50, etc." fails. vim --cmd &...
2 votes
1 answer
60 views
Why does iskeyword contain colon for TeX files? And where is it set?
From iskeyword's doc I read that its default on Linux is @,48-57,_,192-255. However, when I open a *.tex file, echo &iskeyword gives @,48-57,_,192-255,:. Where in the startup of Vim is that : ...
1 vote
1 answer
628 views
How can I restore the behavior where h and l stopped at the beginning and end of the line?
After quite some time of using Vim I wanted to switch to NeoVim and set it up with more IDE-like features. So I googled and took the first thing I found (LunarVim/nvim-basic-ide/), thinking I could ...
1 vote
0 answers
72 views
Revert back to full screen after using set columns=X
If I set columns=X, how can I get back to "normal"? Saving the original value might be one way to go, but if I resize the terminal between saving and reverting I'll be ending up with the ...
3 votes
2 answers
2k views
Where does neovim store its defaults? Where is the defaults.vim for neovim?
On regular vim, you can find the defaults in defaults.vim. These are sourced when there is no .vimrc, or when you include in your .vimrc the following, source $VIMRUNTIME/defaults.vim " Source ...
0 votes
1 answer
91 views
Meta-Model: Shrinking In Correct Direction
This questions sounds ridicolous, but is there any (mental?!) aid for my struggle when resizing windows? Since the earliest days of my vi/m usage, I have struggle shrinking windows in the correct ...
0 votes
3 answers
11k views
How do I completely reset Vim to its default settings?
A follow up to my other question here I was messing around trying to get my issues over ssh fixed, and I don't know what I did but now Vim doesn't show any color when I open a .c file I am working on ...
0 votes
2 answers
724 views
Is there any way to change the default startup text in vim?
When you first open vim there is a text that says "VIM - Vi IMproved version......" Is there a file or setting you can use to change this default text? I've looked on the internet and here ...
0 votes
1 answer
414 views
Disable mapping of `Man`
I have this mapping in my ~/.config/nvim/mappings.vim (it's included with source from the init.vim file): noremap <S-k> 5gk vnoremap <S-k> 5gk I went through a part of the vim manuals and ...
3 votes
1 answer
748 views
Are opening and closing double quotes expected to be of different color in a bash script?
I've just noticed, after years using Vim, that the two double quote characters opening and closing a string in a bash script have different colors, which I can verify by simply writing var="var&...