[英]Go to last line in Atom editor
I wonder if there is a way to navigate to the last line of the file in atom editor given that you don't it's number(for instance you've just opened log file).我想知道是否有办法导航到原子编辑器中文件的最后一行,因为您不是数字(例如您刚刚打开日志文件)。 Something similar to Shift + G in vim.类似于 vim 中的 Shift + G 的东西。
Use ctrl+a to select all and then press ↑ to go to the top or ↓ to go to the bottom of the file.使用 ctrl+a 全选,然后按 ↑ 转到顶部或 ↓ 转到文件底部。 For the beginning / end of a line try ctrl-← and ctrl-→ or if it doesn't work try the same with shift or alt.对于行的开头/结尾,请尝试 ctrl-← 和 ctrl-→,或者如果它不起作用,请尝试使用 shift 或 alt。
It works the same as it does in every other macOS application:它的工作方式与其他所有 macOS 应用程序中的工作方式相同:
If it still doesn't work, a third-party package might interfere.如果它仍然不起作用,第三方软件包可能会干扰。 You can use the keybinding-resolver
(it's bundled with Atom) to find out which package causes this conflict.您可以使用keybinding-resolver
(它与 Atom 捆绑在一起)来找出导致此冲突的包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.