New answers tagged

0 votes

How do I open an existing file in a floating window?

instead of vim.cmd(":edit catalog.txt") you could use vim.cmd(":read catalog.txt")
DrGo's user avatar
  • 101
0 votes

How to open a file in the same window? (without creating a split)

:edit some_file.txt works in nvim, like :open some_file.txt works in vim(/vi?) which opens some_file.txt file in the window where cursor is [without splitting/...]
ANDuser's user avatar

Top 50 recent answers are included