aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/nuldoc/content/posts/2021-10-02
diff options
context:
space:
mode:
Diffstat (limited to 'services/nuldoc/content/posts/2021-10-02')
-rw-r--r--services/nuldoc/content/posts/2021-10-02/vim-swap-order-of-selected-lines.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/nuldoc/content/posts/2021-10-02/vim-swap-order-of-selected-lines.md b/services/nuldoc/content/posts/2021-10-02/vim-swap-order-of-selected-lines.md
index b71bef0a..6f9afbd0 100644
--- a/services/nuldoc/content/posts/2021-10-02/vim-swap-order-of-selected-lines.md
+++ b/services/nuldoc/content/posts/2021-10-02/vim-swap-order-of-selected-lines.md
@@ -80,7 +80,7 @@ command! -bar -range=%
# `:g/^/m0` の問題点 {#problem-of-global-command}
`:global`
-コマンドは各行に対してマッチングを行う際、現在の検索パターンを上書きしてしまう。`^`
+コマンドは各行に対してマッチングをおこなう際、現在の検索パターンを上書きしてしまう。`^`
は行の先頭にマッチするため、結果として全ての行がハイライトされてしまう。`'hlsearch'`
オプションを無効にしている場合その限りではないが、その場合でも直前の検索パターンが失われてしまうと
`n` コマンドなどの際に不便である。