From 9ef81b67852b77b3072504731eb4aaef78821296 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 22 Apr 2022 11:50:12 +0300 Subject: [PATCH] fix(prog/nvim): system clipboard --- nix/home.nix | 3 ++- programs/nvim/init.vim | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/home.nix b/nix/home.nix index 91659de..e699e76 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -41,7 +41,8 @@ in home.stateVersion = "21.11"; home.packages = with pkgs; [ - # system ui + # system + xclip # access x clipboard from a console dmenu # menu for x window system flameshot # powerful yet simple to use screenshot software diff --git a/programs/nvim/init.vim b/programs/nvim/init.vim index 45d3aec..aa84a43 100644 --- a/programs/nvim/init.vim +++ b/programs/nvim/init.vim @@ -4,6 +4,7 @@ let g:maplocalleader = '-' syntax enable filetype plugin indent on +set clipboard+=unnamedplus set encoding=utf-8 set autoindent set smartindent