summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 4 insertions, 2 deletions
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