Search code examples
vimvim-plugin

Installing plugins in vim


Am running the command below:- sudo apt install curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

I get this error:-

E: Command line option 'L' [from -fLo] is not understood in combination with the other options.


Solution

  • apt install and curl are entirely different commands. sudo apt install curl would install the curl program itself, and then you can do curl -fLo .... You should look into what these commands mean before copy pasting them into your terminal and hitting enter.