From aacc89d5e81a49e0f0d5fafc3a7833d0e33be6c3 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 10 Sep 2018 13:14:56 +0200 Subject: Begin with basic vimrc --- vimrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 vimrc (limited to 'vimrc') diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..79b6e55 --- /dev/null +++ b/vimrc @@ -0,0 +1,24 @@ +filetype on +syntax on +colorscheme desert +set number +filetype indent on +set nowrap +set tabstop=4 +set shiftwidth=4 +set expandtab +set smartindent +set autoindent +set guioptions-=T + +" highlight search matches +set hlsearch + +" show matching parenthesis +set showmatch + +" remove whitespace on write +autocmd BufWritePre * :%s/\s\+$//e + +" press esc to cancel search +nnoremap :nohlsearch:echo -- cgit v1.2.3