My Vim Settings and a script to auto setup them
Go to file
2022-01-02 07:43:31 -08:00
.github/workflows Only build amd64 2021-12-17 17:22:16 -08:00
neovim Add snippet support 2022-01-02 07:43:31 -08:00
vim Add some escape sequences for tmux true color 2021-12-15 15:28:58 -08:00
.dockerignore Update Dockerfile and related Docker scripts 2021-12-16 20:52:09 -08:00
.gitignore Only exclude packer compiled 2021-12-10 12:02:11 -08:00
.luacheckrc Fix luacheck globals 2021-12-15 08:43:12 -08:00
.pre-commit-config.yaml Add stylua hook 2021-12-15 09:37:19 -08:00
docker-entry.sh Update Dockerfile and related Docker scripts 2021-12-16 20:52:09 -08:00
Dockerfile Fix rustup attempt on arm 2021-12-16 21:07:49 -08:00
install-language-servers.sh Add ability to ignore failed installs 2021-12-17 11:25:06 -08:00
Makefile Update build platforms 2021-06-13 18:31:14 -07:00
nvim-container.sh Update Dockerfile and related Docker scripts 2021-12-16 20:52:09 -08:00
README.md Prettify README.md using new linters/fixers 2019-10-29 12:33:29 -07:00
update-plugins.sh Add update script 2017-10-25 10:40:07 -07:00
vim-sync-append.sh Forgot PackerBootstrap doesn't run sync if it's already been run 2021-12-16 21:34:07 -08:00

About

These are my Vim settings that I like to keep synced between my computers for convenience. This bootstrap setup will support both Vim and Neovim and uses different plugins, where needed, to bridge gaps in functionality. I use Neovim day to day, but there are times it is not available, so I maintain Vim support as well.

The bootstrap script included will set the proper symblinks and run vim-plug to install any plugins.

Install

git clone https://github.com/ViViDboarder/vim-settings.git
cd vim-settings
make install

You can also remove any installed plugins or completely uninstall this configuration using either make clean or make uninstall respectively.

Project Layout

The vim directory here is what gets symb linked to ~/.vim, ~/.nvim, and ~/.config/nvim. Inside, the init.vim file will also get symblinked to ~/.vimrc and ~/.nvimrc. The other included directories are mostly standard vim directories that provide some additional configuration files. The exceptions would be backup, which becomes the new default location for storing backup files while editing. The tmp directory is for storing session information. The rc directory is where all the vimrc work gets done.

The rc Files

The init.vim file essentially sets vim up to import the rc files from the rc directory. The actual configuration exists almost entirely in the rc directory. Each file should be fairly self explanatory.

One problem with syncing rc file between different machines, is that you may have different usages. That is solved by this framework by making use of local.rc files. For every *.rc.vim, you may provide a *.local.rc.vim file which will be loaded after the shared one. Here you can override or add anything to the synced configuration without it causing problems on any other machine.

Note

I am not the original creators of some of the files included in the vim directory and only re-host them out of convienince. If I am missing any licensing information I'd be happy to attach it.