Revert "Revert "nvim: init: Drop tmux configuration for copying to system clipboard""

This reverts commit 2d17a75972.
This commit is contained in:
Sanchayan Maity 2023-01-14 13:58:57 +05:30
parent b31f41f8cb
commit b249fdefcc
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -72,20 +72,6 @@ vim.g.matchup_surround_enabled = 1
-- textobj-word-column
vim.g.textobj_wordcolumn_no_default_key_mappings = 1
-- See :help clipboard and https://github.com/neovim/neovim/issues/14545
vim.g.clipboard = {
name = "tmux",
copy = {
["+"] = "tmux load-buffer -w -",
["*"] = "tmux load-buffer -w -"
},
paste = {
["+"] = "tmux save-buffer -",
["*"] = "tmux save-buffer -"
},
cache_enabled = true
}
-- No default mappings for tmux navigator
vim.g.tmux_navigator_no_mappings = 1
-- Write the current buffer, but only if changed before navigating from Vim to tmux pane