Skip to main content
This is default Vim behaviour if compatible; not Windows/Cygwin question, as such
Link
Martin Tournoij
  • 63.3k
  • 26
  • 199
  • 274
deleted 28 characters in body; edited tags; edited title
Source Link
200_success
  • 9.6k
  • 5
  • 51
  • 64

vim undo Undo multiple changes in Cygwin's vim

I have two installations of vim: 7.4 in cygwin and 7.2 in a Linux virtual machine. The vim in the virtual machine can undo multiple edits by repeatedly pressing the u key. The vim in cygwin can only undo the most recent change. Pressing it a second time is a "redo" (which in the virtual machine can be accomplished with the Ctrl-r sequence).

I would like to get the cygwin installation to be able to undo multiple edits through repeatedly pressing the u key, like it does in the virtual machine.

I have tried comparing the features included in both installations, but I have not identified what could be causing this difference in behavior. Another post on this website suggested I could use the . key after using the u to undo multiple times, but that has not worked for me in the cygwin installation. I also haven't found any settings in the vimrc files that seem like they would modify this behavior.

Any help is appreciated.

vim undo multiple changes

I have two installations of vim: 7.4 in cygwin and 7.2 in a Linux virtual machine. The vim in the virtual machine can undo multiple edits by repeatedly pressing the u key. The vim in cygwin can only undo the most recent change. Pressing it a second time is a "redo" (which in the virtual machine can be accomplished with the Ctrl-r sequence).

I would like to get the cygwin installation to be able to undo multiple edits through repeatedly pressing the u key, like it does in the virtual machine.

I have tried comparing the features included in both installations, but I have not identified what could be causing this difference in behavior. Another post on this website suggested I could use the . key after using the u to undo multiple times, but that has not worked for me in the cygwin installation. I also haven't found any settings in the vimrc files that seem like they would modify this behavior.

Any help is appreciated.

Undo multiple changes in Cygwin's vim

I have two installations of vim: 7.4 in cygwin and 7.2 in a Linux virtual machine. The vim in the virtual machine can undo multiple edits by repeatedly pressing the u key. The vim in cygwin can only undo the most recent change. Pressing it a second time is a "redo" (which in the virtual machine can be accomplished with the Ctrl-r sequence).

I would like to get the cygwin installation to be able to undo multiple edits through repeatedly pressing the u key, like it does in the virtual machine.

I have tried comparing the features included in both installations, but I have not identified what could be causing this difference in behavior. Another post on this website suggested I could use the . key after using the u to undo multiple times, but that has not worked for me in the cygwin installation. I also haven't found any settings in the vimrc files that seem like they would modify this behavior.

edited tags
Link
muru
  • 25.1k
  • 8
  • 83
  • 144
edited body
Source Link
muru
  • 25.1k
  • 8
  • 83
  • 144
Loading
Source Link
Loading