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