Comments (3)
Why the feature is needed?
This feature is so useful?
I think mimic the behavior of IDE is not the reason.
from vim-fern.
It is a common feature, similar to (or a simplified version of) vim-nerdtree-tabs or nvim-tree.tab.sync. This new feature can save a lot of time to toggle on/off Fern across tabs.
For example, without this feature, if I do open in new tab
, then in the new tab, I need to toggle Fern again to see my files and continue explore. I may do open in new tab
again, then I need to toggle Fern again.
I previously proposed a feature about universal fern
, but then now I realize I do not need a single global Fern in every tabs, I just need Fern always show up or always close for every tabs.
from vim-fern.
OK, I tried to do it using the tip. But Fern behaves very weird. Can you reproduce?
My config
augroup FernOpenInAllTabs
autocmd! *
autocmd TabEnter * ++nested Fern . -drawer
augroup END
Step to produce:
- Open vim
- Toggle Fern drawer
- Open new tab :tabnew
- Fern shows up empty and take half of my vim window
from vim-fern.
Related Issues (20)
- Is there a way to automatically redraw fern when a buffer is written? HOT 4
- When opening a file, auto-hide or auto-defocus fern HOT 4
- [Feature] Support switching tabpages on `FernDo` HOT 3
- Add mouse support HOT 4
- Fern reveal triggers vim to hang with 100% cpu usage HOT 3
- Remove signcolumn in fern HOT 2
- nvim: "Window was closed immediately" when opening floating window while opening fern in split window HOT 7
- Option to reset drawer width when toggled HOT 2
- Reveal doesn't work with slach (`/`) separated path on Windows HOT 12
- Is it possible to search files by their names? HOT 2
- feat: configure what files/directories are considered 'hidden' HOT 2
- [bug] node expansion inconsistent behaviour
- Remote authentication required but no callback set HOT 3
- vim like mapping for zz? HOT 9
- Default branch warning HOT 1
- How to open multiple files HOT 2
- bug(vital): infinite autocmd loop on `FernDo FernReveal` HOT 5
- Support `winfixbuf` on drawer window in Neovim
- Add a way to go up a directory with `Return` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-fern.