XVimProject / XVim

Xcode plugin for Vim keybindings
MIT License
5.16k stars 596 forks source link

Cannot delete the first line with dd for XCode 8 Final #991

Open perfectspr opened 7 years ago

perfectspr commented 7 years ago

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

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

squarefrog commented 7 years ago

I have just tired the above and worked fine.

Tom-Le commented 7 years ago

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.

aguywithcode commented 7 years ago

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

hitzhangjie commented 7 years ago

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.