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

"/" key binding for searching a file throws an error #7

Closed
cpdean opened this issue Jan 11, 2014 · 3 comments
Closed

"/" key binding for searching a file throws an error #7

cpdean opened this issue Jan 11, 2014 · 3 comments

Comments

@cpdean
Copy link

cpdean commented Jan 11, 2014

When I hit the "/" key to search with the vim plugin active, I get the following error in a dialog box:

Not an editor command ":ltexec vim.find"

When I search for this I find a keybinding in the vim plugin's source. Suspecting there was an api change, I added the following to my keybindings:

:editor { ...
        "/" [:vim.find]}

and after saving this it seems to work. However, I can't get rid of the error messages about :ltexec find.next and :ltexec find.prev by adding similar key bindings for n and shift-n.

@cpdean
Copy link
Author

cpdean commented Jan 11, 2014

Okay, i gotta rethink that binding. It'll go off whenever you hit the "/" key: in normal mode OR insert.

@ibdknox
Copy link
Member

ibdknox commented Jan 11, 2014

You just need to restart after installing the plugin.

@cpdean
Copy link
Author

cpdean commented Jan 11, 2014

you're totally right.

my bad, thanks!

@cpdean cpdean closed this as completed Jan 11, 2014
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