Skip to content

Instantly share code, notes, and snippets.

View krobelus's full-sized avatar

Johannes Altmanninger krobelus

  • Austria
  • 09:46 (UTC +02:00)
View GitHub Profile
define-command -override run-test-above-cursor %{
evaluate-commands -save-regs t %{
evaluate-commands -draft %{
execute-keys <a-l><a-/>test\s*"([^"]*)"<ret>
# Numbered registers are cleared liberally, so let's save this one.
set-register t %reg{1}
}
terminal sh -sc "echo run test %reg{t}"
}
}
This file has been truncated, but you can view the full file.
1667152937.394422 server started (3368713): version 3.3a, socket /tmp/tmux-1000/test, protocol 8
1667152937.394553 on Linux 5.19.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 20 Sep 2022 15:17:59 +0000
1667152937.394599 using libevent 2.1.12-stable (poll); ncurses 6.3
1667152937.395040 input_key_build: 0x10e003 (PasteStart) is \033[200~
1667152937.395063 input_key_build: 0x10e004 (PasteEnd) is \033[201~
1667152937.395077 input_key_build: 0x10e195 (F1) is \033OP
1667152937.395089 input_key_build: 0x10e196 (F2) is \033OQ
1667152937.395099 input_key_build: 0x10e197 (F3) is \033OR
1667152937.395110 input_key_build: 0x10e198 (F4) is \033OS
1667152937.395121 input_key_build: 0x10e199 (F5) is \033[15~
> diff --git a/Cargo.toml b/Cargo.toml
> index 1ca5a435ad0c..18b289c4a2cb 100644
> --- a/Cargo.toml
> +++ b/Cargo.toml
> @@ -45,7 +45,7 @@ printf-compat = { git = "https://github.com/fish-shell/printf-compat.git", branc
> autocxx = "0.23.1"
> bitflags = "2.4.0"
> cxx = "1.0"
> -errno = "0.2.8"
> +_errno = { package="errno", version = "0.2.8" }
declare-option str my_jump_buffers \*(grep|find|callers|callees|goto|symbols)\b.*\*
declare-option str my_make_buffers \*(cargo|make)\*
map global normal <c-n> %{:jump-next -matching %opt{my_jump_buffers}<ret>} -docstring 'next location'
map global normal <c-p> %{:jump-previous -matching %opt{my_jump_buffers}<ret>} -docstring 'previous location'
map global normal <c-e> %{:my-push-buffer<ret>} -docstring 'push buffer'
map global normal <c-r> %{:my-jump-buffer-pop %opt{my_jump_buffers}<ret>} -docstring 'pop jump buffer'
map global user j %{:buffer -matching %opt{my_jump_buffers}<ret>} -docstring "latest jump buffer"
map global user t %{:set-option global toolsclient %val{client}; try %{ buffer -matching "%opt{my_jump_buffers}|%opt{my_make_buffers}" }<ret>} -docstring 'set as toolsclient'
╭────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
│ │
│ /help for help │
│ │
│ cwd: /home/johannes/git/fish-shell │
╰────────────────────────────────────────────╯
> /code