Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .config/nvim/lua/config/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ vim.opt.signcolumn = "yes" -- always show the signcolumn to minimize distraction
-- vim.cmd(":autocmd InsertLeave * set cul") -- Turn color back on when exiting insert mode
-- vim.cmd("set guicursor=i:block") -- Always use block cursor. In some terminals and fonts (like iTerm), it can be hard to see the cursor when it changes to a line.

-- Forces the OSC 52 clipboard provider. Needs a terminal emulator that
-- supports it (like iTerm, Alacritty). See :help clipboard-osc52 for details
vim.g.clipboard = 'osc52'

-- Copy all yanked/deleted lines to the "+" buffer. Useful when you want to use
-- the OS clipboard.
vim.cmd("set clipboard=unnamedplus")
8 changes: 6 additions & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Changelog
=========

2026-05-07
----------

**vim**

Color the cursorline in toggleterm terminal when it's not in insert mode. Gives
a visual reminder of when typing won't do what you expect.
- Color the cursorline in toggleterm terminal when it's not in insert mode.
Gives a visual reminder of when typing won't do what you expect.
- Configure OSC 52 globally in nvim so that yanked text goes to the system
clipboard, even on remote systems.


**setup**

Expand Down
Loading