Linked Questions

3
votes
0answers
23 views

Delete and change key sequences are slow

When I use mapped key sequences which cause an immediate change in the file (e.g. cw, dw, D, C), i have a wait time of roughly 1 second. Other mappings which are just movement (e.g. 3w) or movement ...
0
votes
1answer
14 views

Changing cpoptions only work in commandline

So i tried to change the setting from cpoptions, so i did: set cpoptions=aABceF on the commandline, where s for the star is missing (on purpose) and it seems to work fine but only if i do it in the ...
2
votes
1answer
56 views

Inserting special characters by character code and by digraphs

I have VIM 8.2 with multi-byte support. I'm new to Vim and currently going through "Practical Vim" by Drew Neil. Tip 17 and Tip 18 talk about inserting special characters with character ...
0
votes
0answers
54 views

Vim syntax highlighting becomes crazy

Some overview and history. Environment: OS: Windows 8.1 Emulator: cygwin (mintty) Terminal: xterm-256 Vim: v8.0 (Cygwin edition) Vim setup: Plugin manager: VimPlug Enabled plugins: Plug 'scrooloose/...
1
vote
1answer
35 views

Why does creating a new fold sometimes cause the entire file to be folded?

Sometimes when I create a new fold in vim, it folds the entire file. Why? (foldmethod=manual) e.g., zi (all folds are now open) zi (all folds are now closed) lines 1-309 are folded closed, and lines ...
3
votes
1answer
60 views

First new line in multi-line vim commands has broken highlighting

In my init.vim I have the following command: nnoremap <Leader>s :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") \ . "> fg<&...
1
vote
1answer
40 views

Why is current working directory in vim different from where vim was started?

vim is showing a different current working directory than the one I started vim with from the command-line. The problem goes away if I run without my .vimrc (vim -u NONE). How can I debug this to ...
0
votes
1answer
62 views

Can you recognise this debugging system? How can I switch it off?

New to vim, and learning python. After I run code I get debugging comments like you can see in this screenshot on the left (S> and >>): When I move to a line marked S> I can see below in my status ...
2
votes
1answer
26 views

bad comment behavior in cmake files

When I'm editing a cmake file in (neo)vim I'm getting bad behavior block inserting comment characters. Given this section of text install_license_file( PACKAGE tomcrypt TARGET ...
4
votes
2answers
3k views

Neovim Gray Background

Problem Anytime I switch to a colorscheme the background turns this ugly gray that gives everything a washed out look. Why does this happen, and how can I prevent it? Example screenshot— More ...
9
votes
3answers
1k views

Automatically close oldest buffers?

I needed to edit a lot of files recently for a small change in each file. To get to each file, I browsed through NERDtree and opened one file after another. As I opened more and more files, I ...
0
votes
1answer
36 views

<C-x><C-o> “Pattern not found” even with a Ctags file (C/C++)

<C-x><C-o> returns Pattern not found in C/C++ files even with a ctags file. It used to work and I haven't made any configuration/plugin changes that I know of Starting vim with vim -u ...
1
vote
0answers
50 views

All of my Vim text is underlined

I have configured Vim and then noticed that all of my text is underlined for some reason. I am running WSL with the Hyper terminal and I also configured Vim using the Ultimate Vim Configuration. Is ...
1
vote
0answers
27 views

Which vim configuration makes green line on the screen when I'm not looking?

It's only been a few days since I configured vim, installed WSL2, etc. Everything was alright, but today was different. I opened vim, and began coding. My code was kind of long so I couldn't see the ...
0
votes
0answers
40 views

Vim opens another file instead of source (Syntastic?)

I have been using vim for a while now and have some plugins including syntastic. I got a project with fileA.cpp fileA.h fileB.cpp fileB.h While debugging, I run vim fileA.cpp, and it will open fileB.h....

15 30 50 per page
1
2 3 4 5
…
11