Is there a way to make bash use visual choices to replace text ?
Standard text input conventions do not work:
- If you press Shift + left arrow, the character on the left should be visually selected
- If you press Ctrl + left arrow, the cursor should go to the beginning of the previous word
- If you press Shift + Ctrl + left arrow, the word on the left should be visually selected
- If you visually select text and press any key, the text should be replaced by the text of the key you press
Vi mode (set -o vi) visual selection conventions do not work:
- If you enter normal mode, press "v" to enter a visual selection, then press "h", he should visually select the character on the left.
- If you enter normal mode, press "v" to enter a visual selection, then press "B", he should visually select the word on the left.
- If you visually highlight the text and then press "R", it should erase the text and leave you a replacement entry
source
share