From dcb74cc89a69b2bfbca51d34c7e6fe50c9f64cf6 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Thu, 25 Mar 2021 10:49:52 -0400 Subject: [PATCH] add some vim options --- .vimrc | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.vimrc b/.vimrc index 6518306..1d06e1b 100644 --- a/.vimrc +++ b/.vimrc @@ -1,6 +1,6 @@ -call plug#begin('~/.vim/plugged') +source /etc/vim/vimrc -" https://github.com/junegunn/vim-easy-align +call plug#begin('~/.vim/plugged') Plug 'junegunn/vim-easy-align' Plug 'preservim/nerdtree' | Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'w0rp/ale' @@ -19,6 +19,7 @@ Plug 'elixir-editors/vim-elixir' Plug 'jlanzarotta/bufexplorer' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' +call plug#end() set nocompatible set history=1000 @@ -28,7 +29,6 @@ set scrolloff=3 set ttyfast set laststatus=2 set ff=unix -"set number set tabstop=2 set shiftwidth=2 set softtabstop=2 @@ -38,6 +38,17 @@ set list set noshowmode set hlsearch set incsearch +set visualbell +set noerrorbells +set whichwrap=<,>,[,],b, +set background=dark +set backspace=indent,eol,start +set number +set autoread +set mouse=a +set nobackup +set nowb +set noswapfile syntax on let mapleader = " " @@ -150,5 +161,3 @@ function! SetNewPassword() " Replace current word with a new random password of the same length call setline(line('.'), substitute(getline('.'), cur_word, new_password, "")) endfunction - -call plug#end()