diff options
author | Ben Sima <ben@bsima.me> | 2018-08-21 10:56:28 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-08-21 10:56:28 -0700 |
commit | 82409d0661e26be5c28a74cca01e492a0ac331c6 (patch) | |
tree | 3ed334274b1389dfa4de1becc3dac79964fb59ed /vimrc | |
parent | e289f89eb5d0c386de0e991ba2619e71dccbab6e (diff) |
Move all settings to vimrc, merge vim.nix into home.nix
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |