I just noticed the current version of fish still has some annoying behavior I 
would love to see "fixed" in the near future. I am not sure how to explain it, 
so I will do it very slowly:

$ ls
.
..
OfficialStats_Canada_2010.txt
OfficialStats_Canada_2011.txt
OfficialStats_Canada_2012.txt
OfficialStats_GreatBritain_2010.txt
OfficialStats_GreatBritain_2011.txt
OfficialStats_GreatBritain_2012.txt
OfficialStats_UnitedStatesOfAmerica_2010.txt
OfficialStats_UnitedStatesOfAmerica_2011.txt
OfficialStats_UnitedStatesOfAmerica_2012.txt

For the duration of this explanation, pretend that "^" is the cursor, or caret. 
You know, the insertion point in my command line.

I want to view or edit a file:

$ vi of^
(Note: I know that the small 'o' will become capital 'O' automatically)
I press Tab:
$ vi OfficialStats_^
Type G or g, then Tab:
$ vi OfficialStats_G^
$ vi OfficialStats_GreatBritain_201^
Type 0, then Tab:
$ vi OfficialStats_GreatBritain_2010^
$ vi OfficialStats_GreatBritain_2010.txt
[return]

Fine. Now I want 2010 stats for USA:

$ vi 
[Alt+up]
$ 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]
$ vi OfficialStats_^_2010.txt
[U, tab]
$ vi OfficialStats_U_2010.txt^

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

So I have to suffer through this:

$ vi OfficialStats_U_2010.txt^
[left,left,left,left,left,left,left,left,left]
$ vi OfficialStats_U^_2010.txt
[space]
$ vi OfficialStats_U ^_2010.txt
[left]
$ vi OfficialStats_U^ _2010.txt
[Tab]
$ vi OfficialStats_UnitedStatesOfAmerica^ _2010.txt (note the space)
[delete the space]
$ vi OfficialStats_UnitedStatesOfAmerica^_2010.txt
[return]

Grumble...

Obviously, I want fish to complete in the middle of words just the way it does 
immediately before a space.

I've had that on tcsh and I've become too accustomed to it, because it's so 
convenient. I migrated to fish many months ago, but keep running into this 
mistake and fish adamantly refuses to cooperate! When will it learn?
:-)

Whaddyathink?

-- 
Luciano ES
>>

------------------------------------------------------------------------------
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