Giter VIP home page Giter VIP logo

corral's People

Contributors

nivekuil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

corral's Issues

Corral doesn't include exclamation mark?

As long time user of Corral, I love it! Thanks for that! It seems I found something
that might be a bug. To reproduce, [] stands for the cursor

foobar![]

Then I call M-x corral-backquote-backward, which is bound to a key by the way.

But it includes only the characters in a quote mark, without the ! exclaimation mark.

Corral can't handle hash.

Thanks for sharing this awesome package with us! It's really appreciated.

However, it seems there is a bug. For example, in the Jquery you have the following

$(#id-of-foo-bar[])

[] = pointer.

Then I call the function corral-double-quotes-backward. Then it will wrap id-of-foo-bar. But when I call it again, it will not manage to expand it beyond the #.
This is odd, because it behaves differently with
foo bar[].

Then bar will be wrapped inside double quotes. Call corral-double-quotes-backward again, then it will wrap foo bar.

put suggested keybindings into a minor-mode keymap?

One of the magical things about packages is they let me keep my ~/.emacs.d/init.el under a few dozen megabytes; in service of keeping things small, I like to adhere to default keybindings wherever possible and not have custom code for setting them up.

Would you consider putting the keybindings in the README for corral into a minor mode that I can just activate and inspect to see how it's used?

corral-wrap-backward: Wrong type argument: characterp, nil

Hi,

Thanks for this nice helper! I'm experiencing some issues in Emacs 25 (GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2015-10-25).

To reproduce:

  • create new buffer
  • type "asdf asdf asdf"
  • M-x "corral-parantheses-backward"
    --> "corral-wrap-backward: Wrong type argument: characterp, nil"

However, if I enter a space and go back one space (C-b) then it does work again?!

Any ideas? Can I help somehow?

Thanks again and best regards

suggestion: make a local map

Hello Sir,
Can you make corral behave like this:

M-] run corral-brackets-forward, immeadiatly after that command ] run corral-brackets-forward again and [ run the backward version. C-g exit the command.
So that you don't need to press M if you want to forward several words.

For quote:
M-" run double quote forward, M-" again cancel the previous forward and do double quote backward, after that " continue forwarding and ' continue backwarding.

make the same for M-'

I am not good at elisp, maybe you can find example in expand-region and hydra.
Thank you!

Feature request: Curly braces

Have you though about adding curly braces?

For instance in Perl it's quite common to type something, then realizing you need to dereference it and wrap it in {}.

Another case is string interpolation in shell scripts that sometimes need bracing.

Curly braces are also used to interpolate inside Ruby strings.

Repeated use of corral-double-quotes-x doesn't give greater nestings of quotes

Some languages (python, scala) use triples quotes for verbatim quotes.
I'd like to be able to hit whatever bindings I have for corral-double-quotes-x (forward or backward) two more times and turn a singly quoted string into a triple quoted string.

Even if that doesn't happen, I'd like it to fail gracefully, instead of leaving me with mismatched parenthesis.

Great library.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.