[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Search StackOverflow and paste code snippets without leaving the edi
From: |
Andrey Tykhonov |
Subject: |
Re: Search StackOverflow and paste code snippets without leaving the edited file |
Date: |
Sat, 11 Jan 2014 01:43:19 +0200 |
2014/1/10 Emanuel Berg <embe8573@student.uu.se>
> Andrey Tykhonov <atykhonov@gmail.com> writes:
>
> > I got the reason to implement major mode! Thank you!
> > I just recently committed the major mode and now "n",
> > "p", "b", "q", "<", ">" key bindings (for next,
> > previous, browse, quit-window, beginning of buffer,
> > end of buffer) are available in a pop up buffer. Also
> > there is minor mode (howdoi-minor-mode) available
> > with such key bindings:
> >
> > C-c o n - howdoi-show-next-question C-c o p -
> > howdoi-show-previous-question C-c o c -
> > howdoi-show-current-question C-c o b -
> > howdoi-browse-current-question C-c o q - howdoi-query
> > C-c o l - howdoi-query-line-at-point C-c o r -
> > howdoi-query-line-at-point-replace-by-code-snippet
> >
> > I'm not sure that I chose right prefix "C-c o". I hope
> > it will be ok.
>
> Leaving the prefix issue aside (i.e., exactly what
> prefix to use), this is a *great* interface: a major
> mode for super-fast interaction, and a minor mode with
> just a prefix to remember, and then exactly the same
> keys.
>
Well, inspired by your note, to make an interface a little bit better I've
changed "C-c C-o q" to the "C-c C-o u" key bindings (minor mode). So it
doesn't somehow intersect with the key binding "q" (major mode). And also
I've added key binding "u" (major mode) to be able to make howdoi-query
directly from a pop up buffer.
>
> --
> underground experts united:
> http://user.it.uu.se/~embe8573
>
- Re: Search StackOverflow and paste code snippets without leaving the edited file, (continued)
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Paul Smith, 2014/01/10
- RE: Search StackOverflow and paste code snippets without leaving the edited file, Drew Adams, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/10
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Paul Smith, 2014/01/10
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/10
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file,
Andrey Tykhonov <=
Re: Search StackOverflow and paste code snippets without leaving the edited file, Rustom Mody, 2014/01/03