This post details some of the customizations I have made to some of the software I use in that hopes that it is helpful to others.

Table of Contents

Sublime Text

External Packages

Sublime Text has a great ecosystem of packages and plugins. First you need to install the package manager:

  • cmd + shift + p
  • Click on Install Package Control

image

Then you need to install packages with it

  • cmd + shift + p
  • Click on Package Control: Install Package

image

Package

Here are some packages that I like

  • https://packagecontrol.io/packages/FileDiffs

Tabs

I don’t like the way Sublime handles tabs, so I change it to make it more like Chrome. To do this, you’ll need to edit your key bindings. Here’s how you do that:

  • (Windows or Linux) Preferences -> Key Bindings
  • (Mac) Sublime Text -> Preferences -> Key Bindings

Then add this to the file:

{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }

Markdown Files

I don’t particularly like the way Sublime handles markdown files by default, so I change them. The exact menu location will depend on your operation system, but they’re not too different.

  • On a Mac, go into Preferences -> Settings -> Syntax Specific (Mac)
  • On Linux, go into Preferences -> Settings - Syntax Specific

png

add this:

{
	"color_scheme": "Monokai.sublime-color-scheme",
	"draw_centered": false,
	"line_numbers": true,
	"gutter": true,
}

Here’s another option:

{
	"color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme",
	"dictionary": "Packages/Language - English/en_US.dic",
	"ignored_packages":
	[
		"Markdown",
		"Vintage"
	],
	"line_numbers": true,
	"show_full_path": true,
	"spell_check": true,
	"theme": "Adaptive.sublime-theme"
}

I always install these extensions:

For theme I do adaptive

Color scheme is monokai-extended

You’ll want to make sure you used markdown-extended: View -> Syntax -> Markdown Extended but this only applies it to one file.

Terminator

I customize Terminator to make it more like iTerm2. To customize it, you’ll need to right click on the window then select “Preferences”. Then go into Keybindings. Here are some things I like to change:

  • close_term
  • new_window
  • split_horiz
  • split_vert

VSCode

I did the same thing with tabs in VSCode.

Make Tabs Work Like Chrome

I don’t like the default behavior of tab cycling in VSCode because it switches tabs in order of most recently used, which I never remember. I prefer it to work like tabbing in Chrome, which is far more intuitive to me. Fortunately, VSCode lets you customize this. To change this, you’ll need to edit your keybindings.json file like so:

  • Open Command Palette (cmd + shift + p on a Mac)
  • Search for “Preferences: Open Keyboard Shortcuts (JSON)”
  • Open the file and add this to the file:
    {
        "key": "ctrl+tab",
        "command": "workbench.action.nextEditorInGroup"
    },
    {
        "key": "ctrl+shift+tab",
        "command": "workbench.action.previousEditorInGroup"
    },

I have added other keybindings as well. My whole file looks like this:

[
    {
        "key": "ctrl+tab",
        "command": "workbench.action.nextEditorInGroup"
    },
    {
        "key": "ctrl+shift+tab",
        "command": "workbench.action.previousEditorInGroup"
    },
    {
        "key": "enter",
        "command": "acceptSelectedSuggestion",
        "when": "suggestWidgetVisible && textInputFocus"
    },
    {
        "key": "tab",
        "command": "-acceptSelectedSuggestion",
        "when": "suggestWidgetVisible && textInputFocus"
    },
]

png

The ones you’re look for are workbench.action.nextEditor and workbench.action.previousEditor.

Syncing Settings Across Multiple Computers

I usually sync the following:

image

I usually sync with my microsoft account, because I have different github accounts linked for different computers.

Cmder

You have to find your %CMDER_ROOT%. You can do this with echo %CMDER_ROOT%.

Go there and into config. It might be at C:\Users\Julius\Downloads\cmder\config

"C:\Users\Julius\Downloads\cmder\config\user_aliases.cmd"

It might start looking like:

;= @echo off
;= rem Call DOSKEY and use this file as the macrofile
;= %SystemRoot%\system32\doskey /listsize=1000 /macrofile=%0%
;= rem In batch mode, jump to the end of the file
;= goto:eof
;= Add aliases below here
e.=explorer .
gl=git log --oneline --all --graph --decorate  $*
ls=ls --show-control-chars -F --color $*
pwd=cd
clear=cls
history=cat "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"

You can add your stuff to the bottom like so:

cdh=cd "C:\Users\Julius\Documents\GitHub"

DataGrip

Execute Command

I find it’s easier to hot a hotkey that can easily be done with the left hand only. It also matches the default from Navicat, which is nice if you switch back and forth.

Go into Preferences -> Keymap and type in “execute” in the search bar. Then change Execute (2) from empty to command + R. This way you don’t have to disable shift + return.

image

That hotkey is already assigned to “Refresh”, but I remove it from there.

Note that you can also go into more detail with your Execute command in the Database -> Query Execution menu

image

Tabs

DataGrip also has a default tab process that I don’t like. Here’s how to update it to make it more like Chrome’s:

  • Go into Preferences -> Keymap and type in “switcher”.

image

  • Double click on the keyboard shortcut icons on the right and remove them. Remove both of them.

  • Type in “select tab” into the search and add the new commands to “Select Next Tab” and “Select Previous Tab” under Main Menu -> Window -> Editor Tabs

  • Note that you can’t just do the keyboard shortcut because it will think you are using tab to switch to the next box, so you have to click on the + on the right and select the appropriate hotkeys from the dropdown.

  • It should look like this in the end:

image

DBeaver

I also don’t like some of DBeaver’s defaults.

image

You can change, for example, the “Execute SQL Statement” by going into Window -> Preferences -> User Interface -> Keys. Then you can change it to Ctrl + R (Windows) to match your other database tools.

Karabiner Elements

Karabiner Elements is all about customization. I mainly use mine to make my experience across Mac, Linux, and Windows as seemless as possible.

  • I recommend use the Windows shortcuts on macOS
    • I use this to do a lot of thinks I like to do in Windows, like using control and the arrows to jump over words
    • I delete the shortcut that remaps command + tab because I like to keep that for switching between applications
  • Lots of useful things under complex rules