Package Details: neovim-symlinks 4-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: tomasstorck
Maintainer: Scimmia
Last Packager: Scimmia
Votes: 58
Popularity: 4.47
First Submitted: 2015-08-10 18:51
Last Updated: 2019-11-29 02:22

Required by (413)

Sources (0)

Latest Comments

1 2 3 Next › Last »

Scimmia commented on 2021-10-15 23:36

It has nothing to do with the pkgver here, it has to do with the provides, which are unversioned. Truthfully, even having the provides is pushing things a bit, as this really isn't the same thing as vim or vi, trying to say that it's the same as a specific version of vim would be going too far.

C_Schmidpeter commented on 2021-10-03 11:50

Installing neovim-symlinks results in the error:

:: neovim-symlinks and gvim are in conflict (vim). Remove gvim? [y/N] y :: neovim-symlinks and vi are in conflict. Remove vi? [y/N] y error: failed to prepare transaction (could not satisfy dependencies) :: removing gvim breaks dependency 'vim>=7.0' required by vim-bufexplorer :: removing gvim breaks dependency 'vim>=7.0' required by vim-ctrlp :: removing gvim breaks dependency 'vim>=7.0' required by vim-vcscommand

I think the issue here is that vim >= 7.0 is required for these packages, however the vim provider i.e. neovim-symlinks is versioned as 4-1. As workaround I force-removed gvim via 'yay -Rdd gvim'. If this is indeed the cause for given issue, I think the version number of this package should be adapted accordingly in order to avoid version dependency issues like this one.

Scimmia commented on 2021-07-13 02:25

Looks like they removed restricted mode altogether in 0.5.0. The scripts will be removed from the package on the next update.

cl3M3c7 commented on 2021-07-12 22:45

rvim and rview not working because of the (-Z flag)!!!

bbaovanc commented on 2021-06-26 17:36

Scimmia could you please add the vimtutor script that harry suggested?

echo -e '#!/bin/sh\nexec nvim -c Tutor' > vimtutor

naruto522ru commented on 2021-06-14 00:24

harry,Thanks for your answer will help not only me, but other people. My problem solution was not practical in contrast to yours.

harry commented on 2021-06-10 19:38

naruto522ru, could just use: echo -e '#!/bin/sh\nexec nvim -c Tutor' > vimtutor

naruto522ru commented on 2021-03-07 09:23

I made such a change on PKGBUILD (I took it from archlinuxcn), and I propose a patch:Sprunge The vimtutor script itself:

#!/bin/sh
if [[ "$LANG" == "ru_RU.UTF-8" ]]; then
 cp /usr/share/nvim/runtime/tutor/ru/vim-01-beginner.tutor /tmp/vim-01-beginner.tutor
 vim /tmp/vim-01-beginner.tutor
fi

if [[ "$LANG" == "en_US.UTF-8" ]]; then
 cp /usr/share/nvim/runtime/tutor/en/vim-01-beginner.tutor /tmp/vim-01-beginner.tutor
 vim /tmp/vim-01-beginner.tutor
fi

exit 0

The tutor.ru.utf-8 itself was taken from the original vim, and the English-language tutor comes with neovim. For other languages, you need to add PKGBUILD and the vimtutor script P.S If someone comes up with a better way I will use it. My way is not perfect.

timescam commented on 2020-08-25 07:18

maybe worth adding vimtutor as exec nvim +Tutor

Freso commented on 2020-02-28 12:18

@FrederickZh You could use the aliases and the symlinks both. The aliases would take precedence in interactive shells and Zsh would give you your completions, and non-interactive shells would(/should) fall gracefully back to the symlinks.