memphisthemau / vim

Vim configurations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting up themes

  • Create a local directory for the repositories.
mkdir -p ~/gitrepos && cd $_
  • Clone the themes.
git clone https://<token>@github.com/memphisthemau/vim.git
git clone https://github.com/dracula/vim.git dracula-vim
git clone https://github.com/joshdick/onedark.vim.git
  • Create the necessary directories.
mkdir -p ~/.vim/{autoload,colors}
  • Copy the themes.
cp ~/gitrepos/dracula-vim/autoload/dracula.vim ~/.vim/autoload/dracula.vim
cp ~/gitrepos/dracula-vim/colors/dracula.vim ~/.vim/colors/dracula.vim
cp ~/gitrepos/onedark.vim/autoload/onedark.vim ~/.vim/autoload/onedark.vim
cp ~/gitrepos/onedark.vim/colors/onedark.vim ~/.vim/colors/onedark.vim
  • Copy the custom highlights.
cp -a ~/gitrepos/vim/vimfiles/after ~/.vim/
  • Create symlink for .vimrc.
ln -s ~/gitrepos/vim/.vimrc ~/.vimrc
  • Enable syntax highlighting.
:colo[rscheme] {onedark|dracula}

Setting file extension detection and syntax highlighting

ln -s ~/gitrepos/vim/vimfiles/ftdetect ~/.vim/ftdetect
ln -s ~/gitrepos/vim/vimfiles/syntax  ~/.vim/syntax
ln -s ~/gitrepos/vim/vimfiles/after ~/.vim/after

About

Vim configurations.


Languages

Language:Vim Script 100.0%