The Meowgorithm Dotfiles, Collectors’ Edition
vim9script # Auto-install vim-plug var plugPath = "~/.config/vim/autoload/plug.vim" var vimrcPath = "~/.config/vim/vimrc" if empty(glob(plugPath)) silent execute '!curl -fLo ' .. plugPath .. ' --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' autocmd VimEnter * PlugInstall --sync | source vimrcPath endif # Install plugins only if vim-plug is available if filereadable(expand(plugPath)) call plug#begin() Plug 'airblade/vim-gitgutter' Plug 'ctrlpvim/ctrlp.vim' Plug 'dense-analysis/ale' Plug 'github/copilot.vim' Plug 'preservim/nerdtree' Plug 'rhysd/vim-healthcheck' Plug 'schickling/vim-bufonly' Plug 'tpope/vim-commentary' Plug 'vim-airline/vim-airline' call plug#end() endif colorscheme charmtone g:mapleader = " " # Options set nocompatible set nobackup set nowritebackup set noswapfile set shell=bash set number set nowrap set expandtab set shiftwidth=4 set tabstop=4