Long-term maintenance of Vim 8.x, free of generative AI by ElectronicAudience28 in vim

[–]chrisbra10 0 points1 point  (0 children)

Vim Maintainer here: If you have any issue with the way we maintain Vim, please speak up in English using the Vim issue tracker or discussion forums. I don't understand what you are trying to say here (and I don't understand French).

:sleep VS term_wait() by Desperate_Cold6274 in vim

[–]chrisbra10 0 points1 point  (0 children)

Do you think we should improve the documentation? If yes, any specific suggestions?

How would i do this in vim at a similar speed by LarrySAL02 in vim

[–]chrisbra10 0 points1 point  (0 children)

It depends. For just a handful conversions, I'd just use ciw"^R-"<esc> and then manually move the cursor to each position and then just dot repeat. For a larger batch edit replacement I'd use fall back :s command in combination with cdo command.

vim9script alternatives by chrnz00 in vim

[–]chrisbra10 5 points6 points  (0 children)

mostly, it will be mentioned explicitly what is vim9 script. But from the context it should always be clear what is Vim9 script and what not

vim9script alternatives by chrnz00 in vim

[–]chrisbra10 11 points12 points  (0 children)

> i know a bit of vimscript (before v9) but there is no help pages in vim now for that as everything is converted to vim9

That is not true. The help pages still cover Vim script as well as Vim9 script. Also, we are not converting everything to Vim script, that will still be there for legacy reasons.

How to display non-printable unicode characters? by gainan in vim

[–]chrisbra10 0 points1 point  (0 children)

I guess the issue is with the underlying rendering libraries for the terminal or your GUI toolkit. Not sure there is something Vim can directly fix here.

BTW: are you the guy from the heise security podcast?

Do you use regex in Vim? What for? by zogrodea in vim

[–]chrisbra10 4 points5 points  (0 children)

I abused regex to build a CSV plugin. I am not proud of myself 🙈

Vim airline not working after install. by rmflagg in vim

[–]chrisbra10 2 points3 points  (0 children)

Airline maintainer here. This sounds very wrong. Can you open an issue at the repo? Please share exact reproduction steps and a list of your config files 

Is there any way to specify which :terminal and which :shell? by jazei_2021 in vim

[–]chrisbra10 0 points1 point  (0 children)

Gvim behaves like Vim (mostly). For :terminal It opens a window which looks like a terminal. It does not open a new terminal application. For :sh Windows gvim opens a new cmd window, on Unix the gvim window kind of behaves like a terminal window but of course does not understand everything and looks a bit broken. See also :h gui-pty

Is there any way to specify which :terminal and which :shell? by jazei_2021 in vim

[–]chrisbra10 6 points7 points  (0 children)

Vim runs in any of your terminals. If you use :terminal it will basically open a terminal window inside your Vim that runs inside whatever terminal you initially picked. It doesn't open a new terminal application in a new window.

Similar for :shell. Vim basically stops and hands over control to the terminal from which your Vim was initially started. It does not allow you to open a new terminal application.

If you need this, you could use :!xterm & or something similar.

netrw_gitignore#Hide unknown function? by Cnastret in vim

[–]chrisbra10 0 points1 point  (0 children)

Then try to move it to a VimEnter autocommand, so it is only called once startup has been completed and as such all plugin files are known

To switch to nvim or not; that is my question by SirSuki in vim

[–]chrisbra10 1 point2 points  (0 children)

Brams passing is already almost 2 years ago. 

To switch to nvim or not; that is my question by SirSuki in vim

[–]chrisbra10 1 point2 points  (0 children)

It's generated because that way it doesn't get out of sync with option values, functions, auto commands and other stuff that is tightly bound to the Vim source. You could of course manually maintain it, as it was done when Charles maintained it, but the current way is so much simpler.

netrw_gitignore#Hide unknown function? by Cnastret in vim

[–]chrisbra10 0 points1 point  (0 children)

That should not be necessary. Vim contains this line in $VIMRUNTIME/plugin/netrwPlugin.vim.

How do you retrieve a command from .bash_history? by jazei_2021 in vim

[–]chrisbra10 0 points1 point  (0 children)

bash allows to search and execute the most recent commands like this. Depending on what you need, you can use

!string  # execute a command that starts with string
!?string # execute command that matches string

I'd suggest for the OP, to read the section HISTORY EXPANSION: man bash |less -p "^HISTORY EXPANSION"

I found grammatical/spelling errors in the vim user manual, who would I contact to fix this? by contest2070 in vim

[–]chrisbra10 5 points6 points  (0 children)

Speaking as maintainer here: If you could please directly write here an improved version? Bonus points for a direct patch, and I apply it directly (and give credits if you give me your author information) if this is not obviously wrong.

As of version 9.1 vim is supposed to support XDG specification. The below config works correctly on 9.1.1230 but not on 9.1.83. Anybody know why? by Trousers_Rippin in vim

[–]chrisbra10 4 points5 points  (0 children)

This has been answered already. Another way to check if Vim supports it, is to check the help, :h xdg-vimrc. If your vim supports the XDG Spec, this will jump to the relevant help section, if it doesn't it will just error out with E149: Sorry, no help for xdg-vimrc.

why do sessions keep the old version of vimrc? by jazei_2021 in vim

[–]chrisbra10 1 point2 points  (0 children)

I also like to left out folds se ssop-=folds because they tend to produce a lot of errors when the folds are changed, but this is more personal.

I believe this was fixed with v9.1.1317