Package Details: neovim-symlinks 5-1

Git Clone URL: https://aur.archlinux.org/neovim-symlinks.git (read-only, click to copy)
Package Base: neovim-symlinks
Description: Runs neovim if vi or vim is called
Upstream URL: None
Conflicts: vi, vi-vim-symlink, vim
Provides: vi, vim
Submitter: grawlinson
Maintainer: Scimmia
Last Packager: grawlinson
Votes: 35
Popularity: 1.78
First Submitted: 2022-04-22 17:53 (UTC)
Last Updated: 2022-04-22 17:53 (UTC)

Required by (423)

Sources (0)

Latest Comments

Freed commented on 2022-09-08 11:38 (UTC)

Opoos. Because

❯ pacman -Ql neovim-symlinks
neovim-symlinks /usr/
neovim-symlinks /usr/bin/
neovim-symlinks /usr/bin/edit
neovim-symlinks /usr/bin/ex
neovim-symlinks /usr/bin/vedit
neovim-symlinks /usr/bin/vi
neovim-symlinks /usr/bin/view
neovim-symlinks /usr/bin/vim
neovim-symlinks /usr/bin/vimdiff

So should be

#compdef edit=nvim ex=nvim vedit=nvim vi=nvim view=nvim vim=nvim vimdiff=nvim

_vim

Freed commented on 2022-09-07 14:07 (UTC)

I advise providing a file named /usr/share/zsh/site-functions/_nvim:

#compdef ex vi view edit vedit

_vim

So these neovim's symlink (ex, vi, ...) can use same zsh completion with neovim (neovim use _vim).

For bash/fish, should have same behavior. However, I am not similar to them.

randomnerd commented on 2022-04-28 08:11 (UTC)

The conflicts: vi-vim-symlink is unnecessary as vi-vim-symlink already provides vi

Roshless commented on 2022-04-22 22:54 (UTC)

Cool to see it back on AUR :D