Compare commits
No commits in common. "d4053a83d35666ef1b024d31067606a7b628e752" and "41d9b68fe7b8541eb26fe06c34d480827c363b4d" have entirely different histories.
d4053a83d3
...
41d9b68fe7
5 changed files with 4 additions and 6 deletions
|
@ -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)"
|
||||||
|
|
||||||
|
|
|
@ -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 \"$(date +\"%Y.%m.%d %H:%M:%S\")\"
|
cmt = !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\")\"
|
save = !git add -A && git commit -m \"time: $(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
|
||||||
|
|
|
@ -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, fmt"Run {formatter} on all git-managed .nim files in the current repo":
|
task fmt, "Run nimpretty 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:
|
||||||
|
|
|
@ -11,5 +11,4 @@ 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",
|
|
||||||
})
|
})
|
||||||
|
|
|
@ -35,6 +35,5 @@ 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
|
||||||
|
|
Loading…
Reference in a new issue