diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..b42c8d9 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,3 @@ +set runtimepath^=~/.vim runtimepath+=~/.vim/after +let &packpath=&runtimepath +source ~/.vimrc diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..e8f4484 --- /dev/null +++ b/.vimrc @@ -0,0 +1,57 @@ +" Numbers +set number +set relativenumber + +" Indentation +set autoindent +" set filetype indent on + +" Tab width +set expandtab +set smarttab +set tabstop=4 +set shiftwidth=4 +set shiftround + +" Search +set hlsearch +set ignorecase +set incsearch +set smartcase + +" Performance +set complete-=i +set lazyredraw + +" Rendering +set display+=lastline +set encoding=utf-8 +set linebreak +set scrolloff=3 +set sidescrolloff=5 +set wrap +syntax on + +" Interface +set laststatus=2 +set wildmenu +set tabpagemax=50 +set noerrorbells +set visualbell +set mouse=a +set title + +" Folding +set foldmethod=indent +set foldnestmax=3 +set nofoldenable + +set autoread +set backspace=indent,eol,start +set confirm +set formatoptions+=j +set nomodeline +set noswapfile +set nrformats-=octal +set shell +set wildignore+=.pyc,.swp