feat(ext): add swiper back for alt+r current file search

Periscope is nice, but result ordering is not based on line number which can get a bit confusing.
This commit is contained in:
2025-08-12 12:37:51 +01:00
parent 591beaefa9
commit 1972c4350d
3 changed files with 32 additions and 21 deletions

View File

@@ -1,15 +1,15 @@
# cursor Extensions
# Generated on Fri Aug 8 12:05:22 BST 2025
# Generated on Tue Aug 12 12:14:56 BST 2025
alefragnani.project-manager@12.8.0
anthropic.claude-code@1.0.71
anthropic.claude-code@1.0.72
antiantisepticeye.vscode-color-picker@0.0.4
antyos.openscad@1.3.2
anysphere.cpptools@2.0.2
anysphere.csharp@1.0.1
anysphere.cursorpyright@1.0.8
anysphere.remote-containers@1.0.22
anysphere.remote-ssh@1.0.23
anysphere.remote-ssh@1.0.24
anysphere.remote-wsl@1.0.9
arrterian.nix-env-selector@1.1.0
arturodent.command-alias@0.6.2
@@ -53,10 +53,10 @@ hverlin.mise-vscode@0.53.0
jakearl.search-editor-apply-changes@0.1.1
jnoortheen.nix-ide@0.4.22
joshbolduc.commitlint@2.6.2
joshmu.periscope@1.13.1
joshmu.periscope@1.13.2
kahole.magit@0.6.67
karunamurti.haml@1.4.1
kilocode.kilo-code@4.78.0
kilocode.kilo-code@4.79.2
koichisasada.vscode-rdbg@0.2.1
letrieu.expand-region@0.1.4
llvm-vs-code-extensions.vscode-clangd@0.2.0
@@ -86,7 +86,7 @@ redhat.vscode-xml@0.29.0
redhat.vscode-yaml@1.18.0
romanpeshkov.vscode-text-tables@0.1.5
rrudi.vscode-dired@0.0.9
rust-lang.rust-analyzer@0.3.2563
rust-lang.rust-analyzer@0.3.2577
shopify.ruby-extensions-pack@0.1.13
shopify.ruby-lsp@0.9.31
sidneys1.gitconfig@2.0.1
@@ -94,7 +94,7 @@ sorbet.sorbet-vscode-extension@0.3.45
streetsidesoftware.code-spell-checker@4.0.47
stuart.unique-window-colors@1.0.51
sumneko.lua@3.15.0
svelte.svelte-vscode@109.10.1
svelte.svelte-vscode@109.11.0
swellaby.vscode-rust-test-adapter@0.11.1
swellaby.workspace-config-plus@0.2.5
tamasfe.even-better-toml@0.21.2
@@ -103,6 +103,7 @@ tuttieee.emacs-mcx@0.88.10
tyriar.sort-lines@1.9.1
vadimcn.vscode-lldb@1.11.5
viktorzetterstrom.non-breaking-space-highlighter@0.0.3
wenhoujx.swiper@2.1.2
zhuangtongfa.material-theme@3.19.0
ziyasal.vscode-open-in-github@1.3.6
zxh404.vscode-proto3@0.5.5

View File

@@ -986,10 +986,10 @@
"key": "ctrl+x '",
"command": "periscope.resumeSearch"
},
{ // Search current file.
"key": "alt+r",
"command": "periscope.searchCurrentFile"
},
// { // Search current file.
// "key": "alt+r",
// "command": "periscope.searchCurrentFile"
// },
{ // Open current result in horizontal split.
"key": "ctrl+v",
"command": "periscope.openInHorizontalSplit",
@@ -997,6 +997,17 @@
},
//
// ===========================================================================
// MARK: Swiper
// ===========================================================================
// Extension:
// - https://marketplace.visualstudio.com/items?itemName=wenhoujx.swiper
//
{ // swiper.
"key": "alt+r",
"command": "swiper.swiper"
},
//
// ===========================================================================
// MARK: Text Tables
// ===========================================================================
// Extension:

View File

@@ -331,8 +331,16 @@
// - https://marketplace.visualstudio.com/items?itemName=joshmu.periscope
//
"periscope.rgGlobExcludes": [
"**/.bundle/**",
"**/.git/**",
"**/.log/**",
"**/.log/**",
"**/.yarn/**",
"**/.yarn/**",
"**/dist/**",
"**/node_modules/**",
"**/straight/**",
"**/vendor/**",
"*.cjs",
"*.cts",
"*.log",
@@ -341,16 +349,7 @@
"*.min.css",
"*.min.js",
"*.sql",
"*.test",
"*/.log/*",
"*/.yarn/*",
".bundle/*",
".git/*",
".log/*",
".vscode/*",
".yarn/*",
"straight/*",
"vendor/*"
"*.test"
],
"periscope.rgMenuActions": [
{