Switch to command mode in vim and then try d + t + space. In general d + t + x deletes from current position till just before
To delete up to and including the space, use d + f + space (or d + t + space)
x. Just t + x moves the cursor to just before character x in current line.To delete up to and including the space, use d + f + space (or d + t + space)
Reference: http://stackoverflow.com/questions/1607904/vim-deleting-from-current-position-until-a-space
No comments:
Post a Comment