On Wed, Apr 03, 2013 at 06:51:51PM +0100, Thomas Adam wrote:
> On 3 April 2013 18:43, Franco <franc...@gmx.com> wrote:
> > Good evening tmuxers. In my .tmux.conf file I have a line like this
> >
> > bind e command-prompt -I "%d/%m/%g %H:%M: " -p "#" 'run-shell "echo %1 >> 
> > $NOTE; tmux display Done."'
> >
> > This basically prompts me for a string and appends it to a text file (the 
> > $NOTE
> > environment variable).
> >
> > It works, but not with every input; example:
> >
> >     > test "
> 
> As mentioned on IRC, you would need to escape it.
> 

Roger roger.

It still would be great if, command-prompt, say, had an option to expand with
quote characters escaped (in a posix compliant way).

It could use:
    - %4 for normal expansion
    - %$4 for escaped one

as an example. I have tried for the last few hours to open a ticket in that
regard, but with little success (sourceforge is being an ass).

> [...]  Would suggest any number of console TODO
> list managers out there, or vim, etc.

A bit OT, but of course a solution inside tmux is way more handy, as you
don't have to pop up another terminal/type/close.
E.g., you can just jot down stuff while browing a webpage with lynx.

Cheers

-F


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to