From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3053 invoked from network); 12 Dec 2003 11:33:07 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 12 Dec 2003 11:33:07 -0000 Received: (qmail 998 invoked by alias); 12 Dec 2003 11:32:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6862 Received: (qmail 979 invoked from network); 12 Dec 2003 11:32:46 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 12 Dec 2003 11:32:46 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 12 Dec 2003 11:32:45 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AUlXJ-0007gf-00 for ; Fri, 12 Dec 2003 12:32:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUlXI-0007gV-00 for ; Fri, 12 Dec 2003 12:32:44 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AUlXI-0005T2-00 for ; Fri, 12 Dec 2003 12:32:44 +0100 From: zzapper Subject: CLI Tricks Date: Fri, 12 Dec 2003 11:32:39 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news Hi Ya A) I use bindkey -v (vi emulation) is there any where to get it start in on-insert mode (ie command mode) B) I've read somewhere that I can repeat the previous keyword when typing a command eg > cp verylongfilename (control metachar) and you get > cp verylongfilename verylongfilename But I couldn't get it to work. zzapper -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips