mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
chore(cursor): various settings tweaks
This commit is contained in:
@@ -26,12 +26,25 @@
|
|||||||
"editor.semanticHighlighting.enabled": true,
|
"editor.semanticHighlighting.enabled": true,
|
||||||
"editor.minimap.enabled": true,
|
"editor.minimap.enabled": true,
|
||||||
"editor.minimap.showSlider": "always",
|
"editor.minimap.showSlider": "always",
|
||||||
|
"workbench.editor.highlightModifiedTabs": true,
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Diffs
|
// Explorer
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
//
|
//
|
||||||
"diffEditor.ignoreTrimWhitespace": false,
|
"explorer.sortOrder": "mixed",
|
||||||
|
//
|
||||||
|
// ===========================================================================
|
||||||
|
// Files
|
||||||
|
// ===========================================================================
|
||||||
|
//
|
||||||
|
"files.associations": {
|
||||||
|
"gitconfig": "gitconfig",
|
||||||
|
"gitignore": "gitignore"
|
||||||
|
},
|
||||||
|
"files.insertFinalNewline": true,
|
||||||
|
"files.trimFinalNewlines": true,
|
||||||
|
"files.trimTrailingWhitespace": true,
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Git
|
// Git
|
||||||
@@ -40,12 +53,10 @@
|
|||||||
"git.blame.editorDecoration.enabled": false,
|
"git.blame.editorDecoration.enabled": false,
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Files
|
// Diffs
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
//
|
//
|
||||||
"files.trimTrailingWhitespace": true,
|
"diffEditor.ignoreTrimWhitespace": false,
|
||||||
"files.insertFinalNewline": true,
|
|
||||||
"files.trimFinalNewlines": true,
|
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Cursor
|
// Cursor
|
||||||
@@ -79,7 +90,7 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Awesome Emacs Keybindings
|
// Awesome Emacs Keybindings
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Extension URL:
|
// Extension:
|
||||||
// - https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx
|
// - https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx
|
||||||
//
|
//
|
||||||
"emacs-mcx.emacsLikeTab": false, // Done via custom keybinding instead.
|
"emacs-mcx.emacsLikeTab": false, // Done via custom keybinding instead.
|
||||||
@@ -89,7 +100,7 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// File Browser
|
// File Browser
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Extension URL:
|
// Extension:
|
||||||
// - https://marketplace.visualstudio.com/items?itemName=bodil.file-browser
|
// - https://marketplace.visualstudio.com/items?itemName=bodil.file-browser
|
||||||
//
|
//
|
||||||
"file-browser.hideDotfiles": false,
|
"file-browser.hideDotfiles": false,
|
||||||
@@ -98,7 +109,7 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Project Manager
|
// Project Manager
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Extension URL:
|
// Extension:
|
||||||
// - https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager
|
// - https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager
|
||||||
//
|
//
|
||||||
"projectManager.git.baseFolders": [
|
"projectManager.git.baseFolders": [
|
||||||
@@ -165,12 +176,20 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Mise (https://mise.jdx.dev/)
|
// Mise (https://mise.jdx.dev/)
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Extension URL:
|
// Extension:
|
||||||
// - https://marketplace.visualstudio.com/items?itemName=hverlin.mise-vscode
|
// - https://marketplace.visualstudio.com/items?itemName=hverlin.mise-vscode
|
||||||
//
|
//
|
||||||
"mise.updateOpenTerminalsEnvAutomatically": true,
|
"mise.updateOpenTerminalsEnvAutomatically": true,
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Hex editor
|
||||||
|
// ===========================================================================
|
||||||
|
// Extension:
|
||||||
|
// - https://marketplace.visualstudio.com/items?itemName=ms-vscode.hexeditor
|
||||||
|
//
|
||||||
|
"workbench.editor.defaultBinaryEditor": "hexEditor.hexedit",
|
||||||
|
//
|
||||||
|
// ===========================================================================
|
||||||
// Go
|
// Go
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Extensions:
|
// Extensions:
|
||||||
@@ -245,6 +264,8 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Shellscript
|
// Shellscript
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extensions:
|
||||||
|
// - https://marketplace.visualstudio.com/items?itemName=foxundermoon.shell-format
|
||||||
//
|
//
|
||||||
"[shellscript]": {
|
"[shellscript]": {
|
||||||
"editor.tabSize": 2,
|
"editor.tabSize": 2,
|
||||||
@@ -258,6 +279,8 @@
|
|||||||
"editor.tabSize": 2,
|
"editor.tabSize": 2,
|
||||||
"editor.insertSpaces": true
|
"editor.insertSpaces": true
|
||||||
},
|
},
|
||||||
|
"shellformat.useEditorConfig": true,
|
||||||
|
"shellformat.flag": "-i 2 -ci -sr",
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// YAML
|
// YAML
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
@@ -270,13 +293,16 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Makefile
|
// Makefile
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extensions:
|
||||||
|
// - https://marketplace.visualstudio.com/items?itemName=carlos-algms.make-task-provider
|
||||||
//
|
//
|
||||||
"makefile.configureOnOpen": false,
|
"makefile.configureOnOpen": false,
|
||||||
|
"make-task-provider.telemetry": false,
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// vscode-color-picker
|
// vscode-color-picker
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Extension URL:
|
// Extension:
|
||||||
// - https://marketplace.visualstudio.com/items?itemName=AntiAntiSepticeye.vscode-color-picker
|
// - https://marketplace.visualstudio.com/items?itemName=AntiAntiSepticeye.vscode-color-picker
|
||||||
//
|
//
|
||||||
"vscode-color-picker.languages": [
|
"vscode-color-picker.languages": [
|
||||||
@@ -299,7 +325,7 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Run on Save callbacks
|
// Run on Save callbacks
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Extension URL:
|
// Extension:
|
||||||
// - https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave
|
// - https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave
|
||||||
//
|
//
|
||||||
"emeraldwalk.runonsave": {
|
"emeraldwalk.runonsave": {
|
||||||
@@ -314,10 +340,24 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Macros
|
// Macros
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Extension URL:
|
// Extension:
|
||||||
// - https://marketplace.visualstudio.com/items?itemName=ctf0.macros
|
// - https://marketplace.visualstudio.com/items?itemName=ctf0.macros
|
||||||
//
|
//
|
||||||
"macros.list": {
|
"macros.list": {
|
||||||
|
//
|
||||||
|
// cycleSpacing is a basic emulation Emacs' built-in cycle-spacing command.
|
||||||
|
// It doesn't actually cycle spacing, but it performs the first step which
|
||||||
|
// is to replace all spacing surrounding the cursor with a single space.
|
||||||
|
//
|
||||||
|
"cycleSpacing": [
|
||||||
|
"emacs-mcx.deleteHorizontalSpace",
|
||||||
|
{
|
||||||
|
"command": "type",
|
||||||
|
"args": {
|
||||||
|
"text": " "
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
//
|
//
|
||||||
// Run test macros which re-focus back into the editor after being
|
// Run test macros which re-focus back into the editor after being
|
||||||
// triggered. The test commands changes focus to the Test Results panel, and
|
// triggered. The test commands changes focus to the Test Results panel, and
|
||||||
@@ -329,18 +369,6 @@
|
|||||||
// back into the editor. Without the delay the focus commands runs before
|
// back into the editor. Without the delay the focus commands runs before
|
||||||
// Test Results appear and steal focus.
|
// Test Results appear and steal focus.
|
||||||
//
|
//
|
||||||
"cycleSpacing": [
|
|
||||||
// This is a basic emulation Emacs' built-in cycle-spacing command. It
|
|
||||||
// doesn't actually cycle spacing, but it performs the first step which is
|
|
||||||
// to replace all spacing surrounding the cursor with a single space.
|
|
||||||
"emacs-mcx.deleteHorizontalSpace",
|
|
||||||
{
|
|
||||||
"command": "type",
|
|
||||||
"args": {
|
|
||||||
"text": " "
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"runTestCurrentFile": [
|
"runTestCurrentFile": [
|
||||||
"testing.runCurrentFile",
|
"testing.runCurrentFile",
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user