diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/nvim/lua/init/01-options.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/init/01-options.lua b/.config/nvim/lua/init/01-options.lua index 14255ea..41f7e61 100644 --- a/.config/nvim/lua/init/01-options.lua +++ b/.config/nvim/lua/init/01-options.lua @@ -78,6 +78,10 @@ O.confirm = true -- Selecting text {{{1 O.clipboard = 'unnamed' +-- Prefer 'tmux' to 'wl-copy' or 'pbcopy' if in tmux. +if vim.env.tmux then + vim.g.clipboard = 'tmux' +end -- Editing text {{{1 |
