From 2766497e2a204f543bc059c3e5841dd7e9f6992d Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 13 Aug 2018 11:53:05 +0200 Subject: [PATCH] Updates to vimrc --- editors/vim/vimrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/editors/vim/vimrc b/editors/vim/vimrc index dc9bd19..8338302 100644 --- a/editors/vim/vimrc +++ b/editors/vim/vimrc @@ -6,9 +6,6 @@ source ~/.vim/plugins.vim filetype plugin indent on -" Get the defaults that most users want. -source $VIMRUNTIME/defaults.vim - if has("vms") set nobackup else @@ -21,6 +18,9 @@ endif if !has('nvim') " encrypt files using blowfish set cryptmethod=blowfish2 + + " Get the defaults that most users want. + source $VIMRUNTIME/defaults.vim endif syntax on @@ -34,6 +34,7 @@ set undodir=$HOME/.vim/undofiles// set tags=./tags; set clipboard=unnamedplus " yank into system clipboard + " Only do this part when compiled with support for autocommands. if has("autocmd") @@ -84,7 +85,7 @@ set number " display absolute number of current line set relativenumber " display relative line numbers set cursorline " highlight current line " encoding -set fileencoding=utf-8 +set fileencoding=UTF-8 " break at last word instead of last char set linebreak @@ -408,4 +409,7 @@ if has('nvim') let g:deoplete#enable_at_startup = 1 endif +let g:licenses_copyright_holders_name = 'Brandl, Valentin ' +let g:licenses_authors_name = 'Brandl, Valentin ' + " vim: set filetype=vim ts=8 sw=2 tw=120 noet :