Comments (4)
Yes, this works. Thank you
autocmd BufWritePost * ++nested :FernDo e -drawer -stay
also very nice if you are using fugitive and vim-plug
if has_key(plugs, 'vim-fugitive')
autocmd User FugitiveCommit ++nested :FernDo e -drawer -stay
endif
from fern.vim.
Just invoke Vim's native edit
command through FernDo
command on appropriate autocmd.
from fern.vim.
Can you give more details? Ah well, I tried this
autocmd BufWritePost * :FernDo edit -drawer
but then the fern window is empty until I press enter in it.
from fern.vim.
See :help autocmd-nested
from fern.vim.
Related Issues (20)
- [Feature] Add the ability to retain the open/closed status of the fern drawer between tabpages 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
- Windows: Disconnected network drive causes fern to freeze entire nvim HOT 2
- How to open fern on a parent directory of a current buffer and focus on file? HOT 2
- Drawer very slow on large trees HOT 3
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 fern.vim.