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
[ | |
{ | |
"name": "Corne 3x6 v2, markstos layout (All Layers)", | |
"author": "https://github.com/markstos", | |
"plate": false, | |
"keyboard-layout-editor": "http://www.keyboard-layout-editor.com/#/gists/adfa7c3cd8f0c6d3a7b9155c6eab1748#file-corne-crkbd_c0psrul3-default-json", | |
"qmk-config": "https://config.qmk.fm/#/crkbd/rev1/LAYOUT" | |
}, | |
[ | |
{ |
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
[START][2021-11-21 21:10:04] LSP logging initiated | |
[INFO][2021-11-21 21:10:04] .../vim/lsp/rpc.lua:258 "Starting RPC client" { | |
args = { "--stdio" }, | |
cmd = "vscode-eslint-language-server", | |
extra = {} | |
} | |
[TRACE][2021-11-21 21:10:04] .../lua/vim/lsp.lua:861 "LSP[eslint]" "initialize_params" { | |
capabilities = { | |
callHierarchy = { | |
dynamicRegistration = false |
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
-- | |
-- Move this file to your neovim lua runtime path ie. ~/.config/nvim/lua/au.lua | |
-- | |
local cmd = vim.api.nvim_command | |
local function autocmd(this, event, spec) | |
local is_table = type(spec) == 'table' | |
local pattern = is_table and spec[1] or '*' | |
local action = is_table and spec[2] or spec | |
if type(action) == 'function' then |
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
" 24 simple pseudo-text objects | |
" ----------------------------- | |
" i_ i. i: i, i; i| i/ i\ i* i+ i- i# | |
" a_ a. a: a, a; a| a/ a\ a* a+ a- a# | |
for char in [ '_', '.', ':', ',', ';', '<bar>', '/', '<bslash>', '*', '+', '-', '#' ] | |
execute 'xnoremap i' . char . ' :<C-u>normal! T' . char . 'vt' . char . '<CR>' | |
execute 'onoremap i' . char . ' :normal vi' . char . '<CR>' | |
execute 'xnoremap a' . char . ' :<C-u>normal! F' . char . 'vf' . char . '<CR>' | |
execute 'onoremap a' . char . ' :normal va' . char . '<CR>' | |
endfor |
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
if ! (( $+commands[tmux] )); then | |
print "zsh tmux plugin: tmux not found. Please install tmux before using this plugin." >&2 | |
return 1 | |
fi | |
# ALIASES | |
alias ta='tmux attach -t' | |
alias tad='tmux attach -d -t' | |
alias ts='tmux new-session -s' |
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
local api = vim.api | |
local cmd = vim.cmd | |
local fn = vim.fn | |
local W = {} | |
local base_opt = { | |
relative = 'editor', | |
style = 'minimal' | |
} |
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
#!/bin/zsh | |
### Added by Zinit's installer | |
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then | |
print -P "%F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma/zinit%F{220})…%f" | |
command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit" | |
command git clone https://github.com/zdharma/zinit "$HOME/.zinit/bin" && \ | |
print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \ | |
print -P "%F{160}▓▒░ The clone has failed.%f%b" | |
fi |
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
# Source manjaro-zsh-configuration | |
#if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then | |
# source /usr/share/zsh/manjaro-zsh-config | |
#fi | |
# Use manjaro zsh prompt | |
#if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then | |
# source /usr/share/zsh/manjaro-zsh-prompt | |
#fi | |
[[ -d ~/.zplug ]] || { |
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
#!/bin/bash | |
set -e | |
# IP Address Utilities | |
function ipInternal() { | |
# echo "Ethernet :: IP => $( ip -4 -o a show wlan1 | awk '{ print $4 }' )" | |
echo "Wireless :: IP => $( ip -4 -o a show wlo1 | awk '{ print $4 }' )" | |
} | |
function ipExternal() { |
NewerOlder