Compare commits
2
Commits
master
..
ae12c8f845
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae12c8f845 | ||
|
|
4b1b16e940 |
+1
-2
@@ -1,3 +1,4 @@
|
|||||||
|
lazy-lock.json
|
||||||
.DS_Store
|
.DS_Store
|
||||||
gomono/.local/share/fonts/GoMonoNerdFont/.uuid
|
gomono/.local/share/fonts/GoMonoNerdFont/.uuid
|
||||||
mpv/.local/state/mpv/watch_history.jsonl
|
mpv/.local/state/mpv/watch_history.jsonl
|
||||||
@@ -8,5 +9,3 @@ st-0.9.2/x.o
|
|||||||
karabiner-ts-config/node_modules
|
karabiner-ts-config/node_modules
|
||||||
__pycache__
|
__pycache__
|
||||||
tags
|
tags
|
||||||
vim/.vim/view
|
|
||||||
vim/.vim/.netrwhist
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
open -n -a "kitty.app"
|
open -n -a "alacritty.app"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ dynamic_padding = true
|
|||||||
decorations = "Buttonless"
|
decorations = "Buttonless"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal.family = "Comic Code"
|
normal.family = "GoMono Nerd Font Mono"
|
||||||
size = 12
|
size = 12
|
||||||
|
|
||||||
# Subtle positional tuning
|
# Subtle positional tuning
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
run:
|
|
||||||
tcc -run main.c
|
|
||||||
|
|
||||||
tags:
|
|
||||||
ctags --langmap=c:.c.h --languages=c -R .
|
|
||||||
@@ -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;
|
|
||||||
}
|
|
||||||
@@ -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
@@ -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
@@ -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
@@ -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
|
|
||||||
@@ -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
@@ -1,12 +1,16 @@
|
|||||||
|
# i3 config generated to mimic your sway config
|
||||||
|
|
||||||
# Set mod key (Mod1 = Alt)
|
# Set mod key (Mod1 = Alt)
|
||||||
set $mod Mod1
|
set $mod Mod1
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
set $down j
|
||||||
set $up k
|
set $up k
|
||||||
set $right l
|
set $right l
|
||||||
set $term kitty
|
set $term alacritty
|
||||||
set $just just --justfile ~/.config/i3/justfile
|
set $just just --justfile ~/.config/i3/justfile
|
||||||
|
|
||||||
|
for_window [class=".*"] fullscreen disable
|
||||||
|
for_window [class=".*"] floating disable
|
||||||
floating_minimum_size -1 x -1
|
floating_minimum_size -1 x -1
|
||||||
floating_maximum_size -1 x -1
|
floating_maximum_size -1 x -1
|
||||||
|
|
||||||
@@ -32,7 +36,7 @@ floating_modifier $mod
|
|||||||
bindsym $mod+Shift+r reload
|
bindsym $mod+Shift+r reload
|
||||||
|
|
||||||
# Exit i3
|
# 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_follows_mouse yes
|
||||||
focus_on_window_activation none
|
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)
|
# Screenshot (use scrot instead of grim)
|
||||||
bindsym Print exec scrot ~/Pictures/screenshot-%Y-%m-%d-%H%M%S.png
|
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)
|
# Status bar (use i3bar + i3status)
|
||||||
bar {
|
bar {
|
||||||
status_command i3status
|
status_command i3status
|
||||||
|
|
||||||
colors {
|
|
||||||
#class border background text
|
|
||||||
focused_workspace #ffffff #ffffff #000000
|
|
||||||
inactive_workspace #333333 #333333 #ffffff
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ choose-monitor:
|
|||||||
just reset-wallpaper
|
just reset-wallpaper
|
||||||
|
|
||||||
reset-wallpaper:
|
reset-wallpaper:
|
||||||
xsetroot -solid black
|
feh --bg-fill ~/.wallpaper/
|
||||||
|
|
||||||
program-picker:
|
program-picker:
|
||||||
rofi -show drun
|
dmenu_run -p 'start program'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
;; vim:foldmethod=marker
|
||||||
|
|
||||||
(defcfg
|
(defcfg ;;{{{1
|
||||||
process-unmapped-keys yes
|
process-unmapped-keys yes
|
||||||
)
|
)
|
||||||
|
|
||||||
(defsrc
|
(defsrc ;;{{{1
|
||||||
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
|
|
||||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
tab q w e r t y u i o p [ ] \
|
tab q w e r t y u i o p [ ] \
|
||||||
caps a s d f g h j k l ; ' ret
|
caps a s d f g h j k l ; ' ret
|
||||||
@@ -12,37 +12,74 @@
|
|||||||
lctl lmet lalt spc ralt rmet rctl
|
lctl lmet lalt spc ralt rmet rctl
|
||||||
)
|
)
|
||||||
|
|
||||||
(deflayer default
|
(deflayer default ;;{{{1
|
||||||
brdn brup bldn blup f5 f6 prev pp next mute vold volu
|
|
||||||
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
tab q w e r t y u i o p [ ] \
|
tab q w e r t y u i o p [ ] \
|
||||||
@cap a s d f g h j k l ; ' ret
|
@cap a s d f g h j k l ; ' ret
|
||||||
lsft z x c v b n m , . / rsft
|
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
|
(deflayer gaming ;;{{{1
|
||||||
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
|
|
||||||
esc 1 2 3 4 5 6 7 8 9 0 - = bspc
|
esc 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
tab q w e r t y u i o p [ ] \
|
tab q w e r t y u i o p [ ] \
|
||||||
XX a s d f g h j k l ; ' ret
|
XX a s d f g h j k l ; ' ret
|
||||||
lsft z x c v b n m , . / rsft
|
lsft z x c v b n m , . / rsft
|
||||||
lctl lmet lalt spc @dflt rmet rctl
|
lctl lmet \ spc @dflt rmet rctl
|
||||||
)
|
)
|
||||||
|
|
||||||
(defalias
|
(deflayer symbols ;;{{{1
|
||||||
cap (tap-hold-press 0 200 esc lctl)
|
grv @1 @2 @3 @4 @5 @6 @7 @8 @9 @0 _ _ bspc
|
||||||
shsp (tap-hold-press 0 200 spc lsft)
|
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)
|
gmng (layer-switch gaming)
|
||||||
dflt (layer-switch default)
|
dflt (layer-switch default)
|
||||||
mus (layer-while-held mouse)
|
|
||||||
)
|
|
||||||
|
|
||||||
(deflayermap (mouse)
|
cap (tap-hold-press 0 200 esc lctl)
|
||||||
h (movemouse-left 10 5)
|
lasp (tap-hold-press 0 200 spc (layer-while-held symbols))
|
||||||
j (movemouse-down 10 5)
|
shsp (tap-hold-press 0 200 spc lsft)
|
||||||
k (movemouse-up 10 5)
|
bl S-9
|
||||||
l (movemouse-right 10 5)
|
br S-0
|
||||||
n mltp
|
{ (macro S-[)
|
||||||
p mrtp
|
} (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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+11
-11
@@ -35,24 +35,24 @@
|
|||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"devices": [
|
|
||||||
{
|
{
|
||||||
"identifiers": {
|
"description": "swap alt and cmd",
|
||||||
"is_keyboard": true,
|
"manipulators": [
|
||||||
"product_id": 21042,
|
{
|
||||||
"vendor_id": 1155
|
"from": { "key_code": "left_option" },
|
||||||
|
"to": [{ "key_code": "left_command" }],
|
||||||
|
"type": "basic"
|
||||||
},
|
},
|
||||||
"simple_modifications": [
|
|
||||||
{
|
{
|
||||||
"from": { "key_code": "grave_accent_and_tilde" },
|
"from": { "key_code": "left_command" },
|
||||||
"to": [{ "key_code": "non_us_backslash" }]
|
"to": [{ "key_code": "left_option" }],
|
||||||
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
|
},
|
||||||
"name": "KarabinerTS",
|
"name": "KarabinerTS",
|
||||||
"selected": true,
|
"selected": true,
|
||||||
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
||||||
+12
-12
@@ -35,25 +35,26 @@
|
|||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"devices": [
|
|
||||||
{
|
{
|
||||||
"identifiers": {
|
"description": "swap alt and cmd",
|
||||||
"is_keyboard": true,
|
"manipulators": [
|
||||||
"product_id": 21042,
|
{
|
||||||
"vendor_id": 1155
|
"from": { "key_code": "left_option" },
|
||||||
|
"to": [{ "key_code": "left_command" }],
|
||||||
|
"type": "basic"
|
||||||
},
|
},
|
||||||
"simple_modifications": [
|
|
||||||
{
|
{
|
||||||
"from": { "key_code": "grave_accent_and_tilde" },
|
"from": { "key_code": "left_command" },
|
||||||
"to": [{ "key_code": "non_us_backslash" }]
|
"to": [{ "key_code": "left_option" }],
|
||||||
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
|
},
|
||||||
"name": "KarabinerTS",
|
"name": "KarabinerTS",
|
||||||
|
"selected": true,
|
||||||
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -107,7 +108,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"name": "Modified profile",
|
"name": "Modified profile",
|
||||||
"selected": true,
|
|
||||||
"virtual_hid_keyboard": {
|
"virtual_hid_keyboard": {
|
||||||
"country_code": 0,
|
"country_code": 0,
|
||||||
"keyboard_type_v2": "iso"
|
"keyboard_type_v2": "iso"
|
||||||
+11
-11
@@ -35,24 +35,24 @@
|
|||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"devices": [
|
|
||||||
{
|
{
|
||||||
"identifiers": {
|
"description": "swap alt and cmd",
|
||||||
"is_keyboard": true,
|
"manipulators": [
|
||||||
"product_id": 21042,
|
{
|
||||||
"vendor_id": 1155
|
"from": { "key_code": "left_option" },
|
||||||
|
"to": [{ "key_code": "left_command" }],
|
||||||
|
"type": "basic"
|
||||||
},
|
},
|
||||||
"simple_modifications": [
|
|
||||||
{
|
{
|
||||||
"from": { "key_code": "grave_accent_and_tilde" },
|
"from": { "key_code": "left_command" },
|
||||||
"to": [{ "key_code": "non_us_backslash" }]
|
"to": [{ "key_code": "left_option" }],
|
||||||
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
|
},
|
||||||
"name": "KarabinerTS",
|
"name": "KarabinerTS",
|
||||||
"selected": true,
|
"selected": true,
|
||||||
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
||||||
+11
-11
@@ -35,24 +35,24 @@
|
|||||||
"type": "basic"
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"devices": [
|
|
||||||
{
|
{
|
||||||
"identifiers": {
|
"description": "swap alt and cmd",
|
||||||
"is_keyboard": true,
|
"manipulators": [
|
||||||
"product_id": 21042,
|
{
|
||||||
"vendor_id": 1155
|
"from": { "key_code": "left_option" },
|
||||||
|
"to": [{ "key_code": "left_command" }],
|
||||||
|
"type": "basic"
|
||||||
},
|
},
|
||||||
"simple_modifications": [
|
|
||||||
{
|
{
|
||||||
"from": { "key_code": "grave_accent_and_tilde" },
|
"from": { "key_code": "left_command" },
|
||||||
"to": [{ "key_code": "non_us_backslash" }]
|
"to": [{ "key_code": "left_option" }],
|
||||||
|
"type": "basic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
|
},
|
||||||
"name": "KarabinerTS",
|
"name": "KarabinerTS",
|
||||||
"selected": true,
|
"selected": true,
|
||||||
"virtual_hid_keyboard": { "keyboard_type_v2": "iso" }
|
"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" }]
|
"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",
|
"name": "KarabinerTS",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
|||||||
|
save-position-on-quit
|
||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: Mi, 13 Apr 2005 22:50:07 CEST
|
" Last Change: Mi, 13 Apr 2005 22:50:07 CEST
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "ant"
|
let current_compiler = "ant"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
if exists("current_compiler") | finish | endif
|
||||||
let current_compiler = "basedpyright"
|
let current_compiler = "basedpyright"
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: @konfekt
|
" Maintainer: @konfekt
|
||||||
" Last Change: 2024 Dec 27
|
" Last Change: 2024 Dec 27
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "bash"
|
let current_compiler = "bash"
|
||||||
|
|
||||||
CompilerSet makeprg=bash\ -n
|
CompilerSet makeprg=bash\ -n
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "bcc"
|
let current_compiler = "bcc"
|
||||||
|
|
||||||
" A workable errorformat for Borland C
|
" A workable errorformat for Borland C
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" Last Change: 2024 Mar 29
|
" Last Change: 2024 Mar 29
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "bdf"
|
let current_compiler = "bdf"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" JSONC, HTML, Vue, Svelte, Astro, CSS, GraphQL and GritQL files)
|
" JSONC, HTML, Vue, Svelte, Astro, CSS, GraphQL and GritQL files)
|
||||||
" Maintainer: @Konfekt
|
" Maintainer: @Konfekt
|
||||||
" Last Change: 2025 Nov 12
|
" Last Change: 2025 Nov 12
|
||||||
|
if exists("current_compiler") | finish | endif
|
||||||
let current_compiler = "biome"
|
let current_compiler = "biome"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
" Compiler: Haskell Cabal Build file
|
" Compiler: Haskell Cabal Build file
|
||||||
" Maintainer: Mateo Gjika <@mateoxh>
|
" Maintainer: Mateo Gjika <@mateoxh>
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let current_compiler = 'cabal'
|
let current_compiler = 'cabal'
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
||||||
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
|
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
runtime compiler/rustc.vim
|
runtime compiler/rustc.vim
|
||||||
let current_compiler = "cargo"
|
let current_compiler = "cargo"
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "checkstyle"
|
let current_compiler = "checkstyle"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "cm3"
|
let current_compiler = "cm3"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
|
" Maintainer: Nicola Vitacolonna <nvitacolonna@gmail.com>
|
||||||
" Last Change: 2016 Oct 21
|
" Last Change: 2016 Oct 21
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
" Maintainer: Vincent B. (twinside@free.fr)
|
" Maintainer: Vincent B. (twinside@free.fr)
|
||||||
" Last Change: 2025 Nov 06 by @Konfekt
|
" Last Change: 2025 Nov 06 by @Konfekt
|
||||||
|
|
||||||
|
if exists("current_compiler") | finish | endif
|
||||||
let current_compiler = "cppcheck"
|
let current_compiler = "cppcheck"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" Last Change: Jul 22, 2019
|
" Last Change: Jul 22, 2019
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "cs"
|
let current_compiler = "cs"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2016 May 21
|
" Last Change: 2016 May 21
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "csslint"
|
let current_compiler = "csslint"
|
||||||
|
|
||||||
CompilerSet makeprg=csslint\ --format=compact
|
CompilerSet makeprg=csslint\ --format=compact
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2016 Aug 29
|
" Last Change: 2016 Aug 29
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "cucumber"
|
let current_compiler = "cucumber"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dart"
|
let current_compiler = "dart"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dart2js"
|
let current_compiler = "dart2js"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dart2native"
|
let current_compiler = "dart2native"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dartanalyzer"
|
let current_compiler = "dartanalyzer"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dartdevc"
|
let current_compiler = "dartdevc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dartdoc"
|
let current_compiler = "dartdoc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dartfmt"
|
let current_compiler = "dartfmt"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
"------------------------------------------------------------------------------
|
"------------------------------------------------------------------------------
|
||||||
" Last Change: 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 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
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2024 March 21
|
" Last Change: 2024 March 21
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dot"
|
let current_compiler = "dot"
|
||||||
|
|
||||||
CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
|
CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
" License: Vim (see :h license)
|
" License: Vim (see :h license)
|
||||||
" Repository: https://github.com/nickspoons/vim-cs
|
" Repository: https://github.com/nickspoons/vim-cs
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "dotnet"
|
let current_compiler = "dotnet"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2019 Jul 23
|
" Last Change: 2019 Jul 23
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "erlang"
|
let current_compiler = "erlang"
|
||||||
|
|
||||||
CompilerSet makeprg=erlc\ -Wall\ %:S
|
CompilerSet makeprg=erlc\ -Wall\ %:S
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" URL: https://github.com/vim-ruby/vim-ruby
|
" URL: https://github.com/vim-ruby/vim-ruby
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "eruby"
|
let current_compiler = "eruby"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
||||||
" Last Change: 2024 Nov 30
|
" Last Change: 2024 Nov 30
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "eslint"
|
let current_compiler = "eslint"
|
||||||
|
|
||||||
CompilerSet makeprg=npx\ eslint\ --format\ stylish
|
CompilerSet makeprg=npx\ eslint\ --format\ stylish
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fbc"
|
let current_compiler = "fbc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_F"
|
let current_compiler = "fortran_F"
|
||||||
|
|
||||||
let s:cposet=&cpoptions
|
let s:cposet=&cpoptions
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 11/05/2002
|
" Last Change: 11/05/2002
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_cv"
|
let current_compiler = "fortran_cv"
|
||||||
|
|
||||||
let s:cposet = &cpoptions
|
let s:cposet = &cpoptions
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_elf90"
|
let current_compiler = "fortran_elf90"
|
||||||
|
|
||||||
let s:cposet=&cpoptions
|
let s:cposet=&cpoptions
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
" $Revision: 1.1 $
|
" $Revision: 1.1 $
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_g77"
|
let current_compiler = "fortran_g77"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fortran_lf95"
|
let current_compiler = "fortran_lf95"
|
||||||
|
|
||||||
let s:cposet=&cpoptions
|
let s:cposet=&cpoptions
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2005 October 07
|
" Last Change: 2005 October 07
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "fpc"
|
let current_compiler = "fpc"
|
||||||
|
|
||||||
" NOTE: compiler must be run with -vb to write whole source path, not only file
|
" NOTE: compiler must be run with -vb to write whole source path, not only file
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
" https://bitbucket.org/xuhdev/compiler-g95.vim
|
" https://bitbucket.org/xuhdev/compiler-g95.vim
|
||||||
" License: Same as Vim
|
" License: Same as Vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'g95'
|
let current_compiler = 'g95'
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "gawk"
|
let current_compiler = "gawk"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 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')
|
" 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 current_compiler = "gcc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
|
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
|
||||||
" License: Same as Vim
|
" License: Same as Vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'gfortran'
|
let current_compiler = 'gfortran'
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Daniel Campoverde <alx@sillybytes.net>
|
" Maintainer: Daniel Campoverde <alx@sillybytes.net>
|
||||||
" Latest Revision: 2016-11-29
|
" Latest Revision: 2016-11-29
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "ghc"
|
let current_compiler = "ghc"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "gjs"
|
let current_compiler = "gjs"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Based On: https://github.com/gleam-lang/gleam.vim
|
" Based On: https://github.com/gleam-lang/gleam.vim
|
||||||
" Last Change: 2025 Apr 21
|
" Last Change: 2025 Apr 21
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "gleam_build"
|
let current_compiler = "gleam_build"
|
||||||
|
|
||||||
CompilerSet makeprg=gleam\ build
|
CompilerSet makeprg=gleam\ build
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "gm2"
|
let current_compiler = "gm2"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -17,6 +17,9 @@
|
|||||||
" Help Page: compiler-gnat
|
" Help Page: compiler-gnat
|
||||||
"------------------------------------------------------------------------------
|
"------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if (exists("current_compiler")&& current_compiler == "gnat") || version < 700
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2014 Aug 16
|
" Last Change: 2014 Aug 16
|
||||||
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'go'
|
let current_compiler = 'go'
|
||||||
|
|
||||||
let s:save_cpo = &cpo
|
let s:save_cpo = &cpo
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
" groff_compiler_args, groff_compiler_lang, and groff_compiler_encoding,
|
" groff_compiler_args, groff_compiler_lang, and groff_compiler_encoding,
|
||||||
" which default to '', &spelllang and 'utf8'.
|
" which default to '', &spelllang and 'utf8'.
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
let s:keepcpo = &cpo
|
let s:keepcpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2016 Aug 29
|
" Last Change: 2016 Aug 29
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "haml"
|
let current_compiler = "haml"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2024-05-23
|
" Last Change: 2024-05-23
|
||||||
" Upstream: https://git.sr.ht/~sircmpwn/hare.vim
|
" Upstream: https://git.sr.ht/~sircmpwn/hare.vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'hare'
|
let current_compiler = 'hare'
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
" Thanks to Tim Brown again!!
|
" Thanks to Tim Brown again!!
|
||||||
"
|
"
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "hp_acc"
|
let current_compiler = "hp_acc"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2004 Mar 27
|
" Last Change: 2004 Mar 27
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "icc"
|
let current_compiler = "icc"
|
||||||
|
|
||||||
" I think that Intel is calling the compiler icl under Windows
|
" I think that Intel is calling the compiler icl under Windows
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "icont"
|
let current_compiler = "icont"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
" https://bitbucket.org/xuhdev/compiler-ifort.vim
|
" https://bitbucket.org/xuhdev/compiler-ifort.vim
|
||||||
" License: Same as Vim
|
" License: Same as Vim
|
||||||
|
|
||||||
|
if exists('current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = 'ifort'
|
let current_compiler = 'ifort'
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "intel"
|
let current_compiler = "intel"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "irix5_c"
|
let current_compiler = "irix5_c"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "irix5_cpp"
|
let current_compiler = "irix5_cpp"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2024 Nov 19 (enable local javac_makeprg_params)
|
" Last Change: 2024 Nov 19 (enable local javac_makeprg_params)
|
||||||
" 2025 Mar 11 (add comment for Dispatch)
|
" 2025 Mar 11 (add comment for Dispatch)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "javac"
|
let current_compiler = "javac"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jest"
|
let current_compiler = "jest"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
" URL: http://dwsharp.users.sourceforge.net/vim/compiler
|
" URL: http://dwsharp.users.sourceforge.net/vim/compiler
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jikes"
|
let current_compiler = "jikes"
|
||||||
|
|
||||||
" Jikes defaults to printing output on stderr
|
" Jikes defaults to printing output on stderr
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jjs"
|
let current_compiler = "jjs"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2024 Apr 17
|
" Last Change: 2024 Apr 17
|
||||||
" Upstream: https://github.com/vito-c/jq.vim
|
" Upstream: https://github.com/vito-c/jq.vim
|
||||||
|
|
||||||
|
if exists('b:current_compiler')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let b:current_compiler = 'jq'
|
let b:current_compiler = 'jq'
|
||||||
|
|
||||||
let s:save_cpoptions = &cpoptions
|
let s:save_cpoptions = &cpoptions
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jshint"
|
let current_compiler = "jshint"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2024 Apr 03
|
" Last Change: 2024 Apr 03
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "jsonlint"
|
let current_compiler = "jsonlint"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
" Maintainer: Alarcritty
|
" Maintainer: Alarcritty
|
||||||
" Last Change: 2026 Mar 20
|
" Last Change: 2026 Mar 20
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "just"
|
let current_compiler = "just"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
" https://github.com/mikelue/vim-maven-plugin/issues/13)
|
" https://github.com/mikelue/vim-maven-plugin/issues/13)
|
||||||
" Last Change: 2025 Nov 18
|
" Last Change: 2025 Nov 18
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "maven"
|
let current_compiler = "maven"
|
||||||
|
|
||||||
" CompilerSet makeprg=mvn
|
" CompilerSet makeprg=mvn
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
" Last Change: 2024 Mar 29
|
" Last Change: 2024 Mar 29
|
||||||
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "mcs"
|
let current_compiler = "mcs"
|
||||||
|
|
||||||
let s:cpo_save = &cpo
|
let s:cpo_save = &cpo
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "mips_c"
|
let current_compiler = "mips_c"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
" Last Change: 2012 Apr 30
|
" Last Change: 2012 Apr 30
|
||||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||||
|
|
||||||
|
if exists("current_compiler")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
let current_compiler = "mipspro_c89"
|
let current_compiler = "mipspro_c89"
|
||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user