Skip to content

Commit

Permalink
feat: Add clipboard sync by default (nvim-lua#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
tudorjnu authored Feb 17, 2023
1 parent 27a6fc5 commit 4b92837
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ vim.wo.number = true
-- Enable mouse mode
vim.o.mouse = 'a'

-- Sync clipboard between OS and Neovim.
-- Remove this option if you want your OS clipboard to remain independent.
-- See `:help 'clipboard'`
vim.o.clipboard = 'unnamedplus'

-- Enable break indent
vim.o.breakindent = true

Expand Down

0 comments on commit 4b92837

Please sign in to comment.