This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
// WINDOW NAVIGATION | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.action.navigateLeft", | |
"when": "vim.active && vim.mode != 'Insert'" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.navigateRight", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
s = !git status -s | |
c = !git add --all && git commit -m | |
l = !git log --pretty=format:'%C(cyan)%h%C(blue)%d %C(yellow)%s - %C(white)%cn, %cr' | |
which = !git branch | grep -i # quick grep to find by ticket number | |
lucky = !sh -c 'git checkout $(git which $1 -m1)' - # checkout by ticket number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// aside concepts: recursion, declarative/imperative programming, "virtual" dom, and "fake" react engine. | |
let markup = { | |
type: "article", | |
children: [ | |
{ | |
type: "h2", | |
children: [ | |
{ | |
type: "text", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// ---------- VIM ---------- // | |
"vim.leader": "<Space>", | |
"vim.foldfix": true, | |
"vim.useSystemClipboard": true, | |
"vim.highlightedyank.enable": true, | |
"vim.highlightedyank.color": "#c203fc", | |
"vim.hlsearch": true, | |
"vim.easymotion": true, | |
"vim.incsearch": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return { | |
n = { | |
["<S-L>"] = { | |
function() require("astronvim.utils.buffer").nav(vim.v.count > 0 and vim.v.count or 1) end, | |
desc = "Next buffer", | |
}, | |
["<S-H>"] = { | |
function() require("astronvim.utils.buffer").nav(-(vim.v.count > 0 and vim.v.count or 1)) end, | |
desc = "Previous buffer", | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set -g default-terminal "screen-256color" | |
set -s default-terminal 'tmux-256color' | |
set -g prefix C-Space | |
unbind C-b | |
bind-key C-Space send-prefix | |
unbind % | |
bind | split-window -h |