-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Open directories #823
Comments
I am using the this one: Its great.. But cant work out how to navigate the tree or open files with it.. |
@gedw99 Once you open it, by typing PS: to anyone reading, the filemanager plugin is great 👍 |
lf is a great file manager (written in go), if there could be ways to integrate lf with micro, it would be very nice. https://github.com/gokcehan/lf |
Integrating a file manager to micro "out-of-the-box" will be a nice enhancement. Especially when trying to open a directory using |
Actually I managed to do this in a very easy way, by changing the filemanager-openonstart to true, and by adding the below content in init.lua, the code checks if you specified a file and it will close the new tab if you did not, in this way you will end up just with the file manager opened.
|
Hey @purplesrl I've added your above code to my init:2: attempt to call a non-function object
stack traceback:
init:2: in function 'quitNoName'
init:8: in main chunk
[G]: ? |
@ipstone With Micro as your default editor (e.g. |
I did not use micro for a while, but it may be that the code of Micro has changed and CurView for example is no longer a function or maybe you have a typo, but my best guess is that I made this for 1.4.x and 2.x no longer support it |
I want to be able to open up a directory in micro like I can in vim.
Description of the problem or steps to reproduce
$ micro .
Cannot read . because it is a directory
Specifications
You can use
micro -version
to get the commit hash.Version: 1.3.3-dev.11
Compiled on September 28, 2017
Commit hash: a02ae3c
OS: #119~14.04.1-Ubuntu SMP Wed Sep 13 08:40:48 UTC 2017
Terminal: GNOME terminal
The text was updated successfully, but these errors were encountered: