On 23/02/22 4:53 PM, Maxim Kim wrote:
Is there a builtin function to edit a buffer in the current window?
There is no function as far as I know for this.
I use
execute string(bnr) .. 'buffer'
Anything more script oriented?
Pretty much this, with variations using string interpolation:
:exe
Is there a builtin function to edit a buffer in the current window?
There is no function as far as I know for this.
I use
execute string(bnr) .. 'buffer'
Anything more script oriented?
Pretty much this, with variations using string interpolation:
:exe $"{bnr}buffer"
:exe $"b {bnr}"
--
--
Is there a builtin function to edit a buffer in the current window?
I use
execute string(bnr) .. 'buffer'
Anything more script oriented?
-ernie
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more informa