From 5bde0b2900842458e8c43d8c319ed7632cfeca0b Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 4 May 2017 22:35:11 +0200 Subject: vimrc: Add sm mapping to split chained method calls A mapping to invoke our new 'whitespace-method-chain' plugin. --- vimrc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index daa8533..821d5cc 100644 --- a/vimrc +++ b/vimrc @@ -366,6 +366,9 @@ " 2017.04.24: " * Make "Ctrl-W Ctrl-Q" a no-op. " +" 2017.05.04: +" * Add sm mapping to split chained method calls. +" " Pathogen @@ -573,6 +576,10 @@ nnoremap z :call RunCurrentSpecFile() nnoremap Z :call RunNearestSpec() +" Whitespace method chain +nnoremap sm :call whitespace_method_chain#SplitMethodChainToMultipleLines() + + " Mappings " ======== -- cgit v1.2.3