Closed phcerdan closed 2 years ago
Vim-plug would work perfectly fine as well:
Plug "kylechui/nvim-surround"
should work.
Hi @kylechui, not working for me. yss
for example works when I use vim-surround, but not with this.
I can access the help function :help nvim-surround
, and the plugin seems installed correctly, but there are no default mappings.
Do I have to explicitly enable mappings or anything else for installation with vim-plug
?
I am using nvim v0.7.2
Ah, I forgot to mention that you need to run the setup function as well. You can do that using
lua << EOF
require("nvim-surround").setup()
EOF
I think; I'll need to look into the syntax a bit more later.
That was it. Thanks!
I am new to lua environments. Do I specifically need
packer
for installation, or vim managers likevim-plug
would work?Thanks!