Compare commits

...

5 commits

5 changed files with 6 additions and 4 deletions

View file

@ -3,5 +3,5 @@
GIT_DIR="${HOME}/stuff/notes" GIT_DIR="${HOME}/stuff/notes"
# notes # notes
fn add fn add
notify-send "fieldnotes" "$(git -C $GIT_DIR commit -m ":memo:" -- notes)" # notify-send "fieldnotes" "$(git -C $GIT_DIR commit -m ":memo:" -- notes)"

View file

@ -52,8 +52,8 @@ cob = checkout -b
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
undo = reset HEAD~1 --mixed undo = reset HEAD~1 --mixed
wip = !git add -A && git commit -m \"wip: $(date +\"%Y.%m.%d %H:%M:%S\")\" wip = !git add -A && git commit -m \"wip: $(date +\"%Y.%m.%d %H:%M:%S\")\"
cmt = !git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\" cmt = !git commit -m \"$(date +\"%Y.%m.%d %H:%M:%S\")\"
save = !git add -A && git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\" save = !git add -A && git commit -m \"save: $(date +\"%Y.%m.%d %H:%M:%S\")\"
aliases = "!git config -l | grep alias | cut -c 7-" aliases = "!git config -l | grep alias | cut -c 7-"
gl = config --global -l gl = config --global -l
rb5 = rebase -i HEAD~5 rb5 = rebase -i HEAD~5

View file

@ -42,7 +42,7 @@ proc formatNimCode(pattern = r"^[src|tests].*\.nim(s)?$") =
echo "Running $1 .." % [cmd] echo "Running $1 .." % [cmd]
exec(cmd) exec(cmd)
task fmt, "Run nimpretty on all git-managed .nim files in the current repo": task fmt, fmt"Run {formatter} on all git-managed .nim files in the current repo":
## Usage: nim fmt | nim fmt . ## Usage: nim fmt | nim fmt .
let dirs = forward_args("fmt") let dirs = forward_args("fmt")
if dirs.len == 0: if dirs.len == 0:

View file

@ -11,4 +11,5 @@ return disable({
"folke/tokyonight.nvim", "folke/tokyonight.nvim",
-- snippets are wildly really annoying -- snippets are wildly really annoying
"L3MON4D3/LuaSnip", "L3MON4D3/LuaSnip",
"nvim-neo-tree/neo-tree.nvim",
}) })

View file

@ -35,5 +35,6 @@ config.initial_cols = 80
config.enable_wayland = false config.enable_wayland = false
config.keys = require("keys") config.keys = require("keys")
config.default_gui_startup_args = { "start", "--always-new-process" } config.default_gui_startup_args = { "start", "--always-new-process" }
config.warn_about_missing_glyphs = false
return config return config