commit 2b76fa33d0bd3c564b9ac3953f7bcb3b8d8a109c parent 5f111df5172ae607a7422e61a73eccb4c2f2b004 Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de> Date: Wed, 11 Jul 2018 00:05:13 +0200 Add options to vimrc Diffstat:
M | vimrc | | | 22 | ++++++++++++++++++---- |
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/vimrc b/vimrc @@ -1,10 +1,24 @@ +set encoding=utf-8 " Encoding set ruler -set number -set relativenumber -syntax on -filetype plugin on +set number " Display line numbers +set relativenumber " Display relative line numbers + +" Enable syntax highlighting +if has("syntax") + syntax on +endif + +" Enable plugins +if has("autocmd") + filetype plugin indent on +endif + set nocompatible +" Enable autocompletion +set wildmode=longest,list,full +set wildmenu + " vim-plug section call plug#begin('~/.vim/plugged') Plug 'vimwiki/vimwiki'