vimrc for sup39
Find a file
2024-02-06 18:37:22 +09:00
coc.vim add coc.vim 2022-09-13 15:00:17 +08:00
LICENSE docs: update LICENSE year and README link 2024-02-06 18:37:22 +09:00
misc.vim add mdxUpdateDate() to misc 2023-02-26 00:19:46 +09:00
plug.vim remove local settings 2021-04-12 23:24:03 +09:00
README.md docs: update LICENSE year and README link 2024-02-06 18:37:22 +09:00
vimrc reorder (fix nocompatible), remove noexpandtab for java/python 2022-07-04 04:15:59 +09:00

vimrc for sup39

Description

Well, just a place to put my vimrc, and to record the evolutionary history of my vimrc.
Not suitable for others now, but I will try to improve it.

Installation

Clone this repo

git clone https://forgejo.sup39.dev/sup39/vimrc $HOME/.vim/sup39

Import in your vimrc

In your vimrc:

" If you want to use vim-plug that I'm using:
" This script will install vim-plug automatically.
" Make sure to source plug.vim BEFORE vimrc
source $HOME/.vim/sup39/plug.vim

" set your `mapleader` and `maplocalleader` here if you want
source $HOME/.vim/sup39/vimrc
" you can override my settings here

Alternatively, you can make a activate command to source it manually.

" In your vimrc
command Sup39Source source $HOME/.vim/sup39/vimrc
" anywhere when you want to activate it
:Sup39Source
" You may need to :e to trigger the autocmd

Reference

Steve Losh (2013) Learn Vimscript the Hard Way