Weblog entry #109 for Steve

Bash fun!
Posted by Steve on Sat 24 Jun 2006 at 22:17
Tags: none.

Run bash, type "C-x C-v", (that is Ctrl+x, then Ctrl+v), fun huh?

I typed this with a shell as the focus, rather than the Emacs window I was expecting.

I'm sure it is documented somewhere, but I've not seen it before.

 

Comments on this Entry

Posted by dkg (216.254.xx.xx) on Mon 26 Jun 2006 at 05:18
[ Send Message | View dkg's Scratchpad | View Weblogs ]
i like C-x C-e in bash, especially when the command i'm constructing becomes unwieldy. i've never seen C-x C-v before. handy!

[ Parent | Reply to this comment ]

Posted by Alucard (129.33.xx.xx) on Mon 26 Jun 2006 at 14:34
[ Send Message | View Weblogs ]
-bash: emacs: command not found I wonder if there's a shortcut to run vim?

[ Parent | Reply to this comment ]

Posted by Steve (62.30.xx.xx) on Mon 26 Jun 2006 at 18:02
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Set the environmental variable 'EDITOR' to use a different one:

steve@skx2:~$ export EDITOR=/usr/bin/vim
^x^e  -> runs vim.

Steve

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search