From 82409d0661e26be5c28a74cca01e492a0ac331c6 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 21 Aug 2018 10:56:28 -0700 Subject: Move all settings to vimrc, merge vim.nix into home.nix --- vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 10884b8..e67256a 100644 --- a/vimrc +++ b/vimrc @@ -1,20 +1,22 @@ """ General settings set autoindent set backspace=indent,eol,start -set cc=80 " 80 column lines set complete-=i " Set the matches for insert mode completion set encoding=utf-8 " Set encoding +set expandtab " Use spaces instead of tabs set formatoptions+=j " Delete comment character when joining commented lines set hlsearch " Highlight all search results +set ignorecase " Ignore cases when searching set incsearch " Incremental search set laststatus=1 " No status line set linebreak " Break lines at word (requires Wrap lines) set ruler " Show line & col number of cursor position set shiftwidth=4 " Number of auto-indent spaces set showmatch " Highlight matching brace -set smartcase " Better searching +set smartcase " Better searching btw cases set smartindent " Autoindent when starting a new line set smarttab " Tab insertion & deletion +set tabstop=4 " One tab = 4 spaces set textwidth=80 " Line wrap (number of cols) set visualbell " Use visual bell (no beeping) set wildmenu " Helpful completion menu -- cgit v1.2.3