diff --git a/nvim/plugin/files.vim b/nvim/plugin/files.vim index b9266d5..8b3d347 100644 --- a/nvim/plugin/files.vim +++ b/nvim/plugin/files.vim @@ -36,6 +36,10 @@ nnoremap empty(&buftype) ? ":writewall\" : "\" " Ranger {{{ let g:ranger_replace_netrw = 1 let g:ranger_map_keys = 0 + " The default path (/tmp/chosenfile) is inaccessible at least on + " Android/Termux, so the tempname() function was chosen because it respects + " $TMPDIR. + let g:ranger_choice_file = tempname() nnoremap o Ranger " ranger.vim relies on the Bclose.vim plugin, but I use Bbye.vim, so this " command is here just for compatitabilty