Case Study: Grep Operator, Part Three 우리가 만든 "grep operator"는 잘 작동하지만, 두가지를 더 추가하여 vim 생태계에서 잘 사용되게 해보자 Saving Registers 이전에 만들었던 명령어 nnoremap g :set operatorfunc=GrepOperatorg@ vnoremap g :call GrepOperator(visualmode()) function! GrepOperator(type) if a:type ==# 'v' normal! `y" elseif a:type ==# 'char' normal! `[y`] else return endif silent execute "grep! -R " . shellescape(@@)..