In cmd.exe you can toggle between insert and overwrite mode with the Ins key.
pyCmd always uses insert mode, there is no way to switch to overwrite. Would be good to have that ability.
Agreed, this is a good point. With some care, we could make the Tab completions obey this "overwrite rather than insert" hint in a smart manner. Think of:
cat c:\projects\ver_1.1\NEWS.txt
...
restore the line from history with the Up arrow
move the cursor after projects\
cat c:\projects\<Cursor>ver_1.1\NEWS.txt
press Insert
press Tab
list of completions displayed:
ver_1.1
ver_1.2
cat c:\projects\ver_1.<Cursor>\NEWS.txt
type Insert
type 2
cat c:\projects\ver_1.2<Cursor>\NEWS.txt
This kind of "completion overwrites instead of inserting might be useful often; we might also want to bind it to a special key combination (Shift-Tab?)
All in all, thanks for the suggestion. I'll get to it as soon as I can.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are imagining the "gold version" :-)
I would suggest taking a two step approach:
1) Implement simple overwrite (typing regular characters), without any Tab completion changes
2) Implementing your thoughts on completion in Overwrite mode
Anyway, thanks for all your efforts. pyCmnd is a great tool for my everyday work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Agreed, this is a good point. With some care, we could make the Tab completions obey this "overwrite rather than insert" hint in a smart manner. Think of:
type Insert
type 2
This kind of "completion overwrites instead of inserting might be useful often; we might also want to bind it to a special key combination (Shift-Tab?)
All in all, thanks for the suggestion. I'll get to it as soon as I can.
You are imagining the "gold version" :-)
I would suggest taking a two step approach:
1) Implement simple overwrite (typing regular characters), without any Tab completion changes
2) Implementing your thoughts on completion in Overwrite mode
Anyway, thanks for all your efforts. pyCmnd is a great tool for my everyday work.
The latest snapshot (20131104) handles the simple overwrite (point 1 above).