vim search and replace from current cursor position code example Example: vim replace under cursor Just use * and then: :%s//new value/