diff --git a/README.md b/README.md index 090124b..d74d0c3 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,10 @@ Searches are case insensitive.
- `prefix + ctrl-f` - simple *f*ile search - `prefix + ctrl-g` - jumping over *g*it status files (best used after `git status` command) -- `prefix + alt-h` - jumping over SHA-1 hashes (best used after `git log` command) +- `prefix + ctrl-a` - jumping over SH*A*-1 h*a*shes (best used after `git log` command) - `prefix + ctrl-u` - *u*rl search (http, ftp and git urls) - `prefix + ctrl-d` - number search (mnemonic d, as digit) -- `prefix + alt-i` - *i*p address search +- `prefix + ctrl-i` - *i*p address search These start "copycat mode" and jump to first match. diff --git a/scripts/variables.sh b/scripts/variables.sh index 82f8f7a..6e2e7a6 100644 --- a/scripts/variables.sh +++ b/scripts/variables.sh @@ -19,8 +19,8 @@ copycat_url_search_option="@copycat_url_search" default_digit_search_key="C-d" copycat_digit_search_option="@copycat_digit_search" -default_hash_search_key="M-h" +default_hash_search_key="C-a" copycat_hash_search_option="@copycat_hash_search" -default_ip_search_key="M-i" +default_ip_search_key="C-i" copycat_ip_search_option="@copycat_ip_search" diff --git a/test/helpers/expect_copycat_helpers.exp b/test/helpers/expect_copycat_helpers.exp index 6b16eb3..fa6aba2 100644 --- a/test/helpers/expect_copycat_helpers.exp +++ b/test/helpers/expect_copycat_helpers.exp @@ -25,8 +25,8 @@ proc tmux_ctrl_g {} { sleep 0.7 } -proc tmux_alt_h {} { - send "h" +proc tmux_ctrl_a {} { + send "" sleep 0.7 } diff --git a/test/test_git_hash_search.exp b/test/test_git_hash_search.exp index 5b7f726..f3f24a1 100755 --- a/test/test_git_hash_search.exp +++ b/test/test_git_hash_search.exp @@ -7,13 +7,13 @@ enter_test_git_repo # Match regular SHA-1 hashes #--------------------------- git_log_reverse -tmux_alt_h +tmux_ctrl_a assert_highlighted "935929c4c7265666e41e727f97a87d1af00a8b40" "match regular SHA-1 hashes" #Match shortened SHA-1 hashes #---------------------------- git_log_reverse_short -tmux_alt_h +tmux_ctrl_a assert_highlighted "935929c" "match shortened SHA-1 hashes" # quit