XVim icon indicating copy to clipboard operation
XVim copied to clipboard

Cannot delete the first line with dd for XCode 8 Final

Open perfectspr opened this issue 8 years ago • 4 comments

Description

Cannot delete the first line with dd for XCode 8 Final

Operation

open a file in Xcode 8 Final, press key dd at first line, no response and d+G also not work.

Expected behaviour

Environments

  • Xcode Version [8.0 Final]
  • XVim branch and revision [master]
  • Keyboard Language [ en-us ]
  • Input source language [ en-us ]

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

perfectspr avatar Sep 16 '16 03:09 perfectspr

I have just tired the above and worked fine.

  • Xcode Version [8.0 8A218a (Mac App Store]
  • XVim branch and revision [master]
  • Keyboard Language [ en-gb ]
  • Input source language [ en-gb ]

squarefrog avatar Sep 16 '16 07:09 squarefrog

I'm seeing the same issue. dd on the first line doesn't work; neither does dj or indeed d + anything (as far as I know).

Workaround for now: Vd works normally.

  • Xcode version 8.0 (8A218a) from Mac App Store; unsigned during XVim's installation.
  • XVim branch and revision [master]
  • Keyboard language [ en-us ]
  • Input source language [ en-us, also tested with Dvorak layout ]

Tom-Le avatar Sep 16 '16 20:09 Tom-Le

I saw the same. d$ works (assuming you're at the start of the line.

aguywithcode avatar Sep 20 '16 08:09 aguywithcode

I saw the same, too. When cursor is at the first column of the first line, 'dd' doesn't work. As @mdizzy mentioned, I can use 'd$' instead of 'dd', but still hopes 'dd' works. Please check and fix it. Thanks.

hitzhangjie avatar Jan 29 '17 02:01 hitzhangjie