aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-12-14 12:52:40 +0800
committerGitHub <noreply@github.com>2022-12-14 12:52:40 +0800
commit7e7944a30c340319665582cf635aed7678b8a353 (patch)
tree7064f4913e420ad7ac94eb57192c89217d5996b1 /core
parent53c17aea969b108662d3cb614534be10d37e3170 (diff)
use yanky.nvim to replace vim-yoink (#168)
Diffstat (limited to 'core')
-rw-r--r--core/plugins.vim25
1 files changed, 0 insertions, 25 deletions
diff --git a/core/plugins.vim b/core/plugins.vim
index 5846dba..6125514 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -137,31 +137,6 @@ let g:mundo_width = 80
nnoremap <silent> <Space>u :MundoToggle<CR>
-""""""""""""""""""""""""""""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.
- " nmap <c-n> <plug>(YoinkPostPasteSwapBack)
- " nmap <c-p> <plug>(YoinkPostPasteSwapForward)
-
- " The following p/P mappings are also needed for ctrl-n and ctrl-p to work
- " nmap p <plug>(YoinkPaste_p)
- " nmap P <plug>(YoinkPaste_P)
-
- " Cycle the yank stack with the following mappings
- nmap [y <plug>(YoinkRotateBack)
- nmap ]y <plug>(YoinkRotateForward)
-
- " Do not change the cursor position
- nmap y <plug>(YoinkYankPreserveCursorPosition)
- xmap y <plug>(YoinkYankPreserveCursorPosition)
-
- " Move cursor to end of paste after multiline paste
- let g:yoinkMoveCursorToEndOfPaste = 0
-
- " Record yanks in system clipboard
- let g:yoinkSyncSystemClipboardOnFocus = 1
-endif
-
""""""""""""""""""""""""""""better-escape.vim settings"""""""""""""""""""""""""
let g:better_escape_interval = 200