1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

vimrc: set competent search options

This commit is contained in:
Joe Groocock 2017-09-29 12:54:19 +01:00
parent 0eeb0ef2cb
commit fd2a0e3399
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

10
.vimrc
View File

@ -30,6 +30,11 @@ set nojoinspaces
"nnoremap <LeftMouse> <nop> "nnoremap <LeftMouse> <nop>
"nnoremap <RightMouse> <nop> "nnoremap <RightMouse> <nop>
" Search options
set hlsearch
set ignorecase
set smartcase
" GVim settings " GVim settings
set guifont=Sauce\ Code\ Pro\ 10.5 set guifont=Sauce\ Code\ Pro\ 10.5
set guioptions= set guioptions=
@ -168,11 +173,6 @@ noremap <Leader>p "*p
noremap <Leader>Y "+y noremap <Leader>Y "+y
noremap <Leader>P "+p noremap <Leader>P "+p
" Search options
set hlsearch
set ignorecase
set smartcase
" Save aliases. " Save aliases.
noremap <Leader>q :wq<CR> noremap <Leader>q :wq<CR>
com W w com W w