scy on Nostr: That's an interesting thought: This article suggests that you shouldn't use a file ...
That's an interesting thought: This article suggests that you shouldn't use a file tree sidebar (e.g. #NerdTree) in #Vim (or #Neovim), because it's not really compatible to a multi-window workflow. Because it can be confusing to predict in which window the file will actually open.
Instead, the author suggests that you display the files (or file tree) not in a sidebar, but to replace a window's content with a file picker, and after selecting the file, open it there, too.
http://vimcasts.org/blog/2013/01/oil-and-vinegar-split-windows-and-project-drawer/Published at
2024-01-25 19:57:53Event JSON
{
"id": "2a664104f399d56c21729c5b9879c6dbf39b6c40914a02ab3426594f62179f3a",
"pubkey": "6c0bcc61825addd9ced4c4d2f2d8e9d38d9e3087ac060bff05383c5acce1a33a",
"created_at": 1706212673,
"kind": 1,
"tags": [
[
"t",
"nerdtree"
],
[
"t",
"vim"
],
[
"t",
"neovim"
],
[
"proxy",
"https://chaos.social/users/scy/statuses/111818353748820988",
"activitypub"
]
],
"content": "That's an interesting thought: This article suggests that you shouldn't use a file tree sidebar (e.g. #NerdTree) in #Vim (or #Neovim), because it's not really compatible to a multi-window workflow. Because it can be confusing to predict in which window the file will actually open.\n\nInstead, the author suggests that you display the files (or file tree) not in a sidebar, but to replace a window's content with a file picker, and after selecting the file, open it there, too.\n\nhttp://vimcasts.org/blog/2013/01/oil-and-vinegar-split-windows-and-project-drawer/",
"sig": "0925ceef2c8ed49dd7f0dc86eab9cb45b032025c177bf87fc4f4c14818a9e22cc3af57be58203e85917a3a404dbd843acaaaec48692863c17e811ca29c1803a9"
}