aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/plugin')
-rw-r--r--.vim/after/plugin/find.vim3
-rw-r--r--.vim/after/plugin/grep.vim1
2 files changed, 4 insertions, 0 deletions
diff --git a/.vim/after/plugin/find.vim b/.vim/after/plugin/find.vim
new file mode 100644
index 0000000..55c4fcb
--- /dev/null
+++ b/.vim/after/plugin/find.vim
@@ -0,0 +1,3 @@
+command! -nargs=* Cexpr cexpr system(expand(<q-args>))
+command! -nargs=* -complete=file Find call gxfind#find(<q-args>)
+
diff --git a/.vim/after/plugin/grep.vim b/.vim/after/plugin/grep.vim
index 0720e36..3d80ebb 100644
--- a/.vim/after/plugin/grep.vim
+++ b/.vim/after/plugin/grep.vim
@@ -4,3 +4,4 @@ if executable('rg')
endif
nnoremap <leader><leader>g :grep! <c-r>=expand('<cword>')<cr><cr>
+nnoremap <leader>fr :grep!<space>