diff --git a/README.md b/README.md index fe93e5c2..f44dd2a6 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ nnoremap b :FzfPreviewBuffers -processors=g:fzf_preview_bu " " Example: Exclude filename with FzfPreviewProjectGrep -AutoCmd VimEnter * let g:fzf_preview_grep_command_options = fzf_preview#command#get_common_command_options() | +autocmd VimEnter * let g:fzf_preview_grep_command_options = fzf_preview#command#get_common_command_options() | \ let g:fzf_preview_grep_command_options = g:fzf_preview_grep_command_options . ' --nth=3' nnoremap g :FzfPreviewProjectGrep -fzf-args=g:fzf_preview_grep_command_options ``` diff --git a/doc/fzf_preview_vim.txt b/doc/fzf_preview_vim.txt index 8e218c8a..59809bfb 100644 --- a/doc/fzf_preview_vim.txt +++ b/doc/fzf_preview_vim.txt @@ -217,7 +217,7 @@ EXPERIMENTAL: Specifications may change. Usage example: Exclude filename with FzfPreviewProjectGrep > - AutoCmd VimEnter * let g:fzf_preview_grep_command_options = fzf_preview#command#get_common_command_options() | + autocmd VimEnter * let g:fzf_preview_grep_command_options = fzf_preview#command#get_common_command_options() | \ let g:fzf_preview_grep_command_options = g:fzf_preview_grep_command_options . ' --nth=3' nnoremap g :FzfPreviewProjectGrep -fzf-args=g:fzf_preview_grep_command_options <