Pick bufnr
function, to allow selecting which split to open a selected file in
#1036
Open
3 of 6 tasks
vim --version
ornvim --version
::echo has("python")
:0
:echo has("python3")
:1
:py print(sys.version)
::py3 print(sys.version)
:Describe your question, feature request, or bug.
LeaderF will always open the specified file in the least recently focused buffer (the buffer that you previously edited before triggering leaderf).
I would like to be able to select which buffer the file is opened in, similar to what I can achieve with
nvim-tree
andwindow-picker
:The green bars below each split is telling me which key to press to open the file in this split.
As far as I understand,
LeaderF
would need to provide a "callback" that's called before opening the file. Thepick()
function fromwindow-picker
will return a bufnr in which the new file is opened.The text was updated successfully, but these errors were encountered: