From 85e2b9fbc85614af53e38c997b32b731b9dec888 Mon Sep 17 00:00:00 2001 From: Joerg Woelke Date: Thu, 26 Nov 2009 15:12:44 +0100 Subject: [PATCH] zshrc: Remove function j2v(). Acked-by: Michael Prokop Acked-by: Frank Terbeck --- etc/zsh/zshrc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index b0b5c1e..f53c672 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3982,16 +3982,6 @@ exirename() { fi } -# open file in vim and jump to line -# http://www.downgra.de/archives/2007/05/08/T19_21_11/ -j2v() { - emulate -L zsh - local -a params - params=(${*//(#m):[0-9]*:/\\n+${MATCH//:/}}) # replace ':23:' to '\n+23' - params=(${(s|\n|)${(j|\n|)params}}) # join array using '\n', then split on all '\n' - vim ${params} -} - # get_ic() - queries imap servers for capabilities; real simple. no imaps ic_get() { emulate -L zsh -- 2.1.4