zsh-users
 help / color / mirror / code / Atom feed
* Assorted questions
@ 2010-06-05 19:23 Simon Friedberger
  2010-06-07 16:44 ` Richard Hartmann
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Simon Friedberger @ 2010-06-05 19:23 UTC (permalink / raw)
  To: zsh-users

Hello everybody,

I'll just make a list with my questions. :)

1.	Can I give background color to empty spaces.
	I've adapted the example in the wiki at
	http://zshwiki.org/home/examples/zlewidgets#vi_keys_-_show_mode
	to show a different background color when in vi command mode.
	You can see what I did here
	https://simon.a-oben.org/blog/?p=233
	Just in case that the details matter.

	This approach has two problems.
	a) The empty background isn't colored. This isn't really a
	problem but it would be nice if it was. Is it possible?
	b) I have a little smily in my prompt for return status 0 and
	the return status for anything else. This is reset when I change
	mode but it shouldn't. Any fixes?

2.	I'm a fan of keeping things simple so I'm a bit irritaded by
	some of the options. Maybe you can explain a good use-case to me.
	a)	accept-and-hold seems to be the same as <ENTER>^p 
	b)	history-search-back(for)ward and
		history-beginning-search-back(for)ward
		seem to be the same as ^r
		I know that there is a subtle difference but I don't see
		how it matters in practice.

3.	The zle section of the guide suggests a binding with
	bindkey -rpM viins '\e['
	to make <ESC> unambiguous but I tried with $KEYTIMEOUT set to
	something high and it doesn't seem to make a difference if I
	have that binding or not. Can anybody suggest an experiment
	where the difference shows?

4.	I would like to have some history magic. It would be nice if
	^p/^n (or up/down) just switched through the local history but
	^r/^s searched through all history entries. I used to have
	shared history set but it irks me that when a long command
	finished I cannot just press up and change a paramter and run it
	again.
	The man page suggests that there is a set-local-history binding
	but I cannot find any documentation on it.

Alright, that's all for now. heh

Thanks
Simon


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-06-10  6:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-05 19:23 Assorted questions Simon Friedberger
2010-06-07 16:44 ` Richard Hartmann
2010-06-07 16:50   ` Simon Friedberger
2010-06-07 17:11 ` Mikael Magnusson
2010-06-07 23:23 ` Wayne Davison
2010-06-08  9:12   ` Simon Friedberger
2010-06-09 19:50     ` Wayne Davison
     [not found]       ` <AANLkTimeIv_xV6qHnFUpHqjD3LmVJqY_r5IQJQGtaKjo@mail.gmail.com>
2010-06-10  6:41         ` Bart Schaefer
2010-06-09 11:40   ` zle set-local-history binding Was: " Simon Friedberger

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).