NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
| { | |
| "always_show_minimap_viewport": true, | |
| "binary_file_patterns": | |
| [ | |
| "*.dds", | |
| "*.eot", | |
| "*.gif", | |
| "*.ico", | |
| "*.jar", | |
| "*.jpeg", |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="/home/disciple/.oh-my-zsh" | |
| # Set name of the theme to load --- if set to "random", it will | |
| # load a random theme each time oh-my-zsh is loaded, in which case, | |
| # to know which specific one was loaded, run: echo $RANDOM_THEME | |
| # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
| " plugins | |
| let need_to_install_plugins = 0 | |
| if empty(glob('~/.vim/autoload/plug.vim')) | |
| silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
| \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| "autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
| let need_to_install_plugins = 1 | |
| endif | |
| call plug#begin() |
| {"lastUpload":"2020-08-19T12:50:46.549Z","extensionVersion":"v3.4.3"} |
NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].