diff options
| -rw-r--r-- | autoload/ls_grep.vim (renamed from ls-grep.vim) | 5 | ||||
| -rw-r--r-- | plugin/ls_grep.vim | 1 | 
2 files changed, 2 insertions, 4 deletions
| diff --git a/ls-grep.vim b/autoload/ls_grep.vim index 8012dd2..eb4882a 100644 --- a/ls-grep.vim +++ b/autoload/ls_grep.vim @@ -1,4 +1,4 @@ -function! LsGrep(search) +function! ls_grep#LsGrep(search)  	" Store :ls output  	redir => ls_output  	silent ls @@ -10,6 +10,3 @@ function! LsGrep(search)  	" Display  	echo ls_output  endfunction - - -command! -nargs=1 LsGrep call LsGrep("<args>") diff --git a/plugin/ls_grep.vim b/plugin/ls_grep.vim new file mode 100644 index 0000000..82fc0e9 --- /dev/null +++ b/plugin/ls_grep.vim @@ -0,0 +1 @@ +command! -nargs=1 LsGrep call ls_grep#LsGrep("<args>") | 
