Comments (10)
Let's discuss it here, to keep linked PR clean.
I think issue here is of a documentation rather than anything else.
Being an Neovim plugin and having the same target audience I am pretty happy to assume certain level of IT-related knowledge, mainly ability to find and read documentation.
from nvim-tree.lua.
One thing I've always wanted (out of scope here) is the ability to press <CR>
on the focused entry in help to execute it.
from nvim-tree.lua.
It's true. My point is to make it easier to see all useful features to set/change a keybinding. Setting/changing a keybinding is probably one of the most common config changes people would make.
I doubt that someone will ever notice that they can use toggle_enable_filters
or any other API feature which currently has no keybinding
And since there's already a help panel, why not make it better?
Here's what comes to mind
nvim-tree mappings exit: q
Navigation
not assigned Next Sibling api.node.navigate.sibling.next
< Previous Sibling api.node.navigate.sibling.prev
...
Files
d Delete api.fs.remove
...
from nvim-tree.lua.
I am not agains showing all available api calls in help window. If grouped together, as you showed above, it's actually quite nice and useful.
I would not really like any statement regarding existance of g?
in nvim-tree's window, because next person will want an option to remove it (that person could as well be me) and we will have to yet another option. We can improve documentation/readme to make it more obvious though.
from nvim-tree.lua.
Yeah, I would definitely disable g? - help
line in config since it clutters the view. The idea is to get this knowledge somehow to the person who installs nvim-tree for the first time. One crazy idea is to name the buffer "g? - help" but it's super hacky and just asks for trouble
from nvim-tree.lua.
I am not agains showing all available api calls in help window. If grouped together, as you showed above, it's actually quite nice and useful.
Yes please - it could be another s
toggle or two.
I would not really like any statement regarding existance of
g?
in nvim-tree's window, because next person will want an option to remove it (that person could as well be me) and we will have to yet another option. We can improve documentation/readme to make it more obvious though.
Yes. Users tend to get upset about that sort of thing.
The key is noted in help nvim-tree-quickstart-help
nvim-tree-mappings
nvim-tree-mappings-default
and Readme Quick Start Help
If there was some way of showing it the first time the user runs the tree I would be very happy, however it's hard to persist any sort of state and... once again... users tend to get upset about that.
from nvim-tree.lua.
- The help panel is hidden under "g?" keybinding by default, and only when nvim-tree updated its way to change keybindings, I discovered that there's a help panel (I was smashing ? and since it did nothing, I just assumed there's no help panel).
The first thing I did when I started to use nvim-tree was bind ?
to help.
There's not much consistency among plugins - some use g?
some use ?
some use both.
Could we add ?
@gegoune ?
from nvim-tree.lua.
All the rest? Yes please!
from nvim-tree.lua.
One thing I've always wanted (out of scope here) is the ability to press
<CR>
on the focused entry in help to execute it.
Good idea!
And some other key to open help for it?
Could we add
?
This is default mapping (search backwards), hence g?
became popular. Probably wouldn't want to go this way.
from nvim-tree.lua.
This is default mapping (search backwards), hence
g?
became popular. Probably wouldn't want to go this way.
Fair enough. I don't think we can really add anything further around discovery.
from nvim-tree.lua.
Related Issues (20)
- Float window for full filenames has wrong bg HOT 2
- Floating nvim-tree does not respect config on startup HOT 14
- Right aligned icons HOT 1
- web-devicons default not used HOT 4
- Can't create a file in neovim using nvim-tree.lua(fs_close bad argument #1) HOT 6
- [NvimTree] Could not start the fs_event watcher for path /xxxx/xxxx : ENOSPC HOT 8
- Is it not in the AUR?(Have been solved) HOT 2
- Opening a tree in a new tab messes up local statusline settings HOT 6
- Colors of NvimTree as floating window different as expected (configured) HOT 2
- Unable to open file in new tab HOT 2
- nvim-web-devicons user overrides are clobbered HOT 1
- enable deprecated warnings, minimum neovim version 0.9, harden support for greater versions HOT 3
- Allow nodes to expand until a certain condition is met.
- Diagnostics Disabled flag seems do not work
- `nvim-tree` allows the creation of files over `sshfs`, but they can't be accessed HOT 3
- `nvim-tree` allows the creation of files over `sshfs`, but they can't be accessed HOT 11
- Allow icons to work with any terminal font HOT 1
- Sibling navigation doesn't work with group empty HOT 1
- filesystem_watchers.ignore_dirs and git.disable_for_dirs functions
- The path to open files is always displayed as an absolute path HOT 5
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 nvim-tree.lua.