commit d51d11ac32d69d6b4b712d43202127aad4d1d82e parent b8bc9a0ff488325b4c9446fe7d17678bf4f824ea Author: Yohanes Bandung Bondowoso <hi@ybbond.dev> Date: Tue, 16 Jun 2020 19:44:43 +0700 update kitty config and add vscode settings Diffstat:
| M | .config/kitty/kitty.conf | | | 74 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| A | Library/Application Support/Code/User/settings.json | | | 245 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 319 insertions(+), 0 deletions(-)
diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf @@ -89,8 +89,12 @@ box_drawing_scale 0.001, 1, 1.5, 2 #: Cursor customization {{{ +# gruvbox-dark cursor #a89984 +# gruvbox-light +# cursor #928374 + #: Default cursor color cursor_text_color background @@ -465,6 +469,7 @@ tab_title_template {title} #: like: {index}: {title}. Useful if you have shortcuts mapped for #: goto_tab N. +# gruvbox-dark active_tab_background #282828 active_tab_foreground #d4be98 active_tab_font_style bold @@ -472,15 +477,28 @@ inactive_tab_background #282828 inactive_tab_foreground #a89984 inactive_tab_font_style normal +# gruvbox-light +# active_tab_background #fbf1c7 +# active_tab_foreground #654735 +# active_tab_font_style bold +# inactive_tab_background #fbf1c7 +# inactive_tab_foreground #7c6f64 +# inactive_tab_font_style normal + #: Tab bar colors and styles #: }}} #: Color scheme {{{ +# gruvbox-dark background #282828 foreground #d4be98 +# gruvbox-light +# background #fbf1c7 +# foreground #654735 + #: The foreground and background colors background_opacity 1.0 @@ -512,13 +530,21 @@ dim_opacity 0.75 #: How much to dim text that has the DIM/FAINT attribute set. One #: means no dimming and zero means fully dimmed (i.e. invisible). +# gruvbox-dark selection_foreground #282828 +# gruvbox-light +# selection_foreground #fbf1c7 + #: The foreground for text selected with the mouse. A value of none #: means to leave the color unchanged. +# gruvbox-dark selection_background #d4be98 +# gruvbox-light +# selection_background #654735 + #: The background for text selected with the mouse. @@ -527,37 +553,85 @@ selection_background #d4be98 #: the 256 color table as color16 to color255. # Black + +# gruvbox-dark color0 #665c54 color8 #928374 +# gruvbox-light +# color0 #bdae93 +# color8 #928374 + # Red + +# gruvbox-dark color1 #ea6962 color9 #ea6962 +# gruvbox-light +# color1 #c14a4a +# color9 #c14a4a + # Green + +# gruvbox-dark color2 #a9b665 color10 #a9b665 +# gruvbox-light +# color2 #6c782e +# color10 #6c782e + # Yellow + +# gruvbox-dark color3 #e78a4e color11 #d8a657 +# gruvbox-light +# color3 #c35e0a +# color11 #b47109 + # Blue + +# gruvbox-dark color4 #7daea3 color12 #7daea3 +# gruvbox-light +# color4 #45707a +# color12 #45707a + # Magenta + +# gruvbox-dark color5 #d3869b color13 #d3869b +# gruvbox-light +# color5 #945e80 +# color13 #945e80 + # Cyan + +# gruvbox-dark color6 #89b482 color14 #89b482 +# gruvbox-light +# color6 #4c7a5d +# color14 #4c7a5d + # White + +# gruvbox-dark color7 #d4be98 color15 #d4be98 +# gruvbox-light +# color7 #654735 +# color15 #654735 + #: }}} #: Advanced {{{ diff --git a/Library/Application Support/Code/User/settings.json b/Library/Application Support/Code/User/settings.json @@ -0,0 +1,244 @@ +{ + "flow.useNPMPackagedFlow": true, + "flow.pathToFlow": "${workspaceRoot}/node_modules/.bin/flow", + // BEGIN NOTE: since update vscode on 19/Dec/2018, this should be added. + "flow.useLSP": false, + // END NOTE: + "flow.coverageSeverity": "error", + "javascript.validate.enable": false, + "diffEditor.renderSideBySide": true, + "editor.acceptSuggestionOnCommitCharacter": false, + "editor.acceptSuggestionOnEnter": "off", + "editor.dragAndDrop": false, + // "editor.fontFamily": "Liga Cartograph Mono CF", + "editor.fontLigatures": true, + "editor.fontSize": 14, + "editor.highlightActiveIndentGuide": false, + "editor.lineNumbers": "relative", + "editor.matchBrackets": "always", + "editor.renderIndentGuides": false, + "editor.tabCompletion": "on", + "editor.tabSize": 2, + // "editor.formatOnSave": true, + "eslint.alwaysShowStatus": true, + // "eslint.autoFixOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, + "editor.suggestSelection": "first", + "bracket-pair-colorizer-2.colors": [ + "white" + ], + "bracket-pair-colorizer-2.highlightActiveScope": true, + "bracket-pair-colorizer-2.showBracketsInGutter": true, + "bracket-pair-colorizer-2.scopeLineCSS": [ + "borderStyle : solid", + "borderWidth : 1px", + "borderColor : white", + "opacity: 0.4" + ], + "search.quickOpen.includeSymbols": true, + "search.showLineNumbers": true, + "workbench.colorTheme": "Gruvbox Dark (Medium)", + "workbench.editor.enablePreviewFromQuickOpen": false, + "workbench.list.automaticKeyboardNavigation": false, + "editor.tokenColorCustomizations": { + "textMateRules": [ + { + "scope": "punctuation.definition.tag.jsx", + "settings": { + "foreground": "#00fff2" + } + } + ] + }, + "vim.cursorStylePerMode.insert": "line", + "vim.easymotionMarkerBackgroundColor": "white", + "vim.easymotionMarkerFontFamily": "arial", + "vim.easymotionMarkerForegroundColorOneChar": "black", + "vim.easymotionMarkerForegroundColorTwoChar": "black", + "vim.easymotionMarkerHeight": 20, + "vim.easymotionMarkerWidthPerChar": 12, + "vim.easymotionMarkerFontWeight": "bold", + "vim.easymotionKeys": "hkyuopnmwezxcvbasdgf", + "vim.easymotionMarkerYOffset": -4, + "vim.enableNeovim": true, + "vim.highlightedyank.enable": true, + "vim.replaceWithRegister": true, + "vim.hlsearch": true, + "vim.incsearch": true, + "vim.neovimPath": "/usr/local/bin/nvim", + "vim.searchHighlightColor": "rgba(150, 150, 255, 0.3)", + "vim.visualstar": true, + "vim.insertModeKeyBindings": [ + { + "before": [ + "j", + "k" + ], + "after": [ + "<Esc>" + ] + } + ], + "vim.normalModeKeyBindingsNonRecursive": [ + { + "before": [ + "&" + ], + "after": [ + "#" + ] + }, + { + "before": [ + "]", + "c" + ], + "after": [], + "commands": [ + { + "command": "workbench.action.editor.nextChange", + "args": [] + } + ] + }, + { + "before": [ + "[", + "c" + ], + "after": [], + "commands": [ + { + "command": "workbench.action.editor.previousChange", + "args": [] + } + ] + }, + { + "before": [ + "[", + "C" + ], + "after": [], + "commands": [ + { + "command": "workbench.action.compareEditor.previousChange", + "args": [] + }, + { + "command": "editor.action.dirtydiff.previous", + "args": [] + } + ] + }, + { + "before": [ + "]", + "C" + ], + "after": [], + "commands": [ + { + "command": "workbench.action.compareEditor.nextChange", + "args": [] + }, + { + "command": "editor.action.dirtydiff.next", + "args": [] + } + ] + }, + { + "before": [ + "u" + ], + "after": [], + "commands": [ + { + "command": "undo", + "args": [] + } + ] + }, + { + "before": [ + "<C-r>" + ], + "after": [], + "commands": [ + { + "command": "redo", + "args": [] + } + ] + }, + { + "before": [ + "<leader>", + "<space>" + ], + "commands": [ + ":nohl" + ] + }, + { + "before": [ + "Q" + ], + "after": [ + "<leader>", + "<leader>", + "<leader>", + "j" + ] + } + ], + "vim.visualModeKeyBindingsNonRecursive": [ + { + "before": [ + "p" + ], + "after": [ + "p", + "g", + "v", + "y" + ] + } + ], + "workbench.colorCustomizations": { + "statusBar.background": "#333333", + "statusBar.noFolderBackground": "#333333", + "statusBar.debuggingBackground": "#333333", + "editor.selectionBackground": "#333333", + "editor.selectionBorder": "#ffffffbb", + "editor.selectionHighlightBackground": "#4f4e4e", + "editor.selectionHighlightBorder": "#ffffffbb" + }, + "typescript.updateImportsOnFileMove.enabled": "always", + "gitlens.views.repositories.location": "scm", + "gitlens.views.fileHistory.location": "scm", + "gitlens.views.lineHistory.location": "scm", + "gitlens.views.search.location": "scm", + "gitlens.views.compare.location": "scm", + "editor.fontFamily": "IBM Plex Mono, Hermit, Victor Mono, Liga Cartograph Mono CF, Menlo, Monaco, 'Courier New', monospace", + "editor.minimap.showSlider": "always", + "editor.minimap.maxColumn": 100, + "editor.renderWhitespace": "selection", + "editor.renderLineHighlight": "all", + "editor.renderFinalNewline": false, + "editor.cursorSurroundingLines": 5, + "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", + "editor.codeLens": false, + "window.zoomLevel": -1, + "window.titleBarStyle": "native", + "[markdown]": { + "editor.wordWrap": "on", + "editor.quickSuggestions": true + }, + "editor.minimap.enabled": true, + "workbench.sideBar.location": "right", + "vim.cursorStylePerMode.replace": "underline" +}+ \ No newline at end of file