Skip to content

Instantly share code, notes, and snippets.

{
"throw unimplemeted error": {
"prefix": "unimplemented",
"body": [
"throw \"Unimplemented\";",
""
],
"description": "throw unimplemeted error"
},
"Stateless Widget": {
// uefer to this link to wind the possible when conditions
// https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts
[
{
"key": "ctrl+e",
"command": "workbench.action.focusBelowGroup"
},
// Vim like
{
"key": "p",
;; rule [:period ["period-mode" 1] nil {:afterup ["period-mode" 0] :alone :period}]
;; |_____| |_______________| |_| |_________________________________________|
;; <from> <to> <conditions> <other options>
;;arstarstarst12340987arstarst
{:default true
:sim 50 :delay 200 :alone 500 :held 500 :simlayer-threshold 210
:froms
{:yay {:key :a}
:yak {:key :b}
;
@saif97
saif97 / karabiner.edn
Last active January 15, 2022 18:17
my Goku configs for Karabiner-elements
;; ! | means mandatory - modifier(s) alone when pressend change behavior
;; # | means optional - modifiers are optional (but atleast one necessary)
;; :!Ca is keycode :a and prefix a with !C
;; C | left_command
;; T | left_control
;; O | left_option
;; S | left_shift
;; F | fn
include: package:lint/analysis_options.yaml
# https://github.com/passsy/dart-lint/blob/master/lib/analysis_options.yaml
# To enable new Rules
#linter:
# rules:
# - parameter_assignments
# first_rule: false # disable
# second_rule: true # enable
@saif97
saif97 / vim vscode settings
Last active May 24, 2020 02:17
I'm trying to switch to NeoVim vs code this is backup for my settings
// ! -------------------- END VIM SETTINGS --------------------
"vim.vimrc.path": "L:\\dotFiles\\.vimrc",
"vim.easymotion": true,
"vim.camelCaseMotion.enable": true,
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "t"],
"commands": ["workbench.action.splitEditor"]
},
{