You are free to use my .vimrc and to modify it as you want !
Be careful, arrows are disabled - coding with vim the true way !
To install it, execute the following in the terminal :
cd ~ && \
git clone https://github.com/kennethrioja/vimrc.git && \
ln -s ~/vimrc/.vimrc ./ && \
mkdir -p .cache && \
if [ ! -d ~/.cache/vim ]; then mkdir ~/.cache/vim ; fi && \
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim && \
vim +'PlugInstall --sync' +qaAlso install vim-gitgutter !
For an alias on MacOS to open vimwiki simply by executing ww, run this command in the terminal:
echo "alias ww='vim -c VimwikiIndex'" >> ~/.zshrc
source ~/.zshrcTo enable the 42 header, execute these lines in the terminal while replacing YOURUSERNAME and YOUREMAILADDRESS by yours :
mv ~/.vim/plugged/42header/plugin/ ~/.vim/ && \
sed -ie 's/krioja/YOURUSERNAME/g' ~/.vimrc && \
sed -ie 's/marvin@lausanne.ch/YOUREMAILADDRESS/g' ~/.vimrcTo allow vimwiki to open URLs, execute this :
echo -e '\n# for vimwiki URLs to work in WSL\nexport BROWSER="powershell.exe /C start"' >> ~/.bashrc && \
source ~/.bashrc