Skip to main content

Questions tagged [default-settings]

0 votes
1 answer
57 views

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 ...
leeand00's user avatar
  • 3,843
2 votes
2 answers
505 views

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....
l4mpi's user avatar
  • 875
1 vote
1 answer
80 views

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 ...
ka3ak's user avatar
  • 261
1 vote
1 answer
96 views

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,...
user avatar
0 votes
0 answers
77 views

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 ...
Mafsi's user avatar
  • 245
2 votes
1 answer
122 views

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 &...
Daniel Malcor's user avatar
2 votes
1 answer
60 views

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 : ...
Enlico's user avatar
  • 2,330
1 vote
1 answer
628 views

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 ...
obvg's user avatar
  • 13
1 vote
0 answers
72 views

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 ...
fbence's user avatar
  • 739
3 votes
2 answers
2k views

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 ...
Evan Carroll's user avatar
  • 1,573
0 votes
1 answer
91 views

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 ...
Tomes's user avatar
  • 96
0 votes
3 answers
11k views

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 ...
user13267's user avatar
  • 135
0 votes
2 answers
724 views

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 ...
Levi_OP's user avatar
  • 103
0 votes
1 answer
414 views

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 ...
TornaxO7's user avatar
  • 681
3 votes
1 answer
748 views

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&...
Enlico's user avatar
  • 2,330

15 30 50 per page