From 15faaab500f6917dbb19f0cd47a9d33b65fd225d Mon Sep 17 00:00:00 2001 From: Luiz Gonzaga dos Santos Filho Date: Wed, 17 Apr 2013 17:16:36 +0200 Subject: [PATCH] Externalizing and improving search configuration --- vim/plugin/settings/yadr-search.vim | 8 ++++++++ vimrc | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 vim/plugin/settings/yadr-search.vim diff --git a/vim/plugin/settings/yadr-search.vim b/vim/plugin/settings/yadr-search.vim new file mode 100644 index 0000000..36166ea --- /dev/null +++ b/vim/plugin/settings/yadr-search.vim @@ -0,0 +1,8 @@ +" ================ Search Settings ================= + +set incsearch " Find the next match as we type the search +set hlsearch " Hilight searches by default +set viminfo='100,f1 " Save up to 100 marks, enable capital marks +set ignorecase " Ignore case when searching... +set smartcase " ...unless we type a capital + diff --git a/vimrc b/vimrc index 464a9df..8d3cb65 100644 --- a/vimrc +++ b/vimrc @@ -40,12 +40,6 @@ if filereadable(expand("~/.vim/vundles.vim")) source ~/.vim/vundles.vim endif -" ================ Search Settings ================= - -set incsearch "Find the next match as we type the search -set hlsearch "Hilight searches by default -set viminfo='100,f1 "Save up to 100 marks, enable capital marks - " ================ Turn Off Swap Files ============== set noswapfile