Open jfab20 opened 2 years ago
@jfab20 I also use this command (fzf#run
). Very useful, but I have one question. When I open a new file with this command, I have to press :Goyo
again, do you know how to prevent this?
@jfab20 I also use this command (
fzf#run
). Very useful, but I have one question. When I open a new file with this command, I have to press:Goyo
again, do you know how to prevent this?
I don't know unfortunately. I had too many issues with this plugin so I changed to https://github.com/shortcuts/no-neck-pain.nvim.
Thank you, I might switch in the future.
I have the following map in my init.vim:
noremap <leader>o :call fzf#run({'source': 'find ~', 'window': {'width': 0.6, 'height': 0.6}, 'sink': 'tabedit' })<CR><CR>
This map just opens a fzf window and opens the selected file in a new tab.
Whenever I enter a file and use
:Goyo
, then activating the map with<leader>o
opens a new terminal window in the middle of the screen as expected. Selecting a file however, causes a bunch of errors:The bug is not present when I use
'sink':'e'
insead of tabedit.