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?

More than 1 year has passed since last update.

Sublime Text 設定の引き継ぎ

Posted at

前提

  • Mac OS X 10.15.7
  • Sublime Text Build 4143

サマリー

  • 基本的には、Packages/User/*.sublime-settings を移行する

手順

  • 移行元の設定ファイルを確認する
    • Finder から該当ディレクトリに移動する
      • command+shift+g~/Library/Application Support/Sublime Text 3/Packages/User/ を指定する
    • 設定ファイルを確認する
      • Package Control.sublime-settings
        • パッケージのインストール設定
      • Preferences.sublime-settings
        • 基本設定
      • [その他].sublime-settings
        • パッケージ毎の設定
  • 移行先で Package Control をインストールする
    • これだけは別途対応する必要がある
    • Ctrl + Shift + P > install
  • 上記ファイルを移行先にコピーする
    • 一度 Sublime を終了する
    • Package Control.sublime-settings をコピー後、起動する(と自動でインストールが行われる)
      • パッケージをインストールしたタイミングで設定が行われるケースがある
      • 意図せず設定が上書かれないよう、その他設定内容の移行前に済ませておく
    • 一度 Sublime を終了する
    • その他の *.sublime-settings をコピー後、起動する

設定内容

2022/11/29 時点の設定をメモしておく(良かったら参考にどうぞ)

Package Control.sublime-settings
{
	"bootstrapped": true,
	"in_process_packages":
	[
	],
	"installed_packages":
	[
		"10% Too Dull for My Tastes Color Scheme",
		"AlignTab",
		"All Autocomplete",
		"Babel",
		"BracketHighlighter",
		"Case Conversion",
		"ConvertToUTF8",
		"DataConverter",
		"DocBlockr",
		"ExpandRegion",
		"Git",
		"GitGutter",
		"Markdown Extended",
		"OmniMarkupPreviewer",
		"Package Control",
		"Pretty JSON",
		"RailsGoToSpec",
		"ReactJS",
		"rspec-snippets",
		"Ruby on Rails snippets",
		"SFTP",
		"SideBarEnhancements",
		"SublimeCodeIntel",
		"SublimeLinter",
		"SublimeLinter-rubocop",
		"SublimeLinter-ruby",
		"SyncedSideBar",
		"Terminal",
		"Terraform",
		"Theme - Spacegray",
		"Vintageous"
	],
}
Preferences.sublime-settings
{
	"always_show_minimap_viewport": true,
	"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme",
	"default_encoding": "UTF-8",
	"detect_indentation": false,
	"draw_minimap_border": true,
	"draw_white_space": "all",
	"fallback_encoding": "UTF-8",
	"folder_exclude_patterns":
	[
		".svn",
		".git",
		".hg",
		"CVS",
		".bundle",
		".*",
		"log",
		"node_modules"
	],
	"font_face": "Consolas",
	"font_size": 17,
	"highlight_line": true,
	"ignored_packages":
	[
		"ConvertToUTF8",
		"Vintage",
		"Vintageous",
	],
	"line_padding_top": 5,
	"save_on_focus_lost": true,
	"show_encoding": true,
	"show_line_endings": true,
	"spacegray_fileicons": true,
	"spacegray_sidebar_font_xlarge": true,
	"spacegray_sidebar_tree_xlarge": true,
	"spacegray_tabs_auto_width": true,
	"spacegray_tabs_font_xlarge": true,
	"spacegray_tabs_xlarge": true,
	"spell_check": false,
	"tab_size": 2,
	"theme": "Spacegray Eighties.sublime-theme",
	"translate_tabs_to_spaces": true,
	"trim_trailing_white_space_on_save": true,
	"word_wrap": true,
}
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?