Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 questions #14

Open
lucasjinreal opened this issue Nov 25, 2022 · 2 comments
Open

2 questions #14

lucasjinreal opened this issue Nov 25, 2022 · 2 comments

Comments

@lucasjinreal
Copy link

After use, it seems not very intuitive.

For example, when I checked Folders, and press n, I though it create a new folder, but it's not.

Secondly, what's the go here mean?

image

clearly I create this with a .py file not .go

@maaslalani
Copy link
Owner

Hey apologies for the unintuitiveness of the program. I definitely want to improve this as, like you mentioned, it is lacking.

  1. For creating a new folder you need to press R to move the snippet to a folder and the folder will automatically be created with the snippet inside. If a folder has no snippets it will disappear next time you open nap.

  2. The go represents the language, press L to change the language to py and the syntax highlighting will change.

Alternatively you can set NAP_DEFAULT_LANGUAGE to py so that all new snippets are created with python syntax highlighting by default.

@lucasjinreal
Copy link
Author

@maaslalani I think it's easy to more intuitive:

  1. Just simply make folder checked create coresponding folder users wont learn anything new;
  2. Just auto switch lan by suffix.

nap looks like a useful tool to navigate on locall snippets, if it can be more simlper to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants