Re: Insert date

2005-04-21 Thread Julius Plenz
* Stephane Chazelas <[EMAIL PROTECTED]> [2005-04-21 21:34]: > If you want the output of that command to be inserted as if typed > from the keyboard, then, it should be exec .!. Note that date > outputs a trailing NL (^J) character, that may be what you get. > :bind d exec .!. zsh -c 'print -Pn %D{

Re: Insert date

2005-04-21 Thread Stephane Chazelas
On Thu, Apr 21, 2005 at 08:38:34PM +0200, Julius Plenz wrote: > Recently, I came across the idea to bind a key to insert the current > date, just like I bound keys to insert things using "stuff". > > However, I tried :bind d exec ! date +%Y-%m-%d. That almost works like > expected. I couldn't figu

Insert date

2005-04-21 Thread Julius Plenz
Hi! Recently, I came across the idea to bind a key to insert the current date, just like I bound keys to insert things using "stuff". However, I tried :bind d exec ! date +%Y-%m-%d. That almost works like expected. I couldn't figure out exactly, but screen adds some strange control character befo

Re: screen with 256 color xterm

2005-04-21 Thread Michael Schroeder
On Thu, Apr 21, 2005 at 01:53:52PM +0200, Johannes Segitz wrote: > Hello, > > is it possible to use screen with a 256 color xterm? Setting TERM to > xterm-256color before starting screen results in scrambled output of > commands. Changing TERM from screen to xterm-256color in screen doesn't > chan

screen with 256 color xterm

2005-04-21 Thread Johannes Segitz
Hello, is it possible to use screen with a 256 color xterm? Setting TERM to xterm-256color before starting screen results in scrambled output of commands. Changing TERM from screen to xterm-256color in screen doesn't change that. Would be very nice to have this under screen since my vim colorschem

Re: "set mouse=a" in vim doesn't work in screen

2005-04-21 Thread Bingguang Peng
It works! Thank you very much! On 4/21/05, Michael Schroeder <[EMAIL PROTECTED]> wrote: > On Wed, Apr 20, 2005 at 06:47:30PM -0700, Bingguang Peng wrote: > > I am working in Linux and I use screen. I "set mouse=a" in my vimrc, and > > it works in normal terminal emulation programs, such as xterm,

Re: "set mouse=a" in vim doesn't work in screen

2005-04-21 Thread Michael Schroeder
On Wed, Apr 20, 2005 at 06:47:30PM -0700, Bingguang Peng wrote: > I am working in Linux and I use screen. I "set mouse=a" in my vimrc, and > it works in normal terminal emulation programs, such as xterm, rxvt; but > it does not work in screen :( Vim issue. 'set ttymouse=xterm2' should do the trick