initial .vimrc commit
This commit is contained in:
43
.vimrc
Normal file
43
.vimrc
Normal file
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user