Loading ...
Sorry, an error occurred while loading the content.

Topics List

Vim-script: How to produce an error if there is semicolon in buffer?

(3)
Christian, thanks a lot for you help. It works excellent. I just replaced the "echo" part to get an error in red color. if search(';', 'nw') > 0 echohl Error
Igor Forca
3
posts
Jun 23

measure time betwween two normal commands

(6)
... First thing I would do is find out if it is the search (unlikely) or something related to redrawing the window (most likely). You can find out by
Bram Moolenaar
6
posts
Jun 21

decrease number?

(7)
Thank You John! Awesome! On Mon, Jun 19, 2017 at 8:29 PM, John Passaro ... -- -- You received this message from the "vim_use"
stosss
7
posts
Jun 19

begin end folding problem

(3)
... Using 'foldexpr' you can start a new fold at a given level by returning ">1", ">2", etc. See :help 'foldexpr' and :help fold-expr. So your foldexpr
Ben Fritz
3
posts
Jun 16

Re: How does vim choose a color that is not in the terminals color p

(5)
... The CSApprox plugin was written before the +termguicolors feature was even invented. It applies regardless of its presence, in any Vim version which can
Tony Mechelynck
5
posts
Jun 15

save and load a micro

(6)
... For robust keeping register in a file one should use `writefile([getregtype('a')] + getreg('a', 1, 1), 'rega', 'b')`. For restoring then: `let rega =
Nikolay Aleksandrovich Pavlov
6
posts
Jun 12

mapping list with : v:val and index of v:val

(6)
... Reproduce it with a list made of 150000 lines of a file. But effectively I have to use v:key. Thank you for all. -- -- You received this message from the
Ni Va
6
posts
Jun 11

Cursor isn't at right position for Commit message

(6)
Hi, ... I write the following setting in my .vimrc to avoid the problem: augroup vimrc-git autocmd! autocmd BufRead
Ken Takata
6
posts
Jun 8

Is there a simple way to |^a| and |^x| ?

(6)
... Fortunately the dimensions are all integer mm in this case, so that would be OK. But the problem with Postscript (or generated CNC gcode for that matter)
Erik Christiansen
6
posts
Jun 7

CTRL-F Setting

(6)
Hi That explains it. I understand it's a balance between keeping the efficiency of vi and having it Windows friendly, and I guess that's what gVim Easy
Sam
6
posts
Jun 6

Bug/non-determinism in output of maparg() and map commands

(33)
... I do not understand the point. *Last few messages I was agreeing on that prefix filter would be useful.* Never called this “conflict detection” though
Nikolay Aleksandrovich Pavlov
33
posts
May 29

Bug in ftdetect?

(29)
... Well, it must be used somehwere to explain why making the file empty has a different effect from only setting b:current_syntax in the file. ... Avoid what
Bram Moolenaar
29
posts
May 26

Re: Vim startup profiling

(11)
Hi, ... menu.vim uses `globpath()` to search some kind of files under the runtimepath. If you search `globpath` in menu.vim, you may find the following lines:
Ken Takata
11
posts
May 26

Please explain highlight groups User1 ... User9!!!

(11)
... I believe it is still important that this be resolved, however. The documentation is quite unclear. If conditional application of highlighting in the
jrfranklin@georgiasouthern.edu
11
posts
May 10

Re: Strange behavior with x! and permissions

(12)
... Charles, a longer explanation is that some of us use t-prot (http://www.escape.de/~tolot/mutt/) in mutt to combat TOFU, and truncate overlong quotes. (They
Erik Christiansen
12
posts
May 5
View First Topic Go to View Last Topic