From 5d52f2ac5bfb3d3ff2c4cf860f447b3c9d600274 Mon Sep 17 00:00:00 2001 From: artur Date: Wed, 27 Apr 2022 18:39:55 +0000 Subject: [PATCH] Add '.vimrc' --- .vimrc | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .vimrc diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..f4af56c --- /dev/null +++ b/.vimrc @@ -0,0 +1,33 @@ +" Vim5 and later versions support syntax highlighting. Uncommenting the next +" line enables syntax highlighting by default. +syntax on + +" Change the color scheme +colorscheme desert + +" If using a dark background within the editing area and syntax highlighting +" turn on this option as well +set background=dark + +" Uncomment the following to have Vim jump to the last position when +" reopening a file +if has("autocmd") + au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif +endif + +set autowrite +set backspace=indent,eol,start +set encoding=utf8 +set expandtab +set hidden +set hlsearch +set ignorecase +set incsearch +set nocompatible +set shiftwidth=4 +set showcmd +set showmatch +set smartindent +set smarttab +set tabstop=4 +set title \ No newline at end of file