From fea49b3fb6b4d4a6b5a95c059d8e4afcb4ded5cb Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sun, 25 Feb 2024 14:06:45 +0100 Subject: clipboard --- mut/neovim/fnl/conf/init.fnl | 2 ++ mut/neovim/fnl/conf/settings.fnl | 1 - profiles/core/home.nix | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mut/neovim/fnl/conf/init.fnl b/mut/neovim/fnl/conf/init.fnl index 3475c52..53e82df 100644 --- a/mut/neovim/fnl/conf/init.fnl +++ b/mut/neovim/fnl/conf/init.fnl @@ -10,6 +10,8 @@ (require :conf.diagnostic) (require :conf.events) +(vim.opt.clipboard:append [:unnamedplus]) + (tset _G :P (lambda [...] (let [inspected (icollect [_ v (ipairs [...])] (vim.inspect v))] diff --git a/mut/neovim/fnl/conf/settings.fnl b/mut/neovim/fnl/conf/settings.fnl index 54a9959..bc01181 100644 --- a/mut/neovim/fnl/conf/settings.fnl +++ b/mut/neovim/fnl/conf/settings.fnl @@ -70,6 +70,5 @@ ; winbar "%=%m %f" winbar "" hlsearch off - clipboard "" showtabline 0 cmdheight 1) diff --git a/profiles/core/home.nix b/profiles/core/home.nix index df60ec6..c27ee4a 100644 --- a/profiles/core/home.nix +++ b/profiles/core/home.nix @@ -8,7 +8,6 @@ programs.tmux = let config = '' set-option -g default-shell ${pkgs.bashInteractive}/bin/bash - set -g allow-passthrough set -g status off set -s set-clipboard on setw -g mouse on -- cgit v1.2.3