0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【随時更新】サクラエディタのショートカット & よく使う置換まとめ(自分用メモ)

Posted at

はじめに

サクラエディタで頻繁に使う操作や置換パターンを、自分用メモとしてまとめています。必要に応じて追記予定。


行頭に文字を追加する

  1. メニューから「検索」>「置換」を選択
  2. 以下のように設定:
    • 置換前: ^
    • 置換後: 任意の文字列(例://
    • 「正規表現」にチェックを入れる
  3. 「すべて置換」をクリック
  4. 完了!

各行の末尾に文字を追加する

  1. 「検索」>「置換」を開く
  2. 以下のように設定:
    • 置換前: $
    • 置換後: 任意の文字列(例:,
    • 「正規表現」にチェックを入れる
  3. 「すべて置換」をクリック
  4. 完了!

重複行を削除する(ソート付き)

※最終行に空行があるとうまくいきやすいです。

  1. Ctrl + A:すべて選択
  2. Alt + A:昇順ソート(降順は Alt + D)
  3. Alt + M:重複行を削除
  4. 完了!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?