This one is really not much of fish's fault... but. When I paste something into my shell, sometimes it has a newline character on the end, which means that the command gets executed immediately when I don't necessarily want it to. (although that can be convenient I guess. But I don't really have control when I select things to go into the X paste-buffer, whether they end in \n.)
proposal: No matter how many lines the thing pasted in is, just paste it in without executing it. (Then ctrl-C will clear it and enter will execute the whole thing like a script, because that's what you want sometimes.) Just like if you insert newlines with alt+enter (don't some programs use shift+enter for that purpose instead? or maybe ctrl+enter? is there a standard?) Of course, that requires being able to detect whether something is a paste vs. direct typing in, which I don't know if we can do (there are "correct" ways to do it, and then there is quite accurate guessing based on the immense "typing speed" of pasting versus real typing) -Isaac ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
