aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/nuldoc
diff options
context:
space:
mode:
Diffstat (limited to 'services/nuldoc')
-rw-r--r--services/nuldoc/content/posts/2021-10-02/vim-swap-order-of-selected-lines.md2
-rw-r--r--services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines.md2
-rw-r--r--services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html2
3 files changed, 3 insertions, 3 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` コマンドなどの際に不便である。
diff --git a/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines.md b/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines.md
index b71bef0a..6f9afbd0 100644
--- a/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines.md
+++ b/services/nuldoc/public/blog/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` コマンドなどの際に不便である。
diff --git a/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html b/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html
index 8ca5cc8f..42a946c2 100644
--- a/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html
+++ b/services/nuldoc/public/blog/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html
@@ -176,7 +176,7 @@
<section id="section--problem-of-global-command">
<h2><a href="#section--problem-of-global-command"><code>:g/^/m0</code> の問題点</a></h2>
<p>
- <code>:global</code> コマンドは各行に対してマッチングを行う際、現在の検索パターンを上書きしてしまう。<code>^</code> は行の先頭にマッチするため、結果として全ての行がハイライトされてしまう。<code>&apos;hlsearch&apos;</code> オプションを無効にしている場合その限りではないが、その場合でも直前の検索パターンが失われてしまうと <code>n</code> コマンドなどの際に不便である。
+ <code>:global</code> コマンドは各行に対してマッチングをおこなう際、現在の検索パターンを上書きしてしまう。<code>^</code> は行の先頭にマッチするため、結果として全ての行がハイライトされてしまう。<code>&apos;hlsearch&apos;</code> オプションを無効にしている場合その限りではないが、その場合でも直前の検索パターンが失われてしまうと <code>n</code> コマンドなどの際に不便である。
</p>
<blockquote>
<p>