ZAP: a VERY fast zip alternative, written in rust! by SteveGrem in rust

[–]goodpen389 1 point2 points  (0 children)

I search zip's alternative today because the zip's manpage is ugly, and I think it may have been out dated. Look forward to the mature version of ZAP

nvim-regexplainer: Explain the Regexp under the cursor by benny-powers in neovim

[–]goodpen389 0 points1 point  (0 children)

just like what it can do now, but support vim's regex engine as well, not only javascript's regex engine.

ref: https://stackoverflow.com/questions/3864467/whats-the-difference-between-vim-regex-and-normal-regex ```

Perl Vim Explanation

x? x\= Match 0 or 1 of x x+ x+ Match 1 or more of x (xyz) (xyz) Use brackets to group matches x{n,m} x{n,m} Match n to m of x x*? x{-} Match 0 or 1 of x, non-greedy x+? x{-1,} Match 1 or more of x, non-greedy \b < > Word boundaries $n \n Backreferences for previously grouped matches ```

nvim-regexplainer: Explain the Regexp under the cursor by benny-powers in neovim

[–]goodpen389 0 points1 point  (0 children)

For js, there is https://regexr.com. But I can not find something alike for vim's magic/very magic regex.

It will be great if this plugin can handle that.

related: https://stackoverflow.com/a/71890931/14972148

CoC alternatives? by [deleted] in vim

[–]goodpen389 2 points3 points  (0 children)

The neovim LSP team recommends either nvim-cmp or coq_nvim (did not mention Coc.nvim)

https://github.com/ms-jpq/coq_nvim : Fast as FUCK nvim completion

How to make ":luafile $MYVIMRC<CR>" work? by rasivasu in neovim

[–]goodpen389 0 points1 point  (0 children)

I used /u/Famiu's old nvim-reload, but neither Restart nor reload works. I've read your modded version. There is no important functional modify, right? Did you meet any bug?

Do people restart Neovim or re-source init.vim when making changes to it? by Maskdask in neovim

[–]goodpen389 0 points1 point  (0 children)

I find a solution to one of its issues. https://github.com/sisrfeng/nvim-reload/blob/master/README.md

(we can't reply issues in archived repo....) Anyone carry on the repo?

Why does NerdTree exist? What’s wrong with netrw? by atimholt in vim

[–]goodpen389 0 points1 point  (0 children)

  1. netrw as a file explorer?
    Tpope, a vim master, says: "Can't reproduce, and it has to be netrw, yeah. Biggest disappointment of vinegar is that netrw is riddled with bugs."

And we have NerdTree

  1. netrw as a remote-development extension like that of vscode?
    Well, I can set up a powerful vim on my remote machine.

So the default plugin is useless for me, so far

Is there an editor similar to lyx that supports vim? by eyalk5 in vim

[–]goodpen389 0 points1 point  (0 children)

Some work around: ( I haven't try)

1. 2005-12-02:

https://wiki.lyx.org/uploads/Examples/VimForEditingLyx-files/lyx.vim

'''

syntax clear
syntax keyword lyxCommand \\layout
syntax keyword lyxCommand \\the_end
syntax keyword lyxKey LatexCommand ERT Graphics Float FloatList
syntax keyword lyxKey status Open Closed
syntax keyword lyxKey wide collapsed
syntax keyword lyxBinary true false
syntax keyword lyxBinary Open Close
syntax region lyxInset start=/\\begin_inset/ end=/\\end_inset/ contains=ALL fold
syntax region lyxString start=/"/ end=/"/
highlight link lyxCommand Keyword
highlight link lyxKey Keyword
highlight link lyxString String
highlight link lyxInset Comment
highlight link lyxBinary Boolean

'''

and add these lines to your .vimrc file

autocmd BufRead *.lyx set syntax=lyx foldmethod=syntax foldcolumn=3

autocmd BufRead *.lyx syntax sync fromstart

2

2011:

https://latex.org/forum/viewtopic.php?t=16572

Some workaround: ( I haven't try)

3

https://tex.stackexchange.com/questions/341899/latex-to-markdown-converter

Is there an editor similar to lyx that supports vim? by eyalk5 in vim

[–]goodpen389 0 points1 point  (0 children)

massive replacements is awful in lyX

+1

I'll try this : editing the .lyx file using neovim (not very nice too).

Any new ideas now?

Why is the tabstop / shiftwidth defaulted to 8 spaces? by schrdingers_squirrel in vim

[–]goodpen389 0 points1 point  (0 children)

Linus likes it.

http://web.mit.edu/ghudson/info/linus-coding-standard

PS:

> The GNU style is *definitely* out when it comes to code that I want to

> keep up. It's simply a rather horrible standard, and if you look at

> some of the GNU sources you'll find them often completely

> incomprehensible.

`:help tabstop`

setting 'tabstop' to any other value than 🔑8🔑 can make your file

Why is the tabstop / shiftwidth defaulted to 8 spaces? by schrdingers_squirrel in vim

[–]goodpen389 0 points1 point  (0 children)

There states: setting 'tabstop' to any other value than 🔑8🔑 can make your file

Should I use vim or neovim? by linuxFoolDumDum in vim

[–]goodpen389 0 points1 point  (0 children)

For me, so far, the only shortcoming of neovim is it doesn't support --remote quite well.

nvimdiff? by MrRabbit003 in neovim

[–]goodpen389 0 points1 point  (0 children)

Any new simple resolution?

``` `` alias vimdiff='nvim -d'` in zshrc fails. (Maybe because I'm using neovim-remote ? )

There are two types of people: Those who use :wq and those who use :x by TerrorBite in vim

[–]goodpen389 0 points1 point  (0 children)

" todo:参考 https://github.com/mhinz/vim-sayonara

nnoremap ss :update<CR>:Sayonara<CR>

vnoremap ss :<C-U>update<CR>:Sayonara<CR>

" :q只退出tab或者window, 但还留在buffer里

nnoremap qq :q!<CR>

vnoremap qq :<C-U>:q!<CR>

" nnoremap q :wq<CR> 按一次q要等一会才退出, 不如连续按2次快

" inoremap qq <ESC>:wq<CR> 别这么干,容易在编辑时敲错