summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2021-03-13 10:35:54 +0100
committerReiner Herrmann <reiner@reiner-h.de>2021-03-13 10:35:54 +0100
commit331d7feb3660cfe867ec86524fb48df5b69e1da3 (patch)
tree1feb3bcf7a9534e4eb9f8ce730e072341f962b4f /vimrc
parentb982c936d4787cd23d8c66f9fc7b013eacb1555f (diff)
vim: grep for full words
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 61f3192..54d1a26 100644
--- a/vimrc
+++ b/vimrc
@@ -30,7 +30,7 @@ set wildmenu " enable wildmenu for command completion
set wildmode=list:longest,full " use a bash-like command completion mode
set backspace=indent,eol,start " enable backspacing
set diffopt^=indent-heuristic,algorithm:histogram " better diffing
-set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case " use ripgrep for grepping
+set grepprg=rg\ --vimgrep\ --no-heading\ --word-regexp\ --smart-case " use ripgrep for grepping
let mapleader="," " more convenient leader
syntax on " enable syntax highlighting
filetype plugin indent on