Linked Questions

1
vote
1answer
38 views

Contents are all selected by default

First, I don't know what happed, which means the cause may not as the title suggests. I was editing with vim. one or two mis-key strokes, now whenever I open file with vim. All the Contents are all ...
1
vote
0answers
49 views

Pressing CTRL-U combination gives invalid arguments for function timer_stop?

I am not precisely able to reproduce the exact conditions under which this occurs, but sometimes, when I press CTRL+u, I get the errors below. I cannot even exit vim with CTRL+c or suspend. I haven't ...
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 ...
1
vote
0answers
45 views

Why does Vim treat the `<link>` tag in XML files differently?

I've noticed that omnicomplete and keyboard motions don't work in XML files with a <link> tag as expected. For example <related-links scope="external" format="html"> <link href="...
1
vote
0answers
42 views

cursor position jumps to first non-blank character of line unpredictably [closed]

I'm using SpaceVim with Neovim, and often times I'd experience this cursor jumping issue (as if ^ has been pressed in normal mode) while using it. I doubt the bug is on the Neovim end, otherwise a lot ...
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....
1
vote
0answers
39 views

mapping with multiple substitutes inserts just a newline with 'R'

I have this mapping in my vimrc: nnoremap <F3> :%s/ä/\\"{a}/g<CR> :%s/ö/\\"{o}/g<CR> :%s/ü/\\"{u}/g<CR> :%s/ß/\ss{}/g<CR> after executing it, an 'R' is inserted above ...
1
vote
0answers
37 views

syntastic plugin files getting sourced twice [closed]

Many moons ago, I made the common newb mistake of tricking out vim with all kinds of plugins and plugin loaders without really knowing what I was doing. I'm trying to clean things up a little. I'm ...
0
votes
1answer
37 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 ...
0
votes
0answers
36 views

Getting conflict when setting ft=txtfmt

I installed The Vim Highlighter plugin by Brett Stahlman. The plugin requires setting filetype=txtfmt. I set the option using :set ft=txtfmt but got conflicts like Level 1 map ambiguity:[bf already ...
1
vote
0answers
35 views

Remove spacing column begin line

I have an annoying problem that I have no idea how to fix it. Every time I open a specific log file for some weird reason the window starts with 2 spaces column. This happen only with this specific ...
0
votes
0answers
33 views

NERDTree causes Vim exiting when open two buffers on same window

Here is what is happening: I open one file, either with o in NERDTree or with :edit file_a. I open another file, again with o in NERDTree or with :edit file_b, and the file opens at the same window ...
1
vote
1answer
25 views

t_comment vim only works with vim-command not the gc prefix

I'm sorry, I'm noob in vim but how to comment with tcomment_vim? Here the debug info and some videos. TCOMMENT: &ft = javascript => javascript TCOMMENT: stx = jsString => javascriptString ...
0
votes
0answers
27 views

UltiSnips unexpected behaviour

I have the following two snippets snippet mm "Math" wA \(${1}\)`!p if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']: snip.rv = ' ' else: snip.rv = '' `$2 endsnippet Which puts me in math ...
0
votes
1answer
27 views

switchin back another viewport from the terminal buffer [duplicate]

I created :term, then I switch to another viewport, but latter when I switch back to the term buffer "!/bin/bash" it is full screen and I don't understand how can I access the vim command ...

15 30 50 per page
1
7 8 9
10
11