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
-- HANDLE SCROLLING WITH MIDDLE MOUSE BUTTON PRESSED | |
local deferred = false | |
overrideOtherMouseDown = | |
hs.eventtap.new( | |
{hs.eventtap.event.types.otherMouseDown}, | |
function(e) | |
deferred = true | |
return 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
userChrome.ChromeTabs-Enabled true | |
userChrome.DarkTheme.TabFrameColor.Black.Enabled true | |
userChrome.DarkTheme.TabFrameType.Shadow.Enabled true | |
userChrome.DragSpace.Top.Fullscreen.Enabled true | |
userChrome.DragSpace.Top.Maximized.Enabled true | |
userChrome.DragSpace.Top.Windowed.Enabled true | |
userChrome.TabCorners.Option10.Enabled true | |
userChrome.Toolbar.Transparency.Low.Enabled 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
[editor] | |
true-color = true | |
color-modes = true | |
idle-timeout = 75 | |
[editor.indent-guides] | |
render = true | |
[editor.cursor-shape] | |
insert = "bar" |
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
"comment" = { fg = "#969da5", modifiers = ["italic"] } | |
"constant" = { fg = "#24292f" } | |
"constant.character.escape" = { fg = "#007025" } | |
"diagnostic.warning" = { underline = { color = "#7d4e00", style = "curl" } } | |
"diagnostic.error" = { underline = { color = "#f07171", style = "curl" } } | |
"diagnostic.info" = { underline = { color = "#007025", style = "curl" } } | |
"diagnostic.hint" = { underline = { color = "#007025", style = "curl" } } | |
"error" = { fg = "#f07171" } | |
"function" = { fg = "#24292f" } | |
"function.macro" = {} |
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 ls="ls -G" | |
alias ll="ls -lAh" | |
alias st="git status" | |
alias vim="nvim" | |
alias dff="git diff" | |
alias lg "git log --pretty=format:'%Cblue%>(12)%ad %C(yellow)%h %Cgreen%<(7)%aN%Cred%d %Creset%s' --date=short" | |
alias ad="git add -A" | |
alias cm="git commit -m" | |
alias gc="git checkout" | |
alias rgf="rg --files --hidden | rg" |
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
colors: | |
primary: | |
background: '#252729' | |
foreground: '#e0e2e4' | |
normal: | |
black: '#474646' | |
red: '#f97583' | |
green: '#85e89d' | |
yellow: '#ffab70' |
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 &background ==# 'dark' | |
let s:bg0 = "151515" | |
let s:bg1 = "202020" | |
let s:bg2 = "303030" | |
let s:bg3 = "505050" | |
let s:fg1 = "a7adba" | |
let s:fg2 = "eff1f5" | |
else | |
let s:bg0 = "F2F4F4" | |
let s:bg1 = "eaeded" |
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
# Monochromatic Color | |
cursor #928374 | |
cursor_text_color background | |
url_color #eff1f5 | |
visual_bell_color #8ec07c | |
bell_border_color #8ec07c |
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 vimouse = require('vimouse') | |
vimouse('cmd', 'm') | |
------------------------------------------------------- | |
-- Modal mode for windows movement | |
hs.window.animationDuration = 0.1 | |
local grid = require('hs.grid') | |
grid.MARGINX = 0 | |
grid.MARGINY = 0 | |
grid.GRIDHEIGHT = 40 |
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
use std::fmt::Display; | |
/* | |
money = currency_symbol number ; | |
currency_symbol = '$' | '£' | '€' ; | |
number = INTEGER ; | |
*/ | |
#[derive(Debug, PartialEq, Clone, Copy)] | |
enum TokenType { |