Update README

- Add <silent> to opfunc mapping
This commit is contained in:
Junegunn Choi
2013-11-30 11:55:54 +09:00
parent 462a800064
commit ddc1e00b81

View File

@@ -298,7 +298,7 @@ can be used with a Vim movement.
function! s:easy_align_op(type, ...) function! s:easy_align_op(type, ...)
'[,']EasyAlign '[,']EasyAlign
endfunction endfunction
nnoremap <Leader>a :set opfunc=<SID>easy_align_op<Enter>g@ nnoremap <silent> <Leader>a :set opfunc=<SID>easy_align_op<Enter>g@
``` ```
Now without going into visual mode, you can align the lines in the paragraph by Now without going into visual mode, you can align the lines in the paragraph by