From abc10438050470f7d6f844977b5d0eb8eafcefb0 Mon Sep 17 00:00:00 2001 From: moons-14 Date: Mon, 16 Mar 2026 18:31:13 +0900 Subject: [PATCH] nixvim: add osc52 clipboard and arrow key window navigation Co-Authored-By: Claude Sonnet 4.6 --- modules/home/nixvim/keymaps.nix | 4 ++++ modules/home/nixvim/options.nix | 1 + 2 files changed, 5 insertions(+) diff --git a/modules/home/nixvim/keymaps.nix b/modules/home/nixvim/keymaps.nix index b21b83b..ed08bbe 100644 --- a/modules/home/nixvim/keymaps.nix +++ b/modules/home/nixvim/keymaps.nix @@ -63,6 +63,10 @@ in { (mk "" "j" "下のウィンドウへ") (mk "" "k" "上のウィンドウへ") (mk "" "l" "右のウィンドウへ") + (mk "" "h" "左のウィンドウへ") + (mk "" "j" "下のウィンドウへ") + (mk "" "k" "上のウィンドウへ") + (mk "" "l" "右のウィンドウへ") # Buffer Bar (mk "[b" "BufferPrevious" "前のバッファーに移動") diff --git a/modules/home/nixvim/options.nix b/modules/home/nixvim/options.nix index 889b2f9..5f7c3e4 100644 --- a/modules/home/nixvim/options.nix +++ b/modules/home/nixvim/options.nix @@ -44,6 +44,7 @@ globals = { mapleader = " "; maplocalleader = " "; + clipboard = "osc52"; }; }; }