Vim plugin: does this download the plugin at every use of vim command?
by dedec0 from LinuxQuestions.org on (#5NG32)
Hello,
I am trying to find a way to align a text conversation in a terminal window like we see them in Telegram, or some other instant message services. Id est: our messages are aligned to the right of the screen, with some margin to the left border for long lines; and other people messages just use a margin, so they do not touch the right screen border (this second one is easy with textwidth).
I found a promising plugin called vim-easy-align, which is found here:
https://www.vim.org/scripts/script.php?script_id=4520
BUT following the installation instruction demands another plugin, the vim-plug ("a minimalist Vim plugin manager": https://github.com/junegunn/vim-plug). So, i installed vim-plug by saving the file https://raw.githubusercontent.com/ju...aster/plug.vim into my ~/.vimrc/autoload/ folder.
Now, vim-plug wants me to put some new lines in my ~/.vimrc :
Code:" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" [MIDDLE PART] Shorthand notation; fetches
" https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'
" Initialize plugin system
call plug#end()
" Is there something missing?The middle part in the above code is where i have my doubt: will https://github.com/junegunn/vim-easy-align be downloaded every time i execute vim? Because it clearly says "fetches https://[...]", and i want to download it just one time.
I am trying to find a way to align a text conversation in a terminal window like we see them in Telegram, or some other instant message services. Id est: our messages are aligned to the right of the screen, with some margin to the left border for long lines; and other people messages just use a margin, so they do not touch the right screen border (this second one is easy with textwidth).
I found a promising plugin called vim-easy-align, which is found here:
https://www.vim.org/scripts/script.php?script_id=4520
BUT following the installation instruction demands another plugin, the vim-plug ("a minimalist Vim plugin manager": https://github.com/junegunn/vim-plug). So, i installed vim-plug by saving the file https://raw.githubusercontent.com/ju...aster/plug.vim into my ~/.vimrc/autoload/ folder.
Now, vim-plug wants me to put some new lines in my ~/.vimrc :
Code:" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" [MIDDLE PART] Shorthand notation; fetches
" https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'
" Initialize plugin system
call plug#end()
" Is there something missing?The middle part in the above code is where i have my doubt: will https://github.com/junegunn/vim-easy-align be downloaded every time i execute vim? Because it clearly says "fetches https://[...]", and i want to download it just one time.