Error while making symbolic links for nvim
So I was making a symbolic links for nvim so that if i use vim command it opens nvim.
So I used this code
ln -s (which nvim) /usr/local/bin/vim
but when i ran the command it showed this error
zsh: unknown file attribute: h
so plz tell me my mistake and solution for that
Solution 1:
You need to put the path to nvim as the first parameter, i.e.
ln -s =nvim /usr/local/bin/vim
In general, =foo
expands to the absolute path of the command foo (by using PATH search).