From e4ef4fa6eac77dac5d212bc3ed82d1340e6b95f5 Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 12 Jan 2021 23:01:49 +0800 Subject: Fix bug for text object for the entire buffer --- core/mappings.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/mappings.vim b/core/mappings.vim index a7c76c9..eba7106 100644 --- a/core/mappings.vim +++ b/core/mappings.vim @@ -186,6 +186,6 @@ xnoremap iu :call text_obj#URL() onoremap iu :call text_obj#URL() " Text objects for entire buffer -xnoremap iB 0ggoG -onoremap iB :normal viB +xnoremap iB :call text_obj#Buffer() +onoremap iB :call text_obj#Buffer() "} -- cgit v1.2.3