File picker
Unless I'm missing something the best I can do to see files withing the app is tab through after i press CTRL+O, IMO the target audience attracted by using "normal" shortcuts are the same folks (like me) that will expect a file picker.
Nice premise but unusable as a serious editor if i have to popout of flow to see my entire directory.
Just food for thought, best wishes.
Hi, try pressing Ctrl + Space to access the file tree. Then you can click on folders to navigate around and click on files to open them.
Ctrl + O is one of the ways to open files that has been around before the file tree was implemented, but remains as some users find it useful.
You can find more info on the file tree here: https://github.com/curlpipe/ox/wiki/General-editing#file-tree perhaps I should make it so this feature is mentioned in the README.
Is that the kind of thing you're looking for?
I'm using fcitx5 on GNOME. It sets Ctrl + Space as the default toggle key.
As far as I know, fcitx5 is a major IME tool. Many users who need a language other than English should change the keybindings before using ox's file-tree.
Can we customize ox keybindings with the config file?
@kachick This can be achieved:
For example, if you wanted to set it to something like Ctrl + P instead:
event_mapping["ctrl_p"] = function()
editor:toggle_file_tree()
end
you can also un-bind the default Ctrl + Space key binding by adding this too:
event_mapping["ctrl_space"] = nil
add these to your configuration file in ~/.oxrc
More Info:
- How key bindings work: https://github.com/curlpipe/ox/wiki/Plugins#key-bindings
I overlooked the key-binding section in the Wiki and changed the configuration on the fcitx5 side.
Now changing in ~/.oxrc looks working, Thank you! 🙏
No problem! Glad I could help. 😁