Skip to content

Instantly share code, notes, and snippets.

@MetGang
Created July 28, 2024 10:32
Show Gist options
  • Save MetGang/1a9614ff5482e68acc5f6dd86026fce3 to your computer and use it in GitHub Desktop.
Save MetGang/1a9614ff5482e68acc5f6dd86026fce3 to your computer and use it in GitHub Desktop.
" Use Vim settings rather than Vi settings
set nocompatible
" Setup plug.vim
if !filereadable($HOME . "/.vim/autoload/plug.vim")
silent ! curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif
" Setup plugins
call plug#begin()
Plug 'catppuccin/vim', { 'as': 'catppuccin' }
Plug 'tpope/vim-sensible'
call plug#end()
" Line numbers are cool
set number
set relativenumber
" No status line
set laststatus=0
" Text wrapping
set wrap
" Indentation (spaces > tabs)
set expandtab
set shiftwidth=4
set tabstop=4
" Syntax highlighting
syntax on
" Color scheme
set termguicolors
colorscheme catppuccin_mocha
hi Normal guibg=NONE ctermbg=NONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment