Explorar o código

added smartcase to vim

cinaeco %!s(int64=14) %!d(string=hai) anos
pai
achega
283bf828d5
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      vim/vimrc

+ 2 - 1
vim/vimrc

@@ -106,7 +106,8 @@ endif
 
 set hlsearch "make searches highlighted
 set incsearch "vim will search as you type!
-set ignorecase
+set ignorecase "ignore case for searches
+set smartcase " well, unless a user puts in uppercase search characters
 set magic "enables wildcard searching