diff --git a/rplugin/python3/denite/kind/buffer.py b/rplugin/python3/denite/kind/buffer.py index fd7529306..619f92b1f 100644 --- a/rplugin/python3/denite/kind/buffer.py +++ b/rplugin/python3/denite/kind/buffer.py @@ -38,7 +38,7 @@ def action_preview(self, context): return prev_id = self.vim.call('win_getid') - self.vim.command('pedit') + self.vim.command('pedit!') self.vim.command('wincmd P') self.action_open(context) self.vim.call('win_gotoid', prev_id)