Compare commits

2 Commits
Author SHA1 Message Date
roodletoof ae12c8f845 Revert "test 1 delete mpv"
This reverts commit 4b1b16e940.
2026-06-23 21:34:50 +02:00
roodletoof 4b1b16e940 test 1 delete mpv 2026-06-23 21:34:47 +02:00
353 changed files with 3832 additions and 13587 deletions
+1 -2
View File
@@ -1,3 +1,4 @@
lazy-lock.json
.DS_Store
gomono/.local/share/fonts/GoMonoNerdFont/.uuid
mpv/.local/state/mpv/watch_history.jsonl
@@ -8,5 +9,3 @@ st-0.9.2/x.o
karabiner-ts-config/node_modules
__pycache__
tags
vim/.vim/view
vim/.vim/.netrwhist
+1 -1
View File
@@ -1 +1 @@
open -n -a "kitty.app"
open -n -a "alacritty.app"
+1 -1
View File
@@ -10,7 +10,7 @@ dynamic_padding = true
decorations = "Buttonless"
[font]
normal.family = "Comic Code"
normal.family = "GoMono Nerd Font Mono"
size = 12
# Subtle positional tuning
-5
View File
@@ -1,5 +0,0 @@
run:
tcc -run main.c
tags:
ctags --langmap=c:.c.h --languages=c -R .
-12
View File
@@ -1,12 +0,0 @@
#include "str.h"
#include "str.c"
// Opens a fuzzy finding window with the given array of strings.
// Returns the index of the picked element.
// Returns -1 on no selection.
int picker(String strings[], int strings_len, char const *prompt) {
}
int main(int const argc, char const *argv[]) {
return 0;
}
-61
View File
@@ -1,61 +0,0 @@
#ifndef PLATFORM
#define PLATFORM
#include <stdint.h>
#include <stdbool.h>
typedef struct Color {
uint8_t r, g, b;
} Color;
#define WHITE ((Color){255,255,255})
#define BLACK ((Color){0,0,0})
typedef enum Action {
Action_Backspace,
Action_Select,
Action_Next,
Action_Previous,
Count_Action
} Action;
bool ActionPressed(Action key);
bool InputGetNextPrintable(char const *out_key);
typedef struct Cell {
char character;
Color foreground;
Color background;
} Cell;
typedef struct Window {
int width;
int height;
Cell *cells;
} Window;
typedef struct PlatformState {
Window *prev;
Window *curr;
} PlatformState;
// Options for the backend. These options don't necessarily apply for all platforms.
typedef struct PlatformOpts {
float window_width_fraction; // decide the width of the window as a fraction of the total resolution. for gui backends
float window_height_fraction; // decide the height of the window as a fraction of the total resolution. for gui backends
} PlatformOpts;
PlatformOpts WindowCreateOptsDefault();
Window *WindowCreate(PlatformOpts opts);
void WindowClear(Window *window, Color color);
void WindowFlip(Window *window);
void PlatformInit(PlatformOpts opts);
int PlatformGetWidth();
int PlatformGetHeight();
// TODO: the platform layer would really update the keys being pressed, and
// receive a diff in the form of actions. print this line from here and change
// colors at these points.
#endif /* PLATFORM */
-361
View File
@@ -1,361 +0,0 @@
#define _GNU_SOURCE
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/keysym.h>
#include <X11/extensions/Xrandr.h>
#include <stdio.h>
#include <stdlib.h>
static int get_active_window(Display *dpy, Window root, Window *active)
{
Atom prop = XInternAtom(dpy, "_NET_ACTIVE_WINDOW", True);
if (!prop)
return 0;
Atom actual;
int format;
unsigned long nitems;
unsigned long bytes_after;
unsigned char *data = NULL;
int status = XGetWindowProperty(
dpy,
root,
prop,
0,
1,
False,
XA_WINDOW,
&actual,
&format,
&nitems,
&bytes_after,
&data
);
if (status != Success || !data || nitems == 0) {
if (data)
XFree(data);
return 0;
}
*active = *(Window *)data;
XFree(data);
return 1;
}
static int get_window_center(
Display *dpy,
Window window,
int *cx,
int *cy
)
{
Window root;
Window child;
int x;
int y;
unsigned int width;
unsigned int height;
unsigned int border;
unsigned int depth;
if (!XGetGeometry(
dpy,
window,
&root,
&x,
&y,
&width,
&height,
&border,
&depth))
return 0;
int root_x;
int root_y;
if (!XTranslateCoordinates(
dpy,
window,
root,
0,
0,
&root_x,
&root_y,
&child))
return 0;
*cx = root_x + (int)width / 2;
*cy = root_y + (int)height / 2;
return 1;
}
int main(void)
{
Display *dpy = XOpenDisplay(NULL);
if (!dpy) {
fprintf(stderr, "popup: cannot open X display\n");
return EXIT_FAILURE;
}
int screen = DefaultScreen(dpy);
Window root = RootWindow(dpy, screen);
/*
* ------------------------------------------------------------
* Find the currently focused window.
* ------------------------------------------------------------
*/
Window active = None;
int cursor_x = DisplayWidth(dpy, screen) / 2;
int cursor_y = DisplayHeight(dpy, screen) / 2;
if (get_active_window(dpy, root, &active)) {
get_window_center(
dpy,
active,
&cursor_x,
&cursor_y
);
}
/*
* ------------------------------------------------------------
* Find the monitor containing the active window.
* ------------------------------------------------------------
*/
int monitor_x = 0;
int monitor_y = 0;
int monitor_width = DisplayWidth(dpy, screen);
int monitor_height = DisplayHeight(dpy, screen);
int monitor_count = 0;
XRRMonitorInfo *monitors =
XRRGetMonitors(
dpy,
root,
True,
&monitor_count
);
if (monitors) {
for (int i = 0; i < monitor_count; i++) {
XRRMonitorInfo *m = &monitors[i];
if (cursor_x >= m->x &&
cursor_x < m->x + (int)m->width &&
cursor_y >= m->y &&
cursor_y < m->y + (int)m->height) {
monitor_x = m->x;
monitor_y = m->y;
monitor_width = m->width;
monitor_height = m->height;
break;
}
}
XRRFreeMonitors(monitors);
}
/*
* ------------------------------------------------------------
* Desired geometry.
*
* Half the monitor width and half the monitor height,
* centered on that monitor.
* ------------------------------------------------------------
*/
int width = monitor_width / 2;
int height = monitor_height / 2;
int x = monitor_x + (monitor_width - width) / 2;
int y = monitor_y + (monitor_height - height) / 2;
/*
* ------------------------------------------------------------
* Create the window.
*
* override_redirect means the window manager does not manage
* this window. This prevents it from moving/resizing it.
* ------------------------------------------------------------
*/
XSetWindowAttributes attributes;
attributes.override_redirect = True;
attributes.background_pixel =
BlackPixel(dpy, screen);
attributes.event_mask =
KeyPressMask |
FocusChangeMask |
StructureNotifyMask;
Window window = XCreateWindow(
dpy,
root,
x,
y,
width,
height,
0,
CopyFromParent,
InputOutput,
CopyFromParent,
CWOverrideRedirect |
CWBackPixel |
CWEventMask,
&attributes
);
if (!window) {
fprintf(stderr, "popup: XCreateWindow failed\n");
XCloseDisplay(dpy);
return EXIT_FAILURE;
}
/*
* ------------------------------------------------------------
* Map the window.
* ------------------------------------------------------------
*/
XMapRaised(dpy, window);
XFlush(dpy);
/*
* ------------------------------------------------------------
* Wait until the X server has actually mapped the window.
*
* Calling XSetInputFocus() before this can result in:
*
* BadMatch (invalid parameter attributes)
*
* ------------------------------------------------------------
*/
for (;;) {
XEvent event;
XNextEvent(dpy, &event);
if (event.type == MapNotify &&
event.xmap.window == window) {
break;
}
}
/*
* ------------------------------------------------------------
* Now that the window is viewable, take keyboard focus.
* ------------------------------------------------------------
*/
XSetInputFocus(
dpy,
window,
RevertToParent,
CurrentTime
);
XRaiseWindow(dpy, window);
XFlush(dpy);
/*
* ------------------------------------------------------------
* Event loop.
*
* Escape:
* exit
*
* FocusOut:
* exit
*
* The window is override-redirect, so the WM won't resize or
* reposition it.
* ------------------------------------------------------------
*/
for (;;) {
XEvent event;
XNextEvent(dpy, &event);
switch (event.type) {
case KeyPress:
{
KeySym key =
XLookupKeysym(
&event.xkey,
0
);
if (key == XK_Escape) {
XDestroyWindow(
dpy,
window
);
XCloseDisplay(dpy);
return EXIT_SUCCESS;
}
break;
}
case FocusOut:
{
/*
* Any loss of keyboard focus causes the popup
* to immediately terminate.
*/
XDestroyWindow(
dpy,
window
);
XCloseDisplay(dpy);
return EXIT_SUCCESS;
}
default:
break;
}
}
return EXIT_SUCCESS;
}
-54
View File
@@ -1,54 +0,0 @@
#include <stddef.h>
#include "str.h"
static bool intToIndex(String string, int i, size_t *out_index) {
int val = 0;
bool is_ok = true;
if (i >= 0) {
val = i;
} else {
val = string.size + 1 + i;
}
if (val < 0) {
val = 0;
is_ok = false;
} else if (val > string.size) {
val = string.size;
is_ok = false;
}
*out_index = val;
return is_ok;
}
bool StringSub(String string, int start, int end, String *out_substr) {
size_t start_index = 0;
bool start_ok = intToIndex(string, start, &start_index);
size_t end_index = 0;
bool end_ok = intToIndex(string, end, &end_index);
if (string.size == 0 || start_index >= end_index) {
out_substr->size=0;
out_substr->buffer=NULL;
return false;
}
out_substr->buffer = &string.buffer[start_index];
out_substr->size = end_index - start_index;
return start_ok && end_ok;
}
// TODO: foobar
String StringFromCString(unsigned char const *s) {
size_t size = 0;
while (s[size] != '\0') { size++; }
return (String) {
.buffer=s,
.size=size,
};
}
-15
View File
@@ -1,15 +0,0 @@
#ifndef STRING_HEADER
#define STRING_HEADER
#include <stddef.h>
#include <stdbool.h>
typedef struct String {
unsigned char const *buffer;
size_t size;
} String;
#define STRING(content) ((String){.buffer=#content, .size=sizeof(#content)-1})
bool StringSub(String string, int start, int end, String *out_substr);
String StringFromCString(unsigned char const *s);
#endif// STRING_HEADER
-13
View File
@@ -1,13 +0,0 @@
--langdef=zig
--map-zig=.zig
--kinddef-zig=f,function,functions
--kinddef-zig=m,method,methods
--kinddef-zig=t,type,types
--kinddef-zig=v,field,fields
--regex-zig=/^(export +)?(pub +)?(inline +)?fn +([a-zA-Z0-9_]+)/\4/f/{exclusive}
--regex-zig=/^(export +)?(pub +)?[\t ]*const +([a-zA-Z0-9_]+) = (@This\(\)|struct|enum|union)/\3/t/{exclusive}{scope=push}
--regex-zig=/^}///{exclusive}{scope=pop}{placeholder}
--regex-zig=/^[\t ]+(pub +)?(inline +)?fn +([a-zA-Z0-9_]+)/\3/m/{exclusive}{scope=ref}
--regex-zig=/^(export +)?pub +const +([a-zA-Z0-9_]+)(:.*)? = .*/\2/v/{exclusive}
+6 -12
View File
@@ -1,12 +1,16 @@
# i3 config generated to mimic your sway config
# Set mod key (Mod1 = Alt)
set $mod Mod1
set $left h
set $down j
set $up k
set $right l
set $term kitty
set $term alacritty
set $just just --justfile ~/.config/i3/justfile
for_window [class=".*"] fullscreen disable
for_window [class=".*"] floating disable
floating_minimum_size -1 x -1
floating_maximum_size -1 x -1
@@ -32,7 +36,7 @@ floating_modifier $mod
bindsym $mod+Shift+r reload
# Exit i3
bindsym $mod+Shift+e exit
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Exit i3? This will end your session.' -b 'Yes, exit i3' 'i3-msg exit'"
focus_follows_mouse yes
focus_on_window_activation none
@@ -133,17 +137,7 @@ bindsym --release XF86MonBrightnessUp exec --no-startup-id brightnessctl set 5%+
# Screenshot (use scrot instead of grim)
bindsym Print exec scrot ~/Pictures/screenshot-%Y-%m-%d-%H%M%S.png
#class border background text indicator child_border
client.focused #ffffff #ffffff #000000 #ffffff #ffffff
# Status bar (use i3bar + i3status)
bar {
status_command i3status
colors {
#class border background text
focused_workspace #ffffff #ffffff #000000
inactive_workspace #333333 #333333 #ffffff
}
}
+2 -2
View File
@@ -3,9 +3,9 @@ choose-monitor:
just reset-wallpaper
reset-wallpaper:
xsetroot -solid black
feh --bg-fill ~/.wallpaper/
program-picker:
rofi -show drun
dmenu_run -p 'start program'
+58 -21
View File
@@ -1,10 +1,10 @@
;; vim:foldmethod=marker
(defcfg
(defcfg ;;{{{1
process-unmapped-keys yes
)
(defsrc
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
(defsrc ;;{{{1
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
caps a s d f g h j k l ; ' ret
@@ -12,37 +12,74 @@
lctl lmet lalt spc ralt rmet rctl
)
(deflayer default
brdn brup bldn blup f5 f6 prev pp next mute vold volu
(deflayer default ;;{{{1
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
@cap a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
@mus lmet lalt @shsp @gmng rmet rctl
lctl lmet lalt @shsp @gmng rmet rctl
)
(deflayer gaming
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
(deflayer gaming ;;{{{1
esc 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
XX a s d f g h j k l ; ' ret
lsft z x c v b n m , . / rsft
lctl lmet lalt spc @dflt rmet rctl
lctl lmet \ spc @dflt rmet rctl
)
(defalias
cap (tap-hold-press 0 200 esc lctl)
shsp (tap-hold-press 0 200 spc lsft)
(deflayer symbols ;;{{{1
grv @1 @2 @3 @4 @5 @6 @7 @8 @9 @0 _ _ bspc
tab @` @m[ @m] @& @| @^ @_ @m- @+ @m= @nor _ lrld
@cap @~ @bl @br @* @m\ bspc ret @? tab @: S-' ret
lsft @! @{ @} @$ @% @at @# @< @> @m= rsft
lctl lmet lalt @lasp ralt rmet rctl
)
(defalias ;;{{{1
gmng (layer-switch gaming)
dflt (layer-switch default)
mus (layer-while-held mouse)
)
(deflayermap (mouse)
h (movemouse-left 10 5)
j (movemouse-down 10 5)
k (movemouse-up 10 5)
l (movemouse-right 10 5)
n mltp
p mrtp
cap (tap-hold-press 0 200 esc lctl)
lasp (tap-hold-press 0 200 spc (layer-while-held symbols))
shsp (tap-hold-press 0 200 spc lsft)
bl S-9
br S-0
{ (macro S-[)
} (macro S-])
m[ (macro [)
m] (macro ])
< S-,
> S-.
: S-;
% S-5
! S-1
` grv
~ S-grv
* S-8
& S-7
| (macro S-\)
m\ (macro \)
^ S-6
_ (macro S--)
m- (macro -)
+ (macro S-=)
m= (macro =)
$ (macro S-4)
# (macro S-3)
at (macro S-2)
? (macro S-/)
nor (tap-dance 200 (A-' A-o A-a))
1 (tap-hold-press 0 200 1 lsft)
2 (tap-hold-press 0 200 2 lsft)
3 (tap-hold-press 0 200 3 lsft)
4 (tap-hold-press 0 200 4 lsft)
5 (tap-hold-press 0 200 5 lsft)
6 (tap-hold-press 0 200 6 lsft)
7 (tap-hold-press 0 200 7 lsft)
8 (tap-hold-press 0 200 8 lsft)
9 (tap-hold-press 0 200 9 lsft)
0 (tap-hold-press 0 200 0 lsft)
)
@@ -0,0 +1,118 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"enabled": false,
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -0,0 +1,118 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"enabled": false,
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -0,0 +1,118 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"enabled": false,
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -35,24 +35,24 @@
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
@@ -35,25 +35,26 @@
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
@@ -107,7 +108,6 @@
]
},
"name": "Modified profile",
"selected": true,
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
@@ -35,24 +35,24 @@
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
@@ -35,24 +35,24 @@
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
@@ -0,0 +1,117 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -0,0 +1,117 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -0,0 +1,117 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "swap alt and cmd",
"manipulators": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }],
"type": "basic"
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }],
"type": "basic"
}
]
}
]
},
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -1,117 +0,0 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -1,117 +0,0 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -1,117 +0,0 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -1,134 +0,0 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 8467,
"vendor_id": 16700
},
"simple_modifications": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }]
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -1,134 +0,0 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 8467,
"vendor_id": 16700
},
"simple_modifications": [
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
},
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -1,151 +0,0 @@
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"description": "dual purpose modifiers",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
},
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
}
]
},
"devices": [
{
"identifiers": {
"is_keyboard": true,
"product_id": 21042,
"vendor_id": 1155
},
"simple_modifications": [
{
"from": { "key_code": "grave_accent_and_tilde" },
"to": [{ "key_code": "non_us_backslash" }]
}
]
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 8467,
"vendor_id": 16700
},
"simple_modifications": [
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
},
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }]
}
]
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 5225,
"vendor_id": 1266
},
"simple_modifications": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }]
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
}
]
}
],
"name": "KarabinerTS",
"selected": true,
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
},
{
"name": "Default profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "ansi"
}
},
{
"complex_modifications": {
"rules": [
{
"description": "Caps Lock to ESC on tap/Left control on hold",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_control",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "escape" }],
"type": "basic"
}
]
},
{
"description": "Space to shift on hold",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": { "optional": ["any"] }
},
"to": [
{
"key_code": "left_shift",
"lazy": true
}
],
"to_if_alone": [{ "key_code": "spacebar" }],
"type": "basic"
}
]
}
]
},
"name": "Modified profile",
"virtual_hid_keyboard": {
"country_code": 0,
"keyboard_type_v2": "iso"
}
}
]
}
@@ -51,57 +51,6 @@
"to": [{ "key_code": "non_us_backslash" }]
}
]
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 8467,
"vendor_id": 16700
},
"simple_modifications": [
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
},
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }]
}
]
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 5225,
"vendor_id": 1266
},
"simple_modifications": [
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
},
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }]
}
]
},
{
"identifiers": {
"is_keyboard": true,
"product_id": 599,
"vendor_id": 5426
},
"simple_modifications": [
{
"from": { "key_code": "left_option" },
"to": [{ "key_code": "left_command" }]
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "left_option" }]
}
]
}
],
"name": "KarabinerTS",
File diff suppressed because it is too large Load Diff
+1
View File
@@ -0,0 +1 @@
save-position-on-quit
+3
View File
@@ -4,6 +4,9 @@
" Last Change: Mi, 13 Apr 2005 22:50:07 CEST
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "ant"
let s:cpo_save = &cpo
@@ -1,3 +1,4 @@
if exists("current_compiler") | finish | endif
let current_compiler = "basedpyright"
let s:cpo_save = &cpo
set cpo&vim
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: @konfekt
" Last Change: 2024 Dec 27
if exists("current_compiler")
finish
endif
let current_compiler = "bash"
CompilerSet makeprg=bash\ -n
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2004 Mar 27
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "bcc"
" A workable errorformat for Borland C
+3
View File
@@ -5,6 +5,9 @@
" Last Change: 2024 Mar 29
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "bdf"
let s:cpo_save = &cpo
+1
View File
@@ -3,6 +3,7 @@
" JSONC, HTML, Vue, Svelte, Astro, CSS, GraphQL and GritQL files)
" Maintainer: @Konfekt
" Last Change: 2025 Nov 12
if exists("current_compiler") | finish | endif
let current_compiler = "biome"
let s:cpo_save = &cpo
+3
View File
@@ -2,6 +2,9 @@
" Compiler: Haskell Cabal Build file
" Maintainer: Mateo Gjika <@mateoxh>
if exists('current_compiler')
finish
endif
let current_compiler = 'cabal'
+3
View File
@@ -5,6 +5,9 @@
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
if exists('current_compiler')
finish
endif
runtime compiler/rustc.vim
let current_compiler = "cargo"
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "checkstyle"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "cm3"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
" Last Change: 2016 Oct 21
if exists("current_compiler")
finish
endif
let s:keepcpo= &cpo
set cpo&vim
+1
View File
@@ -3,6 +3,7 @@
" Maintainer: Vincent B. (twinside@free.fr)
" Last Change: 2025 Nov 06 by @Konfekt
if exists("current_compiler") | finish | endif
let current_compiler = "cppcheck"
let s:cpo_save = &cpo
+3
View File
@@ -5,6 +5,9 @@
" Last Change: Jul 22, 2019
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "cs"
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2016 May 21
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "csslint"
CompilerSet makeprg=csslint\ --format=compact
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2016 Aug 29
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "cucumber"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "dart"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "dart2js"
let s:cpo_save = &cpo
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "dart2native"
let s:cpo_save = &cpo
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "dartanalyzer"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "dartdevc"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "dartdoc"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "dartfmt"
let s:cpo_save = &cpo
+3
View File
@@ -16,6 +16,9 @@
"------------------------------------------------------------------------------
" Last Change: 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if (exists("current_compiler") && current_compiler == "decada") || version < 700
finish
endif
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2024 March 21
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "dot"
CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
+3
View File
@@ -6,6 +6,9 @@
" License: Vim (see :h license)
" Repository: https://github.com/nickspoons/vim-cs
if exists("current_compiler")
finish
endif
let current_compiler = "dotnet"
let s:cpo_save = &cpo
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2019 Jul 23
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "erlang"
CompilerSet makeprg=erlc\ -Wall\ %:S
+3
View File
@@ -4,6 +4,9 @@
" URL: https://github.com/vim-ruby/vim-ruby
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "eruby"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
" Last Change: 2024 Nov 30
if exists("current_compiler")
finish
endif
let current_compiler = "eslint"
CompilerSet makeprg=npx\ eslint\ --format\ stylish
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "fbc"
let s:cpo_save = &cpo
+3
View File
@@ -6,6 +6,9 @@
" Last Change: 2004 Mar 27
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "fortran_F"
let s:cposet=&cpoptions
@@ -4,6 +4,9 @@
" Last Change: 11/05/2002
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "fortran_cv"
let s:cposet = &cpoptions
@@ -7,6 +7,9 @@
" Last Change: 2004 Mar 27
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "fortran_elf90"
let s:cposet=&cpoptions
@@ -5,6 +5,9 @@
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
" $Revision: 1.1 $
if exists("current_compiler")
finish
endif
let current_compiler = "fortran_g77"
let s:cpo_save = &cpo
@@ -6,6 +6,9 @@
" Last Change: 2004 Mar 27
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "fortran_lf95"
let s:cposet=&cpoptions
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2005 October 07
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "fpc"
" NOTE: compiler must be run with -vb to write whole source path, not only file
+3
View File
@@ -7,6 +7,9 @@
" https://bitbucket.org/xuhdev/compiler-g95.vim
" License: Same as Vim
if exists('current_compiler')
finish
endif
let current_compiler = 'g95'
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "gawk"
let s:cpo_save = &cpo
+3
View File
@@ -8,6 +8,9 @@
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
" 2025 Dec 17 by The Vim Project (correctly parse: 'make: *** [Makefile:2: all] Error 1')
if exists("current_compiler")
finish
endif
let current_compiler = "gcc"
let s:cpo_save = &cpo
+3
View File
@@ -7,6 +7,9 @@
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
" License: Same as Vim
if exists('current_compiler')
finish
endif
let current_compiler = 'gfortran'
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Daniel Campoverde <alx@sillybytes.net>
" Latest Revision: 2016-11-29
if exists("current_compiler")
finish
endif
let current_compiler = "ghc"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "gjs"
let s:cpo_save = &cpo
@@ -4,6 +4,9 @@
" Based On: https://github.com/gleam-lang/gleam.vim
" Last Change: 2025 Apr 21
if exists('current_compiler')
finish
endif
let current_compiler = "gleam_build"
CompilerSet makeprg=gleam\ build
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "gm2"
let s:cpo_save = &cpo
+3
View File
@@ -17,6 +17,9 @@
" Help Page: compiler-gnat
"------------------------------------------------------------------------------
if (exists("current_compiler")&& current_compiler == "gnat") || version < 700
finish
endif
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2014 Aug 16
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
if exists('current_compiler')
finish
endif
let current_compiler = 'go'
let s:save_cpo = &cpo
+3
View File
@@ -9,6 +9,9 @@
" groff_compiler_args, groff_compiler_lang, and groff_compiler_encoding,
" which default to '', &spelllang and 'utf8'.
if exists("current_compiler")
finish
endif
let s:keepcpo = &cpo
set cpo&vim
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2016 Aug 29
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "haml"
let s:cpo_save = &cpo
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2024-05-23
" Upstream: https://git.sr.ht/~sircmpwn/hare.vim
if exists('current_compiler')
finish
endif
let current_compiler = 'hare'
let s:cpo_save = &cpo
+3
View File
@@ -16,6 +16,9 @@
" Thanks to Tim Brown again!!
"
if exists("current_compiler")
finish
endif
let current_compiler = "hp_acc"
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2004 Mar 27
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "icc"
" I think that Intel is calling the compiler icl under Windows
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "icont"
let s:cpo_save = &cpo
+3
View File
@@ -7,6 +7,9 @@
" https://bitbucket.org/xuhdev/compiler-ifort.vim
" License: Same as Vim
if exists('current_compiler')
finish
endif
let current_compiler = 'ifort'
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2012 Apr 30
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "intel"
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2012 Apr 30
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "irix5_c"
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2012 Apr 30
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "irix5_cpp"
let s:keepcpo= &cpo
set cpo&vim
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2024 Nov 19 (enable local javac_makeprg_params)
" 2025 Mar 11 (add comment for Dispatch)
if exists("current_compiler")
finish
endif
let current_compiler = "javac"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "jest"
let s:cpo_save = &cpo
+3
View File
@@ -5,6 +5,9 @@
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
" URL: http://dwsharp.users.sourceforge.net/vim/compiler
if exists("current_compiler")
finish
endif
let current_compiler = "jikes"
" Jikes defaults to printing output on stderr
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "jjs"
let s:cpo_save = &cpo
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2024 Apr 17
" Upstream: https://github.com/vito-c/jq.vim
if exists('b:current_compiler')
finish
endif
let b:current_compiler = 'jq'
let s:save_cpoptions = &cpoptions
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "jshint"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
if exists("current_compiler")
finish
endif
let current_compiler = "jsonlint"
let s:cpo_save = &cpo
+3
View File
@@ -3,6 +3,9 @@
" Maintainer: Alarcritty
" Last Change: 2026 Mar 20
if exists("current_compiler")
finish
endif
let current_compiler = "just"
let s:cpo_save = &cpo
+3
View File
@@ -9,6 +9,9 @@
" https://github.com/mikelue/vim-maven-plugin/issues/13)
" Last Change: 2025 Nov 18
if exists("current_compiler")
finish
endif
let current_compiler = "maven"
" CompilerSet makeprg=mvn
+3
View File
@@ -5,6 +5,9 @@
" Last Change: 2024 Mar 29
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "mcs"
let s:cpo_save = &cpo
+3
View File
@@ -4,6 +4,9 @@
" Last Change: 2012 Apr 30
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "mips_c"
let s:keepcpo= &cpo
set cpo&vim
@@ -4,6 +4,9 @@
" Last Change: 2012 Apr 30
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "mipspro_c89"
let s:keepcpo= &cpo
set cpo&vim

Some files were not shown because too many files have changed in this diff Show More