yode-nvim icon indicating copy to clipboard operation
yode-nvim copied to clipboard

Collection of tips to get Yode-Nvim working with other plugins

Open hoschi opened this issue 3 years ago • 1 comments

The seditors are special buffers of type "acwrite", which may cause problems with other plugins. If you have any tips how to change settings to make a plugin work with the seditors, post them here as a comment.

hoschi avatar Feb 12 '22 08:02 hoschi

I leverage the close-buffers glob feature and the session plugin pre-save callback to close them this way:

call plug#begin('~/.config/nvim/plugged')

Plug 'nvim-lua/plenary.nvim'
Plug 'hoschi/yode-nvim'
Plug 'kazhala/close-buffers.nvim'
Plug 'rmagatti/auto-session'

call plug#end()

lua << EOF

require('yode-nvim').setup {}
require('auto-session').setup {
  pre_save_cmds = {"BDelete glob=yode*"}
}

EOF

https://github.com/hoschi/yode-nvim/issues/7#issuecomment-1038300549

timtyrrell avatar Feb 13 '22 18:02 timtyrrell