The following commands have made quick navigation much easier.
" Select file and go to its parent directory ( fdfind is fd in debian)
command! FZFfind : set noquickview
\| let $FZF_PICK = term('fdfind --type f --hidden --follow | fzf --height 80 2>/dev/tty')
\| if $FZF_PICK != ''
\| execute 'goto' fnameescape($FZF_PICK)
\| endif
" Select folder and cd into it
command! FZFlocate : set noquickview
\| let $FZF_PICK = term('locate $HOME | fzf --height 80 2>/dev/tty')
\| if $FZF_PICK != ''
\| execute system('[ -f "$FZF_PICK" ] && echo goto || echo cd') fnameescape($FZF_PICK)
\| endif
How can this manipulated so that the selection is sent to the command line without replacing already typed command?
Example, for selecting source file/folder for symbolic link
I type :!ln -s "paste selection here"