From dbf3533ae58c1cf0c9f8931915867f3d04348a3e Mon Sep 17 00:00:00 2001 From: Tine Jozelj Date: Thu, 14 Sep 2023 14:25:07 +0200 Subject: [PATCH] feat: cut also copy --- nvim/coc-settings.json | 3 +-- nvim/init.vim | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json index 118f17b..601d9c0 100644 --- a/nvim/coc-settings.json +++ b/nvim/coc-settings.json @@ -20,7 +20,6 @@ "filetypes": ["typescript", "typescriptreact", "graphql"] } }, - "prettier.disableSuccessMessage": true, "coc.preferences.formatOnSaveFiletypes": [ "javascript", "javascriptreact", @@ -33,7 +32,7 @@ "jsonc", "rust" ], - "tsserver.formatOnType": true, + "tsserver.useLocalTsdk": true, "coc.preferences.formatOnType": true, "yaml.schemaStore.enable": true, "yaml.schemas": { diff --git a/nvim/init.vim b/nvim/init.vim index 66b481c..aed40c0 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -119,8 +119,8 @@ if has('clipboard') && has('vim_starting') endif if exists('##TextYankPost') augroup BlinkClipboardIntegration - autocmd! autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '' | execute 'OSCYankRegister +' | endif + autocmd TextYankPost * if v:event.operator is 'd' && v:event.regname is '' | execute 'OSCYankRegister +' | endif augroup END endif