From 9b07235e6abc2cb188e7b4fbb93fae3d2ad8dc90a0a4574005db9f2e729897b9 Mon Sep 17 00:00:00 2001 From: crimson Date: Wed, 10 Jul 2024 22:21:25 +0200 Subject: [PATCH] initial .vimrc commit --- .vimrc | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .vimrc diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..232e91f --- /dev/null +++ b/.vimrc @@ -0,0 +1,43 @@ +call plug#begin('~/.vim/plugged') + +" install with vim-plug +Plug 'Rigellute/shades-of-purple.vim' +call plug#end() + +"""" enable 24bit true color +" If you have vim >=8.0 or Neovim >= 0.1.5 +if (has("termguicolors")) + set termguicolors +endif + +" turn on syntax highlighting +syntax enable +colorscheme shades_of_purple + +" file formats and encoding +set fileformat=unix +set encoding=utf-8 + +" .py file layout- if not .py normal layout +au BufNewFile,BufRead *.py + \ set tabstop=4 | + \ set softtabstop=4 | + \ set shiftwidth=4 | +set tabstop=2 +set softtabstop=2 +set shiftwidth=2 +set autoindent +set smartindent +set smarttab +set expandtab + +" line highlighting, line numbers and such +set cursorline +set number +set relativenumber +set hlsearch + +" enable mouse right click paste +set mouse-=a + +