ctjhoa / spacevim

Spacemacs for vim
MIT License
372 stars 21 forks source link

"SPC f f" results in error #34

Closed Npahlfer closed 7 years ago

Npahlfer commented 7 years ago

The keybinding SPC f f throws error:

Error detected while processing function SpacevimFindFiles: line 2:
E499: Empty file name for '%' or '#', only works with ":p:h": Files %:h

I just added spacevim as a distribution.

ctjhoa commented 7 years ago

Which OS do you have ? Do you have install fzf ?

Npahlfer commented 7 years ago

Thx for a fast reply. Im on OSX 10.11.6. Yes, fzf is installed and I have restarted vim.

ctjhoa commented 7 years ago

OK I get it: http://stackoverflow.com/questions/35135212/vim-source-command-results-in-error-e499

In short, SPC f f only work when file exist on the file system so it should not be a scratch file but an existing file.

Npahlfer commented 7 years ago

Ah, okey. Thanks for the help!