Skip to main content
Tooling
0 votes
3 replies
57 views

I'm testing a vim colorscheme but i need to support for fallback to 8-bit colors but in windows there are no terminal that do this even i force them with set t_Co=8 they are falling back to 16-bit ...
Charan 00's user avatar
2 votes
1 answer
89 views

I am editing an OpenCL source file, foo.cl, in Vim 9.1 . My .vimrc has the line: au BufRead,BufNewFile *.cl setfiletype opencl for choosing an opencl file type for files with the .cl prefix. However, ...
einpoklum's user avatar
  • 139k
3 votes
3 answers
71 views

This is my vimrc: set hlsearch nmap <silent> <Esc> :nohl<CR> I am searching with / => matches highlighted What I expect - pressing escape in normal mode will run :nohl, so ...
hlebyshek's user avatar
1 vote
2 answers
102 views

ALE does not wrap linting messages as you can see in the first image. I can see the complete line only when scaling as you can see in the second image. What setting could I use to view the whole ...
Машина's user avatar
2 votes
2 answers
68 views

How can I search a file for a regex pattern that includes both ' and ". My actual search is: :echo search('\l[,;"\'\-]* \u\l\+','ceW') which gives me E116 Invalid arguments for function ...
user985675's user avatar
Advice
0 votes
2 replies
72 views

Supposing you've got something like this, and you want to neaten the tags up so it's all on one line: <p>The quick brown fox jumped over the lazy dog. </p> If your cursor is on the first ...
William Turrell's user avatar
Advice
0 votes
4 replies
71 views

I had a hard time configurating Vim writing vimrc and other files, so I delete the directory indicated by $VIMRUNTIME, which in Suse was /usr/share/vim to start fresh. Then I reinstalled Vim, but now ...
Daniel Muñoz's user avatar
-3 votes
1 answer
89 views

First off, allow me to apologize for the confusion this question has created, and for my tardiness in responding. I live completely off-grid, and can only access internet at the library when I come to ...
user985675's user avatar
0 votes
1 answer
89 views

I thought I have understood how the vim registers work pretty well until I came across this scenario. Consider following line. Toast #Mark Coffee Now, I want to move Toast in between the Mark and ...
AGoodStudent's user avatar
Best practices
0 votes
4 replies
101 views

I would like to know some best practices for using cscope with vim/nvim. Here is the cscope related vim config from my init.vim. fun! CscopeBuildReset() :!cscope -Rbq :cs reset endfun " ...
indojin's user avatar
  • 179
1 vote
1 answer
91 views

My understanding is the match resulting from \@= SHOULD NOT INCLUDE the lookahead characters. Here is an example that has me perplexed: syn match InspectKeyword '\v(\+\s)\@=\w+' Results in: The ...
NW_BlackDog's user avatar
1 vote
3 answers
139 views

Assume I have the following text, and I want to use nvim to extract only the lines that contain z_image: README.md 14 kB Update README.md 12 days ago z_image_turbo-Q3_K.gguf 4.12 GB Intial Commit 12 ...
Carson's user avatar
  • 9,108
0 votes
2 answers
91 views

If I have the following content head = cfg["head"] head = cfg["head"] head = cfg["head"] head = cfg["head"] Assuming I have a list as below :let list = ['head',...
Carson's user avatar
  • 9,108
2 votes
1 answer
66 views

*Write setlocal iskeyword+=[,],^ in your markdown ftplugin file to reproduce this problem I'm trying to create tags for my markdown endnotes in vim, so that jumping to them from the text is easier. An ...
google account's user avatar
Best practices
1 vote
4 replies
148 views

I want to write a script which ends by calling my text editor (vim) on a specific file path. The file doesn't yet exist, and I want the editor window to already have some contents in it. In particular,...
Ted's user avatar
  • 1,092

15 30 50 per page
1
2 3 4 5
1885