Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing found under plugged folder after successful installing. #1150

Open
8 tasks
futurehome opened this issue Dec 18, 2021 · 4 comments
Open
8 tasks

Nothing found under plugged folder after successful installing. #1150

futurehome opened this issue Dec 18, 2021 · 4 comments

Comments

@futurehome
Copy link

Explain the problem here ...

I use nvim.appimage in Linux system, and try to install easymotion, it looks installing is successful(see the pic below), but I can't find anything under plugged folder, and the plug doesn't work.
Anything wrong with my setting?

Thanks,
Alex



Snipaste_2021-12-18_12-22-39

  • Type:
    • Bug
    • Enhancement
    • Feature Request
    • √ Question
  • OS:
    • All/Other
    • √ Linux
    • OS X
    • Windows
  • Vim:
    • Terminal Vim
    • GVim
    • √ Neovim
@RayZ0rr
Copy link

RayZ0rr commented Jan 13, 2022

Could you show your vim-plug file that you use to install easymotion?

@futurehome
Copy link
Author

image

@RayZ0rr
Copy link

RayZ0rr commented Jan 27, 2022

THIS IS OPTIONAL : If you have nothing important or not done anything with nvim yet, then clear everything inside ~/.config/nvim and ~/.local/share/nvim.

Then paste the following code in your vimrc file ( ~/.config/nvim/init.vim ) :

let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
  silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
  autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif

call plug#begin()
" The default plugin directory will be as follows:
"   - Vim (Linux/macOS): '~/.vim/plugged'
"   - Vim (Windows): '~/vimfiles/plugged'
"   - Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged'
" You can specify a custom plugin directory by passing it as the argument
"   - e.g. `call plug#begin('~/.vim/plugged')`
"   - Avoid using standard Vim directory names like 'plugin'

" Make sure you use single quotes

" Shorthand notation; fetches https://github.com/easymotion/vim-easymotion
Plug 'easymotion/vim-easymotion'

call plug#end()

@RayZ0rr
Copy link

RayZ0rr commented Jan 27, 2022

To see stdpath('data'), open nvim, press :(shift key + ; key) and type:
echo stdpath('data')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants