mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
chore(cursor): further tweaks to keybindings and settings
This commit is contained in:
@@ -22,6 +22,15 @@
|
|||||||
},
|
},
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Window
|
||||||
|
// ===========================================================================
|
||||||
|
//
|
||||||
|
{
|
||||||
|
"key": "cmd+0",
|
||||||
|
"command": "workbench.action.zoomReset"
|
||||||
|
},
|
||||||
|
//
|
||||||
|
// ===========================================================================
|
||||||
// Save
|
// Save
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
//
|
//
|
||||||
@@ -284,15 +293,6 @@
|
|||||||
},
|
},
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Completion
|
|
||||||
// ===========================================================================
|
|
||||||
//
|
|
||||||
{
|
|
||||||
"key": "alt+shift+f",
|
|
||||||
"command": "editor.action.inlineSuggest.acceptNextWord"
|
|
||||||
},
|
|
||||||
//
|
|
||||||
// ===========================================================================
|
|
||||||
// Text selection
|
// Text selection
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
//
|
//
|
||||||
@@ -348,8 +348,32 @@
|
|||||||
},
|
},
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Completion
|
||||||
|
// ===========================================================================
|
||||||
|
//
|
||||||
|
{
|
||||||
|
"key": "alt+shift+f",
|
||||||
|
"command": "editor.action.inlineSuggest.acceptNextWord"
|
||||||
|
},
|
||||||
|
//
|
||||||
|
// ===========================================================================
|
||||||
|
// Documentation
|
||||||
|
// ===========================================================================
|
||||||
|
//
|
||||||
|
{ // Show documentation for symbol at cursor.
|
||||||
|
"key": "ctrl+c d",
|
||||||
|
"command": "editor.action.showHover"
|
||||||
|
},
|
||||||
|
{ // Show documentation for symbol at cursor.
|
||||||
|
"key": "ctrl+c ctrl+d",
|
||||||
|
"command": "editor.action.triggerParameterHints"
|
||||||
|
},
|
||||||
|
//
|
||||||
|
// ===========================================================================
|
||||||
// edamagit
|
// edamagit
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extension URL:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=kahole.magit
|
||||||
//
|
//
|
||||||
{ // Open magit status.
|
{ // Open magit status.
|
||||||
"key": "ctrl+x g",
|
"key": "ctrl+x g",
|
||||||
@@ -363,6 +387,8 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Project Manager
|
// Project Manager
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extension URL:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=alefragnani.project-manager
|
||||||
//
|
//
|
||||||
{ // List projects.
|
{ // List projects.
|
||||||
"key": "ctrl+z ctrl+s",
|
"key": "ctrl+z ctrl+s",
|
||||||
@@ -376,6 +402,8 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// dired
|
// dired
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extension URL:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=rrudi.vscode-dired
|
||||||
//
|
//
|
||||||
{ // Open dired.
|
{ // Open dired.
|
||||||
"key": "ctrl+x ctrl+j",
|
"key": "ctrl+x ctrl+j",
|
||||||
@@ -411,6 +439,8 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// swiper
|
// swiper
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extension URL:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=wenhoujx.swiper
|
||||||
//
|
//
|
||||||
{ // Swiper word at cursor.
|
{ // Swiper word at cursor.
|
||||||
"key": "alt+r",
|
"key": "alt+r",
|
||||||
@@ -420,6 +450,8 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Makefile task runner
|
// Makefile task runner
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extension URL:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=carlos-algms.make-task-provider
|
||||||
//
|
//
|
||||||
{ // Run target.
|
{ // Run target.
|
||||||
"key": "ctrl+c enter",
|
"key": "ctrl+c enter",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"editor.fontSize": 12,
|
"editor.fontSize": 12,
|
||||||
"editor.renderWhitespace": "trailing",
|
"editor.renderWhitespace": "trailing",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.formatOnPaste": false,
|
"editor.formatOnPaste": true,
|
||||||
"editor.rulers": [
|
"editor.rulers": [
|
||||||
80,
|
80,
|
||||||
100,
|
100,
|
||||||
@@ -27,6 +27,12 @@
|
|||||||
"editor.minimap.enabled": true,
|
"editor.minimap.enabled": true,
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Git
|
||||||
|
// ===========================================================================
|
||||||
|
//
|
||||||
|
"git.blame.editorDecoration.enabled": true,
|
||||||
|
//
|
||||||
|
// ===========================================================================
|
||||||
// Files
|
// Files
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
//
|
//
|
||||||
@@ -61,6 +67,8 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Awesome Emacs Keybindings
|
// Awesome Emacs Keybindings
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extension URL:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=tuttieee.emacs-mcx
|
||||||
//
|
//
|
||||||
"emacs-mcx.emacsLikeTab": true,
|
"emacs-mcx.emacsLikeTab": true,
|
||||||
"emacs-mcx.killRingMax": 120,
|
"emacs-mcx.killRingMax": 120,
|
||||||
@@ -69,6 +77,8 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// File Browser
|
// File Browser
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extension URL:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=bodil.file-browser
|
||||||
//
|
//
|
||||||
"file-browser.hideDotfiles": false,
|
"file-browser.hideDotfiles": false,
|
||||||
"file-browser.labelIgnoredFiles": true,
|
"file-browser.labelIgnoredFiles": true,
|
||||||
@@ -76,6 +86,8 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Project Manager
|
// Project Manager
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extension URL:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=alefragnani.project-manager
|
||||||
//
|
//
|
||||||
"projectManager.git.baseFolders": [
|
"projectManager.git.baseFolders": [
|
||||||
"~/Projects",
|
"~/Projects",
|
||||||
@@ -132,11 +144,22 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Go
|
// Go
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extensions:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=golang.go
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=gofenix.go-lines
|
||||||
//
|
//
|
||||||
"go.formatTool": "gofumpt",
|
|
||||||
"go.inlayHints.constantValues": true,
|
|
||||||
"go.lintTool": "golangci-lint",
|
|
||||||
"go-lines.lineLength": 120,
|
"go-lines.lineLength": 120,
|
||||||
|
"go.formatTool": "gofumpt",
|
||||||
|
"go.lintOnSave": "workspace",
|
||||||
|
"go.lintTool": "golangci-lint",
|
||||||
|
"go.useLanguageServer": true,
|
||||||
|
"go.inlayHints.constantValues": true,
|
||||||
|
"gopls": {
|
||||||
|
"ui.diagnostic.analyses": {
|
||||||
|
"shadow": true
|
||||||
|
},
|
||||||
|
"ui.diagnostic.staticcheck": true,
|
||||||
|
},
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// JSON
|
// JSON
|
||||||
@@ -150,6 +173,9 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// Ruby
|
// Ruby
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extensions:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=Shopify.ruby-extensions-pack
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=connorshea.vscode-ruby-test-adapter
|
||||||
//
|
//
|
||||||
"[ruby]": {
|
"[ruby]": {
|
||||||
"editor.defaultFormatter": "Shopify.ruby-lsp",
|
"editor.defaultFormatter": "Shopify.ruby-lsp",
|
||||||
@@ -160,8 +186,11 @@
|
|||||||
},
|
},
|
||||||
//
|
//
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// YAML (by RedHat)
|
// YAML
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
// Extensions:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=redhat.vscode-yaml
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=arahata.linter-actionlint
|
||||||
//
|
//
|
||||||
"redhat.telemetry.enabled": false,
|
"redhat.telemetry.enabled": false,
|
||||||
//
|
//
|
||||||
@@ -169,5 +198,28 @@
|
|||||||
// Makefile
|
// Makefile
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
//
|
//
|
||||||
"makefile.configureOnOpen": true
|
"makefile.configureOnOpen": false,
|
||||||
|
//
|
||||||
|
// ===========================================================================
|
||||||
|
// vscode-color-picker
|
||||||
|
// ===========================================================================
|
||||||
|
// Extension URL:
|
||||||
|
// - https://marketplace.cursorapi.com/items?itemName=AntiAntiSepticeye.vscode-color-picker
|
||||||
|
//
|
||||||
|
"vscode-color-picker.languages": [
|
||||||
|
"css",
|
||||||
|
"go",
|
||||||
|
"javascript",
|
||||||
|
"less",
|
||||||
|
"postcss",
|
||||||
|
"python",
|
||||||
|
"ruby",
|
||||||
|
"sass",
|
||||||
|
"scss",
|
||||||
|
"sss",
|
||||||
|
"stylus",
|
||||||
|
"svg",
|
||||||
|
"typescript",
|
||||||
|
"xml"
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user