Skip to content

Instantly share code, notes, and snippets.

@AlexPl292
AlexPl292 / .ideavimrc
Last active June 28, 2024 18:39
My `~/.ideavimrc` file
let mapleader=" "
""" Plugins --------------------------------
set surround
set multiple-cursors
set commentary
set argtextobj
set easymotion
set textobj-entire
set ReplaceWithRegister
@SebastienWae
SebastienWae / alfred-kitty-remote.applescript
Last active December 29, 2023 14:03
Implementation of Kitty remote control for Alfred custom terminal
use framework "Foundation"
use scripting additions
-- https://forum.latenightsw.com/t/reading-json-data-with-nsjsonserialization/958/2
on readJSON(strJSON)
set ca to current application
set {x, e} to ca's NSJSONSerialization's JSONObjectWithData:((ca's NSString's stringWithString:strJSON)'s dataUsingEncoding:(ca's NSUTF8StringEncoding)) options:0 |error|:(reference)
if x is missing value then
error e's localizedDescription() as text
else