From f444b49e293bd0e3f4f7812a94752bf2cd7f8899 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Fri, 14 Jul 2023 13:24:40 +0900 Subject: [PATCH 1/2] update: ahk: add mh-u, mh-d for multi-line scroll, mh-n, mh-p for pgdn/up --- bin/windows/install_key_remaps.ps1 | 2 +- dotfiles/ahk/key_remaps.ahk | 42 +++++++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/bin/windows/install_key_remaps.ps1 b/bin/windows/install_key_remaps.ps1 index 1197205..bd9edd9 100644 --- a/bin/windows/install_key_remaps.ps1 +++ b/bin/windows/install_key_remaps.ps1 @@ -3,7 +3,7 @@ # change working directory to git root -Set-Location (Join-Path $PSScriptRoot "..") +Set-Location (Join-Path $PSScriptRoot "..\..") # set Ahk2Exe.exe path # example "C:\Program Files\AutoHotKey\Compiler\Ahk2Exe.exe" diff --git a/dotfiles/ahk/key_remaps.ahk b/dotfiles/ahk/key_remaps.ahk index 70722db..5cf690b 100644 --- a/dotfiles/ahk/key_remaps.ahk +++ b/dotfiles/ahk/key_remaps.ahk @@ -38,7 +38,7 @@ Send,{Blind}{Right} return ; Home,End,PgUp,PgDnの設定 -; a s d f +; a p n f ; Home PgUp PgDn End vk1D & a:: vk1C & a:: @@ -48,14 +48,48 @@ vk1D & f:: vk1C & f:: Send,{Blind}{End} return -vk1D & s:: -vk1C & s:: +vk1D & p:: +vk1C & p:: Send,{Blind}{PgUp} return +vk1D & n:: +vk1C & n:: +Send,{Blind}{PgDn} +return + +; Multi-Line Up/Down +; (experimental) +vk1D & u:: +vk1C & u:: +Send,{Blind}{Up 5} +return vk1D & d:: vk1C & d:: -Send,{Blind}{PgDn} +Send,{Blind}{Down 5} return +; vk1D & v:: +; vk1C & v:: +; Send,{Blind}{Down} +; Sleep, 1 +; Send,{Blind}{Down} +; Sleep, 1 +; Send,{Blind}{Down} +; Sleep, 1 +; Send,{Blind}{Down} +; Sleep, 1 +; Send,{Blind}{Down} +; Sleep, 1 +; return +; vk1D & b:: +; vk1C & b:: +; Send,{Blind}{Down down} +; Send,{Blind}{Down down} +; Send,{Blind}{Down down} +; Send,{Blind}{Down down} +; Send,{Blind}{Down down} +; Send,{Blind}{Down up} +; return + ; ========================================== ; include extra key remaps From 0d3209814a37cc8b67669712caf3c096c17d31c9 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Mon, 24 Jul 2023 09:12:57 +0900 Subject: [PATCH 2/2] update readme --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f9837b0..cfe1850 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,11 @@ my dotfiles - etc - Ubuntu 20.04 on WSL - fish -- Manjaro +- Arch/Manjaro - fish - tmux - neovim - - x11 keyboard config - - alacritty + - keyboard config(xremap) - wezterm ## extra @@ -29,16 +28,16 @@ my dotfiles 5. install [scoop](https://scoop.sh/) (see scoop website) 6. run `bin/install.ps1` +### note +* manual install lean + ## Linux 1. install fish -2. run install.fish +2. run install.sh # TODO - Iron.nvim doesn't work for julia on Windows - JET.nvim doesn't work on windows -- tree-sitter of lua doesn't work on windows - - checkhealth errors -- make install script for Linux - add rc files of Manjaro - raspi dotfiles