I am in newbie to Neovim.
I have tried CMD Y but it is not working.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityI am in newbie to Neovim.
I have tried CMD Y but it is not working.
To make Ctrl-y expand the Emmet snippets I had (on Windows 10) to add the following line into ~/.config/nvim/init.vim
:
let g:user_emmet_expandabbr_key='<C-y>'
For make Cmd-y expand the Emmet snippets on Mac you should probably add the following line into init.vim
:
let g:user_emmet_expandabbr_key='<D-y>'
Or in ~/.config/nvim/init.lua
:
vim.g.user_emmet_expandabbr='<D-y>'
Remark: One way to have vim-plug
installed on MacOs for Neovim is to run in a console the following commands:
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
I got the information from: Neovim for MacOS
Remark: to have Emmet installed you need to:
init.vim
:call plug#begin()
Plug 'mattn/emmet-vim'
call plug#end()
:PlugInstall
command