summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc24
1 files changed, 12 insertions, 12 deletions
diff --git a/.vimrc b/.vimrc
index 5d82303..3267f97 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,27 +1,27 @@
"General
syntax on
set number " Show absolute line numbers
-set relativenumber " Show relative line numbers
-"together show they show hybrid line numbers
+set relativenumber " Show relative line numbers "together they show hybrid line numbers
set showbreak=+++ " Wrap-broken line prefix
set textwidth=100 " Line wrap (number of cols)
-set showmatch " Highlight matching brace
-set hlsearch " Highlight all search results
-set smartcase " Enable smart-case search
-set gdefault " Always substitute all matches in a line
-set ignorecase " Always case-insensitive
-set incsearch " Searches for strings incrementally
-
+set softtabstop=4 " Number of spaces per Tab
+set shiftwidth=4 " Number of auto-indent spaces
+
+set smarttab " Enable smart-tabs
set autoindent " Auto-indent new lines
set cindent " Use 'C' style program indenting
set expandtab " Use spaces instead of tabs
set smartindent " Enable smart-indent
-set smarttab " Enable smart-tabs
-set softtabstop=4 " Number of spaces per Tab
-set shiftwidth=4 " Number of auto-indent spaces
set scrolloff=7
+set showmatch " Highlight matching brace
+set hlsearch " Highlight all search results
+set smartcase " Enable smart-case search
+set gdefault " Always substitute all matches in a line
+set ignorecase " Always case-insensitive
+set incsearch " Searches for strings incrementally
+
"" Advanced
set ruler " Show row and column ruler information