From: Samir Benmendil Date: Mon, 20 Jun 2016 08:22:16 +0000 (+0100) Subject: vim: add visual mapping for sort X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/0c3e21db6e92390a935c317c7e451c4a9b95084d vim: add visual mapping for sort --- diff --git a/vim/vimrc b/vim/vimrc index 0123cc0..c3fe2da 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -735,6 +735,7 @@ function! SortLinesOpFunc(...) '[,']sort endfunction nnoremap gs :set operatorfunc=SortLinesOpFuncg@ +vnoremap gs :sort " edit configs {{{2 function! EditConfig(what)