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
Just as you can show a file/directory's information in the second pane using :view, it'd be great to do the same with :tree, which is easier to view due to the icons and others..
I tried doing it my own way but it's surely not the best
" repeated code for hjkl
nnoremap h :view!<CR>:view<CR>h:if filetype('.') != 'dir' | view! | else | :sync %c<CR>:winrun , tree | endif<CR>
The text was updated successfully, but these errors were encountered:
As was noted on Reddit, using :tree as a preview is a weird way to go about it which results in complicated mappings. Making preview of directories look more like a tree-view would be a saner approach.
Just as you can show a file/directory's information in the second pane using :view, it'd be great to do the same with :tree, which is easier to view due to the icons and others..
I tried doing it my own way but it's surely not the best
The text was updated successfully, but these errors were encountered: