From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 00:18:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9D3B106566B for ; Sun, 14 Jun 2009 00:18:03 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: from mail-ew0-f215.google.com (mail-ew0-f215.google.com [209.85.219.215]) by mx1.freebsd.org (Postfix) with ESMTP id 7FDC18FC12 for ; Sun, 14 Jun 2009 00:18:03 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: by ewy11 with SMTP id 11so3834280ewy.19 for ; Sat, 13 Jun 2009 17:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=X3hRIFrQoDqb6pdV3T3uSnOhMGSNvbdR2igbf8SuK74=; b=gNmG2sEb1TfGl6OFmbJmF/+hq7M1v5LEbS8XK9gb1tRqOdASxjHF2wGP9IwOXvaKk/ dziy34+Q0Jxf+ZJBSVRw+NEp9aUMkpFvONLRC2WJL+Pkgxg+oWIppwSh/ulJnpAi3ydu Pc6q0EHo20cLFgDkm5zVGOhc+8DYvj6lExi7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=aMzfNau/U7mPkE3QMLh6Vnp9nQpKCvcdioDG2ll0o9IT1VfM1aA5HBaC/+bLGfgLcU s9YMYHLuxnFuzJuK6HF/AmQJJ5qCSIkpEzGFXZwZ1nrEtP2PJYWZGQUVd8jpcflEdSbR At0HyRWnnvRUwQcH2IwQLXjJ7DQiNrWBb4y0E= MIME-Version: 1.0 Received: by 10.210.11.13 with SMTP id 13mr2650545ebk.27.1244938682289; Sat, 13 Jun 2009 17:18:02 -0700 (PDT) Date: Sat, 13 Jun 2009 20:18:02 -0400 Message-ID: From: Daniel Underwood To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Terminal / vim / shortcuts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 00:18:04 -0000 I edit python code in vim using Terminal on xfce. I find myself, not surprisingly, having to exit "insert mode" and save changes frequently (when making code changes and wishing to test the immediate effects of the changes in a separate terminal). This requires pressing 4 keys: "esc", ":", "w", and "enter". How can I configure a shortcut (ideally using an F# key) that will perform this sequence of 4 key-presses? TIA, Daniel