Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Smart indent with region selected #40

Open
ZehCnaS34 opened this issue Oct 16, 2014 · 1 comment
Open

Smart indent with region selected #40

ZehCnaS34 opened this issue Oct 16, 2014 · 1 comment

Comments

@ZehCnaS34
Copy link

In LT Vim mode when trying to smart indent a region with the = key

i just replaces the region with the = sign

d5558

@cldwalker
Copy link
Member

Thanks for the report. Normally this would be an easy keybinding I could add to the plugin e.g. (:lt.plugins.vim/map-keys-visual {"=" ":ltexec smart-indent-selection"}). Unfortunately, it's more complicated due to the bug outlined in #41. In the meantime, if you're doing this with paredit, I'd recommend a binding like this in the :editor section: "cmd-=" [:paredit.select.parent :smart-indent-selection :paredit.select.clear]

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

No branches or pull requests

2 participants