Skip to content

gjoacorp/gjoavim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gjoavim

What is gjoavim?

gjoavim is my personal Vim configuration that I've been curating over the past 5+ years.

Installation guide

  1. My configuration uses the plugin manager Vundle. You will need to run
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

before proceeding if you don't already have Vundle installed.

  1. You are strongly recommended to fork this repository. This step is especially important if you want to sync your Vim configuration across multiple devices. Even if you don't want to do this now, you may want the option to do so in the future.

  2. If you already have a .vimrc in your home directory, rename it to something else (e.g. .vimrc2).

  3. Create a symbolic link to YOUR_PATH_TO_FORK/vimrc by running:

ln -s YOUR_PATH_TO_FORK/vimrc ~/.vimrc

The reason for doing this is that you will never (and definitely should not) edit ~/.vimrc directly, but will instead edit YOUR_PATH_TO_FORK/vimrc. By doing so, you can easily sync changes across your devices with a simple git pull. It took me an embarassingly long amount of time for me to realise to do this myself and, as a result, I had different Vim configurations on my laptop and home computer (trust me, you don't want this).

  1. If you plan on using the UltiSnips plugin, create a symbolic link to YOUR_PATH_TO_FORK/my_snips by running
ln -s YOUR_PATH_TO_FORK/my_snips ~/.vim/my_snips

In a similar vein as the discussion above, this will sync your snippets across multiple devices. You won't (and should not) edit ~/.vim/my_snips, but instead edit YOUR_PATH_TO_FORK/my_snips.

Important

Before proceeding with the next (final) step, you should read the following section on plugins first.

  1. Open Vim, then run :PluginInstall to install the plugins.

gjoavim plugins

Below is a list of all of the plugins that (with no changes) will be installed when running :PluginInstall.

I've included a brief description of what each plugin is, and you can always visit their repositories for more information.

It's highly likely that some of the plugins listed below are not applicable to your workflow. If you don't want to install a particular plugin, remove the line(s) Plugin '<plugin I don't want>' from YOUR_PATH_TO_FORK/vimrc before running :PluginInstall. You may also have to remove additional lines from YOUR_PATH_TO_FORK/vimrc relating to the removed plugin to avoid errors. Moreover, some of these plugins may require additional steps to get them working correctly (refer to the necessary repository for guidance if this is the case).

Warning

Though I use these plugins myself, I cannot guarantee their security nor functionality. By running :PluginInstall, you acknowledge that you are installing them at your own risk.

Plugin list

Closing remarks

Just to reiterate, make changes to YOUR_PATH_TO_FORK/vimrc, not to ~/.vimrc directly. Failing to do so will lead to diverging configurations across devices and confusion.

Thank you for reading. I hope that you find this repository useful!

Related projects

Neovim users traitors may be interested in checking out sonstgennant/config_neovim, which was inspired by this repository.

About

gjoavim is my bespoke vim configuration that's been fine-tuned over 5+ years.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors