You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
When you are working in multiple files and going back and forth between the file tabs, the cursor position for that tab is forgotten and you can't type text right away.
This is rather frustrating behaviour, as it forces you to grab your mouse and click somewhere in the code before you can start typing.
Sublime remembers the cursor position per tab/file, so that when you go back to a tab, the cursor is at the position where you left off, and you can start typing right away.
Can this be enabled for Atom as well? I couldn't find a package that does it.
I can't reproduce this behavior using Atom v0.197.0-3c6e6e4 on Mac OS X 10.10.3. I have four tabs open (each with a cursor at a specific different position) and when I use Ctrl+Tab to switch between them, the cursor is always in the position where I left it for that tab.
Can you give a specific set of steps to reproduce the issue?
I can reproduce this in Atom 0.197.0-3c6e6e4 in safe mode on OS X 10.10.3 – basically, when you switch between tabs with Ctrl-Tab or clicking on a tab, the row where you left your cursor will be highlighted, but there will be no visible cursor, and trying to move the cursor with the arrow keys won't work.
I think this might actually be a fairly straightforward fix – looks like it's because switching tabs doesn't refocus the editor element.
@veloxy or @andya9 Would you mind posting a screencap with Ctrl-Tab? I do get the same issue with Ctrl-Tab so I want to get a better idea of what it looks like for you.
@DeeperX Since this was fixed last year, I haven't run into this issue anymore.
Not experiencing it now either, on OS X 10.11.5 with Atom 1.9.0-dev-7253514
@rmbaad - Works for me on OSX El Capitan and Atom 1.14.4 (just installed today). I can cycle through tabs by clicking or CMD-SHIFT-] or CMD-SHIFT-[ and the cursor position is remembered and in focus. If I could test CTRL-TAB I would but I have so far been unable to get this shortcut working for me. :(
Still not working for me: When clicking on tabs the cursor position is kept, using the keyboard, the fosus is set on the tree view. Atom 1.15 on Windows 10.
This bug still exists in atom 1.18.0 x64 macOS Sierra 10.12.5 if another pane is cursor-less. For example, open a text file to edit and then open Atom > About Atom pane. Switching from text file to the "About" pane with keyboard Cmd-Shift-[ or Cmd-Alt-Arrow looses cursor position. Switching with mouse click on the pane name doesn't.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
veloxy commentedon May 6, 2015
👍
I just switched to atom and I agree that it is very annoying that the cursor isn't remembered when switching tabs. (OSX)
lee-dohm commentedon May 6, 2015
I can't reproduce this behavior using Atom v0.197.0-3c6e6e4 on Mac OS X 10.10.3. I have four tabs open (each with a cursor at a specific different position) and when I use Ctrl+Tab to switch between them, the cursor is always in the position where I left it for that tab.
Can you give a specific set of steps to reproduce the issue?
mnquintana commentedon May 6, 2015
I can reproduce this in Atom 0.197.0-3c6e6e4 in safe mode on OS X 10.10.3 – basically, when you switch between tabs with Ctrl-Tab or clicking on a tab, the row where you left your cursor will be highlighted, but there will be no visible cursor, and trying to move the cursor with the arrow keys won't work.
I think this might actually be a fairly straightforward fix – looks like it's because switching tabs doesn't refocus the editor element.
veloxy commentedon May 6, 2015
@mnquintana That is the issue I have, except it occurs when clicking the tabs, ctrl+tab works fine. (OSX 10.10.3, Atom 0.196.0)
mnquintana commentedon May 6, 2015
@veloxy or @andya9 Would you mind posting a screencap with Ctrl-Tab? I do get the same issue with Ctrl-Tab so I want to get a better idea of what it looks like for you.
veloxy commentedon May 6, 2015
This is the behavior with Ctrl-Tab, the cursor keeps its position and i can just start typing after ctrl-tabbing to a different tab.
The issue with clicking also occurs on Windows 8.1
10 remaining items
adamreisnz commentedon Jun 10, 2015
Cheers thanks
inancgumus commentedon Jun 2, 2016
@nathansobo is it fixed? still continues here with os x el capitan.
adamreisnz commentedon Jun 2, 2016
@DeeperX Since this was fixed last year, I haven't run into this issue anymore.
Not experiencing it now either, on OS X 10.11.5 with Atom 1.9.0-dev-7253514
pcnate commentedon Aug 2, 2016
I just upgraded 1.9 on Debian 8.5 and I have been having the issue.... Did not seem to have the issue on Win 7 at work today on atom 1.9.
If I start typing after ctrl+tab I get an "enter new path prompt". Maybe a different issue.
rmbaad commentedon Mar 1, 2017
I have this issue on OSX El Capitan and Atom 1.14.3
laradevitt commentedon Mar 6, 2017
@rmbaad - Works for me on OSX El Capitan and Atom 1.14.4 (just installed today). I can cycle through tabs by clicking or CMD-SHIFT-] or CMD-SHIFT-[ and the cursor position is remembered and in focus. If I could test CTRL-TAB I would but I have so far been unable to get this shortcut working for me. :(
inancgumus commentedon Mar 7, 2017
Looks like it's been fixed. At least I see the correct behaviour in Atom 1.12.8 and OS X 10.12.3 (Sierra).
adamreisnz commentedon Mar 7, 2017
Still working for me in Atom 1.16.0
ContentLabs commentedon Mar 22, 2017
Still not working for me: When clicking on tabs the cursor position is kept, using the keyboard, the fosus is set on the tree view. Atom 1.15 on Windows 10.
Ben3eeE commentedon Mar 22, 2017
@ContentLabs That can be a different issue atom/tree-view#858. Try disabling
Focus On Revealin thetree-viewpackage settings.ContentLabs commentedon Mar 22, 2017
@Ben3eeE Wow, thank you, that fixed it for me!
lonelyelk commentedon Jul 9, 2017
This bug still exists in atom 1.18.0 x64 macOS Sierra 10.12.5 if another pane is cursor-less. For example, open a text file to edit and then open Atom > About Atom pane. Switching from text file to the "About" pane with keyboard Cmd-Shift-[ or Cmd-Alt-Arrow looses cursor position. Switching with mouse click on the pane name doesn't.
lee-dohm commentedon Jul 10, 2017
@lonelyelk Please open a new issue and fill in all of the required information.
lock commentedon Mar 31, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!