Blog
Tools
Nvim & LazyVim
xclip

XClip으로 Mac 클립보드 접근

  • /etc/ssh/sshd_config 에 아래 라인 추가
	X11Forwarding yes
	X11DisplayOffset 10
	X11UseLocalhost yes
  • xquartz 설치
brew install --cask xquartz
  • XQuartz 3중 마우스 동작 모방하기 설정 On
  • XQuartz 붙이기 보드 설정
  • iTerm selection 설정
  • ssh 접속시 -Y 옵션 사용

Neovim에서 xclip 사용하기

  • lua/config/options.lua
-- Clipboard 안씀 -> XClip 사용
vim.opt.clipboard = "unnamedplus"