Browse Source

feat(vim): update search and completion options

Kyle P Davis 2 years ago
parent
commit
7b70aa1aef
1 changed files with 11 additions and 1 deletions
  1. 11 1
      .vimrc

+ 11 - 1
.vimrc

@@ -3,7 +3,6 @@ set ruler
 set mouse=a
 set nocompatible
 set bs=2
-set hlsearch
 set nowrap
 
 " give me all of teh colors!!
@@ -12,6 +11,17 @@ set bg=dark
 colorscheme elflord
 syntax on
 
+" misc
+set path+=** " make :find tab-completion search subdirectories
+set wildmenu " show tab-complete menu for : commands
+
+" search
+set ignorecase " case insensitive search
+set smartcase  " auto switch to case-sensitive if uppercase *is* used
+set incsearch  " live incremental searching
+set showmatch  " show matches live while typing
+set hlsearch   " highlight matches
+
 " tabs
 set shiftwidth=4
 set tabstop=4