Don't create a new empty buffer on every open. (#300)
This commit is contained in:
parent
b5ef2fb7f8
commit
4271180aea
@ -130,7 +130,7 @@ local move_tbl = {
|
||||
}
|
||||
|
||||
function M.open()
|
||||
a.nvim_command("vnew")
|
||||
a.nvim_command("vsp")
|
||||
local move_to = move_tbl[M.View.side]
|
||||
a.nvim_command("wincmd "..move_to)
|
||||
a.nvim_command("vertical resize "..M.View.width)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user