aboutsummaryrefslogtreecommitdiff
path: root/init.vim
blob: bae78f97d2da9e504e2a55abbeaa187e3a66ada2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
" Connecting the plugin manager
lua require('init')

augroup packer_user_config
  autocmd!
  autocmd BufWritePost plugins.lua source <afile> | PackerCompile
augroup end

" Setting up the theme
colorscheme carbonfox
set cursorline

" Automatic file trimming when saving
autocmd BufWritePre * :%s/\s\+$//e

" Enable line number display
set number
set relativenumber

" Setting up indents
set autoindent
set expandtab
set tabstop=4
set shiftwidth=4