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

Keybinding to complexe macro #58

Open
Armaklan opened this issue Jun 23, 2015 · 1 comment
Open

Keybinding to complexe macro #58

Armaklan opened this issue Jun 23, 2015 · 1 comment

Comments

@Armaklan
Copy link

I want do this keymap :

[:editor :lt.plugins.vim/map-keys {",;" "$A;<ESC>"}]

The $a of keymap work fine : cursor go to the end of line and pass to edition mode. The end of keymap (; character don't work).

@kenny-evitt
Copy link

I'm not familiar with this plugin (or its code) but the README seems to indicate that the latter portion won't work [emphasis mine]:

To map keys to normal mode, add a :lt.plugins.vim/map-keys behavior:

[:app :lt.plugins.vim/map-keys {"j" "gj" "k" "gk"}]

For a thorough example, see this config

To map keys to visual mode, add a :lt.plugins.vim/map-keys-visual behavior under your :app section like above.

CodeMirror does not support mapping to other modes at this time.

I'm guessing the last two keys aren't working because the A command enters Insert mode.

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

No branches or pull requests

2 participants