Comments (6)
I'm glad to see some other plugins are picking up using MkDocs 🙂 .
from filemanager.
It isn't an expected behavior, but it's definitely a good idea. Maybe you haven't read the docs? In this case, you're very likely to be missing on some stuff that'll save you time. In this case, you can use the alias $here
(which is just an alias for the alias $file_path
). So, just $here/
and then your file name will do the trick.
Typing $here/
all the time's gonna annoy you, I know. What you can do is add an other shortcut (or overwrite the original one) so that the initial text is $here/
. In my case, here's what I've done:
{
"keys": ["ctrl+n"],
"command": "fm_create",
"args": {
"initial_text": "$here/"
}
}
Just to let you know, the expected behavior is that the "base" is the first folder (you can see it by showing the side bar). If there is none, then it picks the currently focused file.
So, I really recommend you have a look at the docs. In this case, you want to look here.
What I can also do is add a setting so that is always uses the currently focused file, whether there is a folder in the current window or not. Would you like to have that? or the current solution works fine for you?
from filemanager.
@math2001 I did read your (super awesome) docs, but I guess I missed out the important bits about the order of file creation location 😅
anyway, your sugesstion about setting inittial_text
works like a charm! So I don't think we need to complicate your plugin further with a setting to always uses the current focused file
Cheers,
Ken
from filemanager.
No worries! 😉
I did read your (super awesome) docs
What do you find "super awesome" about it? The theme? In this case, I agree. It's Material on mkdocs.
from filemanager.
@math2001 yes the theme and the amount of details you've put into, haven't seen anything like that for a Sublime Text plugin before :)
from filemanager.
haven't seen anything like that for a Sublime Text plugin before :)
Thank you! Maybe you haven't used any packages of @facelessuser then... He's the one that told me to use mkdocs. And he changed his theme to Material too (he use to use the readthedocs one). These docs are full of details too
from filemanager.
Related Issues (20)
- [Feature Request] Add edit files without any layout setting HOT 4
- FileManager shouldn't create so many commands HOT 2
- Remove .sublime folder HOT 1
- Alpha ST4 - Duplicate Rename entries on menu HOT 6
- Test tab completion logic
- Document tips and tricks
- [help wanted] Remove useless things. Make this package intuitive. HOT 3
- Refresh side bar checking view settings instead of FileManager settings
- Copy relative path function outputs a string starting with "/" HOT 5
- How to accept an intermediate path completion? HOT 6
- stopped working for me HOT 8
- Duplicate chokes on non-ascii files HOT 1
- folder selection is not working
- [Bug] Sidebar missing entries when file is open HOT 1
- conflict of hotkey "alt+n" HOT 2
- Cannot move files to different directories
- can not duplicate the file to a new directory HOT 3
- Definign index number in preferences does not seem to change the default
- Remove so many features
- Getting frivolous infinite loop messages
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 filemanager.