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

[feature] Allow user customize hotkey #31

Open
Freed-Wu opened this issue Aug 17, 2021 · 0 comments
Open

[feature] Allow user customize hotkey #31

Freed-Wu opened this issue Aug 17, 2021 · 0 comments

Comments

@Freed-Wu
Copy link

Why not change

    if !exists("g:disable_rainbow_key_mappings")
        nnoremap <buffer> <F7> :call rainbow_csv#copy_file_content_to_buf(b:self_path, b:root_table_buf_number)<cr>
    endif

to

execute 'nnoremap <buffer> ' . get(g:, 'rainbow_key_mapping', '<F7>') . ':call rainbow_csv#copy_file_content_to_buf(b:self_path, b:root_table_buf_number)<cr>'

?

Thanks!

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

No branches or pull requests

2 participants