Based on this gist
-
Install Sublime Text or Visual Studio Code
-
Configure text editor
2.1. Sublime Text
Create subl
command
# components/meetings/app/models/meetings/member.rb | |
class Meetings::Member < ApplicationRecord | |
def self.consume_confirmation(user_registration_identifier) | |
ApplicationRecord.transaction do | |
self.create!(identifier: user_registration_identifier) | |
Meetings::Outbox.create!( | |
event: 'MEMBER_CREATED_SUCCESS', | |
payload: { user_registration_identifier: self.identifier } | |
) | |
end |
[[language]] | |
name = "rust" | |
auto-format = true | |
[language.config.rust.inlayHints] | |
includeInlayEnumMemberValueHints = true | |
includeInlayFunctionLikeReturnTypeHints = true | |
includeInlayFunctionParameterTypeHints = true | |
includeInlayParameterNameHints = "all" # 'none' | 'literals' | 'all'; | |
includeInlayParameterNameHintsWhenArgumentMatchesName = true |
theme = "monokai_pro_mine" | |
[editor] | |
line-number = "relative" | |
mouse = false | |
[editor.cursor-shape] | |
insert = "bar" | |
normal = "block" | |
select = "underline" |
"ui.linenr.selected" = { bg = "base3" } | |
"ui.text.focus" = { fg = "yellow", modifiers= ["bold"] } | |
"ui.menu" = { fg = "base8", bg = "base3" } | |
"ui.menu.selected" = { fg = "base2", bg = "yellow" } | |
"ui.virtual.ruler" = { bg = "base1" } | |
"info" = "base8" | |
"hint" = "base8" | |
# background color |
{"version":1,"notes":"","documentation":"\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n","keyboard":"preonic/rev3","keymap":"preonic-hhkb-gaming-macos","layout":"LAYOUT_ortho_5x12","layers":[["KC_ESC","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_BSPC","KC_TAB","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_BSLS","KC_LCTL","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","LSFT_T(KC_CAPS)","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_UP","KC_SLSH","KC_LGUI","KC_GRV","LALT_T(KC_RALT)","MO(3)","KC_ENT","KC_ENT","KC_SPC","KC_SPC","MO(4)","KC_LEFT","KC_DOWN","K |
{"version":1,"notes":"","documentation":"\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n","keyboard":"preonic/rev3","keymap":"preonic-hhkb-gaming","layout":"LAYOUT_ortho_5x12","layers":[["KC_ESC","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_BSPC","KC_TAB","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_BSLS","KC_LCTL","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","LSFT_T(KC_CAPS)","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_UP","KC_SLSH","KC_LGUI","KC_GRV","LALT_T(KC_RALT)","MO(3)","KC_ENT","KC_ENT","KC_SPC","KC_SPC","MO(4)","KC_LEFT","KC_DOWN","KC_RGHT |
# set vi keys | |
setw -g mode-keys vi | |
set -g default-terminal "xterm" | |
# allow for colors | |
set -g default-terminal "screen-256color" | |
# set -g default-terminal "xterm-256color" | |
set -g status-style 'bg=colour236','fg=white' | |
# mouse Config |
BLACK:RED:GREEN:YELLOW:BLUE:PURPLE:CYAN:WHITE | |
#666666:#FF1E8E:#8EFF1E:#fffb00:#1E8EFF:#e500e5:#00e5e5:#e5e5e5 <- normal | |
#666666:#FF1E8E:#8EFF1E:#fffb00:#1E8EFF:#e500e5:#00e5e5:#e5e5e5 <- bold | |
#272822 <- background |
Based on this gist
Install Sublime Text or Visual Studio Code
Configure text editor
2.1. Sublime Text
Create subl
command