nvim: plugin/shell: Add key mapping to invoke ripgrep easily
This commit is contained in:
parent
0ea51e3d7e
commit
8e851ef1a8
1 changed files with 2 additions and 0 deletions
|
@ -11,3 +11,5 @@ function! s:ExecuteInShell(command) " {{{
|
||||||
endfunction " }}}
|
endfunction " }}}
|
||||||
|
|
||||||
command! -complete=shellcmd -nargs=+ Shell call s:ExecuteInShell(<q-args>)
|
command! -complete=shellcmd -nargs=+ Shell call s:ExecuteInShell(<q-args>)
|
||||||
|
|
||||||
|
nnoremap <Leader><Leader>s :Shell rg '' %<Left><Left><Left>
|
||||||
|
|
Loading…
Reference in a new issue