I have opened several windows such that I need to press M-0 (bound to treemacs-select-window) several times before I get to the LSP Errors List window.
I press <return> (treemacs-RET-action) on a file node in LSP Errors List.
Lsp-treemacs opens this file in a window that seems to be the last window I travelled through be pressing M-0.
Lsp-treemacs doesn't care if this file was already visible in another window. Thus the same file might be displayed in two or more windows.
This behavior is in contrast to Treemacs (Treemacs-Scoped-Buffer window). If a buffer is already visible in a certain window, treemacs jumps exactly to this window. It does not open the buffer twice.
The behavior of treemacs seems more natural to me than the one of lsp-treemacs.
Note: I have not modified treemacs-RET-action-config.
M-0
(bound totreemacs-select-window
) several times before I get to theLSP Errors List
window.<return>
(treemacs-RET-action
) on a file node inLSP Errors List
.M-0
.This behavior is in contrast to Treemacs (
Treemacs-Scoped-Buffer
window). If a buffer is already visible in a certain window, treemacs jumps exactly to this window. It does not open the buffer twice.The behavior of treemacs seems more natural to me than the one of lsp-treemacs.
Note: I have not modified
treemacs-RET-action-config
.