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

New snippet with selected text #309

Conversation

songjie-dong
Copy link
Contributor

No description provided.

@joaotavora
Copy link
Owner

@joaotavora joaotavora closed this Nov 9, 2012
@songjie-dong
Copy link
Contributor Author

Sorry about no description.

This patch is not a snippet, but used in the following scene:

  1. recently entered the code suitable for use as snippets
  2. select code
  3. C-c & C-n to add new snippet
  4. new snippet's buffer contain those code
  5. modify and save new snippet

A optimization for new snippet action.

@joaotavora
Copy link
Owner

Ah ok, I'll reopen this and have a look when I find the time. thanks for the description.

@joaotavora joaotavora reopened this Nov 11, 2012
@lewang
Copy link
Contributor

lewang commented Nov 21, 2012

@songjie-dong Please add your description to the actual git commit messages. Github may not be around with this project forever, it's important to have meaningful commit messages.

1. recently entered the code suitable for use as snippets
2. select code
3. C-c & C-n to add new snippet
4. new snippet's buffer contain those code
5. modify and save new snippet
@songjie-dong
Copy link
Contributor Author

I've already added comment, @lewang thanks for your reminding.

@npostavs
Copy link
Collaborator

I've rebased this as #698.

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

Successfully merging this pull request may close these issues.

4 participants