Created
November 2, 2021 13:17
-
-
Save KMikeeU/436307d21ce731033379ecf72efd07f3 to your computer and use it in GitHub Desktop.
Simple sane vim config intended for servers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo 'Installing sane vim...'; | |
touch ~/.vimrc | |
mkdir -p ~/.vim/colors | |
echo 'Downloading themes...' | |
curl https://raw.githubusercontent.com/crusoexia/vim-monokai/master/colors/monokai.vim -o ~/.vim/colors/monokai.vim | |
cat << EOF > ~/.vimrc | |
set hls | |
set nu rnu | |
set linebreak | |
set showbreak=+++ | |
set showmatch | |
set visualbell | |
set ignorecase | |
set smartcase | |
set incsearch | |
set gdefault | |
set autoindent | |
set expandtab | |
set shiftwidth=4 | |
set softtabstop=4 | |
set smartindent | |
set smarttab | |
set ruler | |
set undolevels=1000 | |
set backspace=indent,eol,start | |
set autoread | |
set title | |
set encoding=utf-8 | |
set showcmd | |
set mouse=a | |
set cursorline | |
set diffopt+=iwhite | |
set laststatus=2 | |
set ttyfast | |
colo monokai | |
EOF | |
echo 'DONE!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment