mirror of
https://github.com/vbrandl/dotfiles
synced 2024-11-23 00:13:49 +01:00
Updates to vimrc
This commit is contained in:
parent
4a5d9ff1d6
commit
2766497e2a
@ -6,9 +6,6 @@ source ~/.vim/plugins.vim
|
|||||||
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
" Get the defaults that most users want.
|
|
||||||
source $VIMRUNTIME/defaults.vim
|
|
||||||
|
|
||||||
if has("vms")
|
if has("vms")
|
||||||
set nobackup
|
set nobackup
|
||||||
else
|
else
|
||||||
@ -21,6 +18,9 @@ endif
|
|||||||
if !has('nvim')
|
if !has('nvim')
|
||||||
" encrypt files using blowfish
|
" encrypt files using blowfish
|
||||||
set cryptmethod=blowfish2
|
set cryptmethod=blowfish2
|
||||||
|
|
||||||
|
" Get the defaults that most users want.
|
||||||
|
source $VIMRUNTIME/defaults.vim
|
||||||
endif
|
endif
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
@ -34,6 +34,7 @@ set undodir=$HOME/.vim/undofiles//
|
|||||||
set tags=./tags;
|
set tags=./tags;
|
||||||
|
|
||||||
set clipboard=unnamedplus " yank into system clipboard
|
set clipboard=unnamedplus " yank into system clipboard
|
||||||
|
|
||||||
" Only do this part when compiled with support for autocommands.
|
" Only do this part when compiled with support for autocommands.
|
||||||
if has("autocmd")
|
if has("autocmd")
|
||||||
|
|
||||||
@ -84,7 +85,7 @@ set number " display absolute number of current line
|
|||||||
set relativenumber " display relative line numbers
|
set relativenumber " display relative line numbers
|
||||||
set cursorline " highlight current line
|
set cursorline " highlight current line
|
||||||
" encoding
|
" encoding
|
||||||
set fileencoding=utf-8
|
set fileencoding=UTF-8
|
||||||
" break at last word instead of last char
|
" break at last word instead of last char
|
||||||
set linebreak
|
set linebreak
|
||||||
|
|
||||||
@ -408,4 +409,7 @@ if has('nvim')
|
|||||||
let g:deoplete#enable_at_startup = 1
|
let g:deoplete#enable_at_startup = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
let g:licenses_copyright_holders_name = 'Brandl, Valentin <mail+rust@vbrandl.net>'
|
||||||
|
let g:licenses_authors_name = 'Brandl, Valentin <mail+rust@vbrandl.net>'
|
||||||
|
|
||||||
" vim: set filetype=vim ts=8 sw=2 tw=120 noet :
|
" vim: set filetype=vim ts=8 sw=2 tw=120 noet :
|
||||||
|
Loading…
Reference in New Issue
Block a user