From ad2a6c64e7ef71940b384e26a969fc01a4346f22 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sun, 21 Aug 2022 22:15:38 +0530 Subject: vimrc changes --- .vimrc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to '.vimrc') 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 -- cgit v1.2.3