diff --git a/plugins.vim b/plugins.vim index 9a62fee..b1651f8 100644 --- a/plugins.vim +++ b/plugins.vim @@ -169,6 +169,8 @@ if g:is_win || g:is_mac Plug 'svermeulen/vim-yoink' endif +Plug 'bfredl/nvim-miniyank' + " Handy unix command inside Vim (Rename, Move etc.) Plug 'tpope/vim-eunuch' @@ -560,13 +562,13 @@ let g:auto_save_silent = 0 """"""""""""""""""""""""""""vim-yoink settings""""""""""""""""""""""""" if g:is_win || g:is_mac - " ctrl-n and ctrl-p will not work if you add the TextChanged event to - " vim-auto-save events + " ctrl-n and ctrl-p will not work if you add the TextChanged event to vim-auto-save events. " nmap (YoinkPostPasteSwapBack) " nmap (YoinkPostPasteSwapForward) - nmap p (YoinkPaste_p) - nmap P (YoinkPaste_P) + " The following p/P mappings are also needed for ctrl-n and ctrl-p to work + " nmap p (YoinkPaste_p) + " nmap P (YoinkPaste_P) " Cycle the yank stack with the following mappings nmap [y (YoinkRotateBack) @@ -583,6 +585,11 @@ if g:is_win || g:is_mac let g:yoinkSyncSystemClipboardOnFocus = 1 endif +""""""""""""""""""""""""""""nvim-minipyank settings""""""""""""""""""""""""" +nmap p (miniyank-autoput) +nmap P (miniyank-autoPut) +"}} + "{{ Linting and formating """""""""""""""""""""""""""""" ale settings """"""""""""""""""""""" " linters for different filetypes