summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-08-21 22:15:38 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-08-21 22:15:38 +0530
commitad2a6c64e7ef71940b384e26a969fc01a4346f22 (patch)
treed63c785e8a8e6bc9c5837dfef20a86b87968e116 /.vimrc
parent0f0d11706a33beb2b3f04691f9456a10d6baaa97 (diff)
vimrc changes
Diffstat (limited to '.vimrc')
-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