Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad Cursor motion #9004

Open
kurtbreish opened this issue Apr 25, 2024 · 0 comments
Open

Bad Cursor motion #9004

kurtbreish opened this issue Apr 25, 2024 · 0 comments

Comments

@kurtbreish
Copy link

Describe the bug

Cursor motion for up and down "k & j" is not correct. If the line above or below has tab characters in it the cursor does not go straight down/up, it go somewhere unpredictable. This prevents the use of the repeat command "." with out first moving horizontally. Really slows down edits related to tab inserting or other repeated inserts/deletes

This works fine in VIM for Visual Studio, but VSCODE is not correct and really, really annoying.
Easy to reproduce.

To Reproduce
Enter something like the code below:

	#2 CpuBusHold = {Dev,Reg}; CPU_NCS = 0;
	#9 CPU_NWE = 0;
	#50 CPU_NWE = 1;
	#8 CPU_NCS = 1;
	@(posedge FpgaClk);	// resycn with cloc

In the above code there are preceding tabs (4 stops) before the "#" symbols. Place the cursor on the first "#", insert a tab character, move down a line and hit the repeat character '.' i.e.

"i(tab)(esc)j."

This has completely different behavior from VIM standalone and VIM for Visual Studio (and from every other VI editor I have ever used).

Expected behavior
Work like every other implementation.

Screenshots
Screen shots don't work for curser motion.

Yes I am on the latest VSCode and VSCodeVIM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant