Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to latest, now receiving error #51

Closed
dgouda opened this issue Sep 4, 2019 · 4 comments
Closed

update to latest, now receiving error #51

dgouda opened this issue Sep 4, 2019 · 4 comments

Comments

@dgouda
Copy link

dgouda commented Sep 4, 2019

Summary of Problem

  • updated plugin
  • upon invoking NV now receive:
Error running ( command rg --follow  --smart-case  --line-number --color never --no-messages  --glob !'summarize-*' --glob !'misc*' --no-heading --with-filename "\S" '/Users/dgudermu/Library/A
pplication Support/Notational Data' '/Users/dgudermu/scripts' '/Users/dgudermu/Notes'  |  python3 -S '/Users/dgudermu/.vim/pack/plugins/start/notational-fzf-vim/shorten_path_for_notational_fzf
.py' 2>/dev/null )|'/usr/local/Cellar/fzf/0.18.0/bin/fzf'  --print-query --ansi --multi --exact --inline-info --delimiter=":" --with-nth=3,5.. --tiebreak=length,begin --expect= --bind=alt-a:se
lect-all,alt-q:deselect-all,alt-p:toggle-preview,alt-u:page-up,alt-d:page-down,ctrl-w:backward-kill-word --preview='python3 -S /Users/dgudermu/.vim/pack/plugins/start/notational-fzf-vim/print_
lines.py {2} {1}  2>/dev/null' --preview-window=right:96:wrap --height=8 > /tmp/vS1ifQg/256
@alok
Copy link
Owner

alok commented Sep 4, 2019

What are these settings:?

g:nv_yank_key
g:nv_keymap
g:nv_create_note_key
g:nv_expect_keys

@dgouda
Copy link
Author

dgouda commented Sep 5, 2019

What are these settings:?

I left the settings alone, so they are currently set as advertised.

let g:nv_yank_key = 'ctrl-y'
let g:nv_keymap = {
                    \ 'ctrl-s': 'split ',
                    \ 'ctrl-v': 'vertical split ',
                    \ 'ctrl-t': 'tabedit ',
                    \ }
let g:nv_create_note_key = 'ctrl-x'
let g:nv_expect_keys = []

I just started using this plugin, so I am still trying to become familiar & comfortable with it.

thx

@alok
Copy link
Owner

alok commented Sep 5, 2019

If you left the settings alone, the --expect field shouldn't be empty like it is in the generated command line. Did you explicity set g:nv_expect_keys to the empty list? If so, remove that.

@dgouda
Copy link
Author

dgouda commented Sep 6, 2019

That was it!! Thank you very much for helping me out!!

thx

dg

@dgouda dgouda closed this as completed Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants