6 Achegas 4f76641308 ... 9a790fd785

Autor SHA1 Mensaxe Data
  raylu 9a790fd785 macos tweaks %!s(int64=3) %!d(string=hai) anos
  raylu dc3b6401cd vscode hai 3 semanas
  raylu 1fa9ff5be2 htop hai 3 semanas
  raylu 1c45c64f4a kitty: open hyperlinks in vscode hai 3 semanas
  raylu 2aa852544d kitty: use alt as kitty_mod, disable alt+f/b hai 2 meses
  raylu 4f76641308 macos tweaks %!s(int64=3) %!d(string=hai) anos
Modificáronse 4 ficheiros con 189 adicións e 20 borrados
  1. 178 14
      config/Code/User/settings.json
  2. 5 4
      config/htop/htoprc
  3. 5 1
      config/kitty/kitty.conf
  4. 1 1
      config/kitty/open-actions.conf

+ 178 - 14
config/Code/User/settings.json

@@ -1,14 +1,178 @@
-{
-	"window.zoomLevel": 0,
-	"window.menuBarVisibility": "toggle",
-	"editor.insertSpaces": false,
-	"editor.wordWrapColumn": 100,
-	"files.insertFinalNewline": true,
-	"vim.disableAnnoyingNeovimMessage": true,
-	"vim.otherModesKeyBindingsNonRecursive": [
-		{
-			"before": ["-"],
-			"after": ["$"]
-		}
-	]
-}
+{
+    "claudeCode.preferredLocation": "panel",
+    "codeium.enableCodeLens": false,
+    "cody.codeActions.enabled": false,
+    "cody.commandHints.enabled": false,
+    "catppuccin.extraBordersEnabled": true,
+    "catppuccin.italicComments": false,
+    "catppuccin.italicKeywords": false,
+    "chat.agent.sandbox.enabled": "on",
+    "chat.agent.sandbox.network.allowNetwork": true,
+    "chat.tools.urls.autoApprove": {
+        "https://code.visualstudio.com": true,
+        "https://github.com/microsoft/vscode/wiki/*": true,
+        "https://developers.cloudflare.com/sandbox/*": true,
+        "https://platform.claude.com": true,
+        "https://docs.cloud.google.com": true
+    },
+    "chat.viewSessions.orientation": "stacked",
+    "dev.containers.dockerPath": "podman",
+    "editor.autoClosingBrackets": "never",
+    "editor.autoClosingQuotes": "never",
+    "editor.cursorBlinking": "solid",
+    "editor.fontFamily": "Inconsolata, 'InconsolataGo Nerd Font Mono', Consolas, monospace",
+    "editor.fontSize": 14,
+    "editor.inlineSuggest.suppressSuggestions": true,
+	"editor.insertSpaces": true,
+    "editor.minimap.enabled": false,
+    "editor.renderFinalNewline": "dimmed",
+    "editor.rulers": [120],
+    "editor.unicodeHighlight.allowedCharacters": {
+        "×": true
+    },
+    "editor.wordWrap": "on",
+    "eslint.useFlatConfig": true,
+    "eslint.rules.customizations": [
+        {"rule": "*", "severity": "downgrade"},
+    ],
+    "files.enableTrash": false,
+    "files.insertFinalNewline": true,
+    "files.simpleDialog.enable": true,
+    "foldOnOpen.targets": [
+        "Level1"
+    ],
+    "git.enabled": false,
+    "git.ignoreMissingGitWarning": true,
+    "git.openRepositoryInParentFolders": "never",
+    "github.copilot.chat.claudeAgent.enabled": false,
+    "github.copilot.chat.tools.memory.enabled": false,
+    "github.copilot.nextEditSuggestions.enabled": true,
+    "go.toolsManagement.autoUpdate": true,
+    "godot_tools.gdscript_lsp_server_port": 6005,
+    "html.autoClosingTags": false,
+    "html.autoCreateQuotes": false,
+    "json.schemaDownload.trustedDomains": {
+        "https://schemastore.azurewebsites.net/": true,
+        "https://raw.githubusercontent.com/": true,
+        "https://www.schemastore.org/": true,
+        "https://json.schemastore.org/": true,
+        "https://json-schema.org/": true,
+        "https://biomejs.dev": true
+    },
+    "js/ts.experimental.useTsgo": true,
+    "js/ts.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
+    "js/ts.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
+    "js/ts.preferences.preferTypeOnlyAutoImports": true,
+    "keyboard.dispatch": "keyCode",
+    "openInGitHub.alwaysUseDefaultBranch": true,
+    "openInGitHub.defaultBranch": "main",
+    "outline.collapseItems": "alwaysCollapse",
+    "python.analysis.autoImportCompletions": true,
+    "python.analysis.enableParallelIndexing": true,
+    "python.analysis.languageServerBackend": "rust",
+    "python.analysis.typeCheckingMode": "standard",
+    "python.languageServer": "Default",
+    "redhat.telemetry.enabled": true,
+    "remote.autoForwardPortsSource": "hybrid",
+    "remote.SSH.remotePlatform": {
+        "xis": "linux",
+        "eon.raylu.net": "linux"
+    },
+    "rust-analyzer.inlayHints.closingBraceHints.enable": false,
+    "rust-analyzer.inlayHints.chainingHints.enable": false,
+    "rust-analyzer.inlayHints.parameterHints.enable": false,
+    "rust-analyzer.inlayHints.typeHints.enable": false,
+    "rust-analyzer.lens.enable": false,
+    "rust-analyzer.testExplorer": true,
+    "security.promptForLocalFileProtocolHandling": false,
+    "settingsSync.ignoredExtensions": [
+        "runem.lit-plugin",
+        "antfu.browse-lite",
+        "ms-vscode.powershell",
+        "ms-vscode-remote.remote-wsl",
+        "prisma.prisma",
+        "vitest.explorer",
+        "xmlui.xmlui-vscode"
+    ],
+    "settingsSync.ignoredSettings": [
+        "keyboard.dispatch",
+        "update.mode"
+    ],
+    "svelte.enable-ts-plugin": true,
+    "tailwindCSS.lint.suggestCanonicalClasses": "ignore",
+    "telemetry.telemetryLevel": "error",
+    "terminal.integrated.shellIntegration.enabled": false,
+    "ty.inlayHints.callArgumentNames": false,
+    "ty.inlayHints.variableTypes": false,
+    "update.mode": "manual",
+    "vim.handleKeys": {
+        "<C-p>": false,
+    },
+    "vim.hlsearch": true,
+    "vim.foldfix": true,
+    "vim.normalModeKeyBindings": [
+        {
+            "before": [ "-" ],
+            "after": [ "$" ]
+        },
+        {
+            "before": [ "H" ],
+            "after": [ "z", "a" ]
+        },
+        {
+            "before": ["_"],
+            "after": ["c", "t", "_"]
+        }
+	],
+    "vim.operatorPendingModeKeyBindings": [
+        {
+            "before": [ "-" ],
+            "after": [ "$" ]
+        }
+    ],
+    "vim.visualModeKeyBindings": [
+        {
+            "before": [ "-" ],
+            "after": [ "$" ]
+        }
+    ],
+    "vim.wrapscan": false,
+    "window.zoomLevel": 0,
+    "workbench.activityBar.location": "top",
+    "workbench.colorTheme": "Catppuccin Mocha",
+    "workbench.editor.enablePreview": false,
+    "workbench.editor.tabActionCloseVisibility": false,
+    "workbench.editor.showTabs": "none",
+    "workbench.startupEditor": "none",
+    "yaml.disableSchemaDetection": [
+        "**/.github/workflows/*.yml",
+        "**/.github/workflows/*.yaml",
+        "**/.gitea/workflows/*.yml",
+        "**/.gitea/workflows/*.yaml",
+        "**/.forgejo/workflows/*.yml",
+        "**/.forgejo/workflows/*.yaml"
+    ],
+    "[dockercompose]": {
+        "editor.insertSpaces": true,
+        "editor.tabSize": 2,
+        "editor.autoIndent": "advanced",
+        "editor.quickSuggestions": {
+            "other": true,
+            "comments": false,
+            "strings": true
+        },
+        "editor.defaultFormatter": "redhat.vscode-yaml"
+    },
+    "[github-actions-workflow]": {
+        "editor.defaultFormatter": "redhat.vscode-yaml"
+    },
+    "[jsonc]": {
+        "editor.defaultFormatter": "vscode.json-language-features"
+    },
+    "[python]": {
+        "editor.formatOnType": true,
+    },
+    "[typescript]": {
+        "editor.defaultFormatter": "vscode.typescript-language-features"
+    },
+}

+ 5 - 4
config/htop/htoprc

@@ -34,6 +34,7 @@ color_scheme=0
 enable_mouse=1
 delay=15
 hide_function_bar=0
+topology_affinity=0
 header_layout=two_50_50
 column_meters_0=Hostname LeftCPUs2 Memory Swap
 column_meter_modes_0=2 1 1 1
@@ -41,18 +42,18 @@ column_meters_1=Uptime RightCPUs2 Tasks DiskIO NetworkIO
 column_meter_modes_1=2 1 2 2 2
 tree_view=0
 sort_key=46
-tree_sort_key=0
+tree_sort_key=46
 sort_direction=-1
-tree_sort_direction=1
+tree_sort_direction=-1
 tree_view_always_by_pid=0
 all_branches_collapsed=0
 screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command
 .sort_key=PERCENT_CPU
-.tree_sort_key=PID
+.tree_sort_key=PERCENT_CPU
 .tree_view_always_by_pid=0
 .tree_view=0
 .sort_direction=-1
-.tree_sort_direction=1
+.tree_sort_direction=-1
 .all_branches_collapsed=0
 screen:I/O=PID USER Command
 .sort_key=PID

+ 5 - 1
config/kitty/kitty.conf

@@ -1142,7 +1142,7 @@ linux_display_server auto
 
 #:     map ctrl+f>2 set_font_size 20
 
-kitty_mod super
+kitty_mod alt
 
 #: The value of kitty_mod is used as the modifier for all default
 #: shortcuts, you can change it in your kitty.conf to change the
@@ -1280,6 +1280,8 @@ map kitty_mod+shift+enter new_window
 # map kitty_mod+8 eighth_window
 # map kitty_mod+9 ninth_window
 # map kitty_mod+0 tenth_window
+map kitty_mod+f
+map kitty_mod+b
 map kitty_mod+shift+j move_window_forward
 map kitty_mod+shift+k move_window_backward
 map kitty_mod+h neighboring_window left
@@ -1297,6 +1299,8 @@ map kitty_mod+l neighboring_window right
 # map kitty_mod+.     move_tab_forward
 # map kitty_mod+,     move_tab_backward
 # map kitty_mod+alt+t set_tab_title
+map super+t new_tab
+map ctrl+shift+t new_tab
 
 #: You can also create shortcuts to go to specific tabs, with 1 being
 #: the first tab, 2 the second tab and -1 being the previously active

+ 1 - 1
config/kitty/open-actions.conf

@@ -4,4 +4,4 @@ mime image/*
 action launch --type=overlay kitty +kitten icat --hold ${FILE_PATH}
 
 protocol file
-action send_text normal ${FILE_PATH}
+action launch --type=background open "vscode://file/${FILE_PATH}"