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

Auto format vimscript? #3

Open
jizhang-wish opened this issue Feb 3, 2022 · 0 comments
Open

Auto format vimscript? #3

jizhang-wish opened this issue Feb 3, 2022 · 0 comments

Comments

@jizhang-wish
Copy link

Question : ) I'm wondering if you break these lines manually or with some autoformatting plugins? Thanks!

" define a fancy nvim clipboard provider
if has('linux')
  let g:clipboard = {
    \   'name': 'Vim Clipboard',
    \   'copy': {
    \      '+': 'xclip -i -selection clipboard',
    \      '*': 'xclip -i -selection secondary',
    \    },
    \   'paste': {
    \      '+': 'xclip -o -selection clipboard',
    \      '*': 'xclip -o -selection secondary',
    \   },
    \   'cache_enabled': 1,
    \ }
  " tell nvim to use * as its internal clipboard
  " now vim sessions can share yank buffers by using the virtually unheard of
  " secondary selection buffer!
  set clipboard=unnamed
endif
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

1 participant