I'm not sure how to explain what I'd like to do, but I've seen this in Textmate and it was quite useful. Let's say I have this text:
:aa => foo,
:ab => foo,
:ac => foo,
:ad => foo
Now I want to select all first characters of the keys (the 4 'a' in the lne) and remove them, so that the result looks like this:
:a => foo,
:b => foo,
:c => foo,
:d => foo
Some kind of visual mode accounting columns not lines.
Refer to Multiple lines of text, A Multiple lines of text column can store up to 63,999 characters by default. There’s no settings you need to change to allow more than 255 characters. Based on my test, it also works well for Microsoft List. The “ allow unlimited length ” option is only in library UI.
Use text to column, choose fixed width and choose the character count you want. It will separate antything above the limit to a new column that you can delete. To post as a guest, your comment is unpublished.
1. Right click the cell you want to put multiple lines, then click Format Cells. See screenshot: 2. In the Format Cells dialog box, check the Wrap text box under the Alignment tab, and then click the OK button. Note: You can also just click Home > Wrap Text to put the overwriting text string to multiple lines.
Refer to Multiple lines of text, A Multiple lines of text column can store up to 63,999 characters by default. There’s no settings you need to change to allow more than 255 characters.
Use vim in column mode. To use it, press:
- Ctrl+V to go into column mode.
- Select the columns and rows where you want to enter your text.
- Shift+I to go into insert mode in column mode.
Type in the text you want to enter.
Note: Don't be discouraged by the fact that only the first row is changed.
- Esc to apply your change (or alternately Ctrl+C).
You will now see your changed applied.
Source: Column Edit Mode in VI.
Use Ctrl+V to enter blockwise visual mode. You can then select a block of text using the normal movement keys and press x to delete it. I will perform a multi-line insert.
See :help ^V
and :help visual-operators
in vim for full details.
Use Ctrl-V to select in block mode, then directional and editing commands to do the rest. See How to remove quotes surrounding the first two columns in Vim?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With