>> $ vi OfficialStats_GreatBritain_2010.txt
>> [left,left,left,left,left,left,left,left,left]
>> [del,del,del,del,del,del,del,del,del,del,del,del]

Heh, now THAT's why it can be worthwhile learning to use your shell in
vi mode (I wrote some fairly functional vi-mode bindings for fish -
search the archives if you are interested).

>> Damnit! Instead of completing UnitedStatesOfAmerica, the caret jumped to the 
>> end of the line!

Oh god yes, I hate that too! I don't actually run into this situation
very often in fish (probably in part because of some of the other nice
features of fish), but when I do I end up either doing a dE (delete to
End of word from my vi-mode.fish) before hitting tab, or (if I want
the remainder of the word for whatever reason) I do the same insert a
space then go back and press tab that you describe.

>> Whaddyathink?
>
> Maybe it helps that fish does cycle through the possible completions
> by repeatedly pressing tab.

The cycling is a nice feature (I used to have the same thing under
zsh), but it's really irrelevant to Luciano's comment. I'm not really
sure if the current behaviour really has any good advantages (I can't
think of any offhand, but I may not be representative of everyone
using fish) - perhaps we should just change the tab completion
behaviour to only consider the characters up to the cursor if it's in
the middle of a word?

My way of saying, +1

Cheers,
-Ian

-- 
http://sites.google.com/site/DarkStarJunkSpace
--
http://darkstarshout.blogspot.com/
--
On the day *I* go to work for Microsoft, faint oinking sounds will be
heard from far overhead, the moon will not merely turn blue but
develop polkadots, and hell will freeze over so solid the brimstone
will go superconductive.
     -- Eric S. Raymond, 2005
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to