[nvim] yanky

This commit is contained in:
odrling 2022-09-24 22:18:26 +02:00
parent 774b131d22
commit ff4b2964d4
No known key found for this signature in database
GPG key ID: A0145F975F9F8B75
2 changed files with 13 additions and 0 deletions

View file

@ -114,6 +114,9 @@
(use! :godlygeek/tabular)
(use! :gbprod/yanky.nvim
:module :config.yanky)
; Interface
(use! :projekt0n/github-nvim-theme)
(use! :joeytwiddle/sexy_scroller.vim

View file

@ -0,0 +1,10 @@
(import-macros {: setup : map!} :macros)
(setup :yanky {})
(map! [n] :p "<Plug>(YankyPutAfter)")
(map! [n] :P "<Plug>(YankyPutBefore)")
(map! [n] :gp "<Plug>(YankyGPutAfter)")
(map! [n] :gP "<Plug>(YankyGPutBefore)")
(map! [n] :<C-n> "<Plug>(YankyCycleForward)")
(map! [n] :<C-p> "<Plug>(YankyCycleBackward)")