vim: use case insensitive search (except when pattern has uppercase chars)
This commit is contained in:
parent
a63f71d5e4
commit
44488c44c2
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ set formatoptions+=n " recognize and indent lists automatically
|
||||||
set hidden " hide abandoned buffers
|
set hidden " hide abandoned buffers
|
||||||
set history=1000 " how many ":" commands to remember
|
set history=1000 " how many ":" commands to remember
|
||||||
set hlsearch " highlight search results
|
set hlsearch " highlight search results
|
||||||
|
set ignorecase " ignore case when searching (see 'smartcase' below)
|
||||||
set incsearch " use incremental search
|
set incsearch " use incremental search
|
||||||
set nojoinspaces " use one space after a period whe joining lines
|
set nojoinspaces " use one space after a period whe joining lines
|
||||||
set laststatus=2 " always show a status line
|
set laststatus=2 " always show a status line
|
||||||
|
@ -49,6 +50,7 @@ set showbreak="-> " " prefix for wrapped lines
|
||||||
set showmatch " briefly jump to matching bracket if insert one
|
set showmatch " briefly jump to matching bracket if insert one
|
||||||
set noshowmode " don't show mode (using airline instead)
|
set noshowmode " don't show mode (using airline instead)
|
||||||
set sidescrolloff=5 " min. number of columns to left and right of cursor
|
set sidescrolloff=5 " min. number of columns to left and right of cursor
|
||||||
|
set smartcase " case sensitive search if pattern has uppercase chars
|
||||||
set smartindent " use smart autoindenting
|
set smartindent " use smart autoindenting
|
||||||
set smarttab " use 'shiftwidth' when inserting <Tab>
|
set smarttab " use 'shiftwidth' when inserting <Tab>
|
||||||
set splitbelow " new window from split is below the current one
|
set splitbelow " new window from split is below the current one
|
||||||
|
|
Loading…
Add table
Reference in a new issue