Use the os clipboard

This commit is contained in:
godalming123 2022-12-20 16:55:40 +00:00 committed by GitHub
parent 6dccf03fd2
commit b855260804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,9 @@ vim.api.nvim_create_autocmd('BufWritePost', {
-- [[ Setting options ]]
-- See `:help vim.o`
-- Use os clipboard
vim.cmd("set clipboard+=unnamedplus")
-- Set highlight on search
vim.o.hlsearch = false