Compare commits
5 commits
41d9b68fe7
...
d4053a83d3
Author | SHA1 | Date | |
---|---|---|---|
d4053a83d3 | |||
03e3b9ac9e | |||
d7fd425a79 | |||
982c6eca08 | |||
25263a8655 |
5 changed files with 6 additions and 4 deletions
|
@ -3,5 +3,5 @@
|
|||
GIT_DIR="${HOME}/stuff/notes"
|
||||
# notes
|
||||
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
|
||||
undo = reset HEAD~1 --mixed
|
||||
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\")\"
|
||||
save = !git add -A && 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 \"save: $(date +\"%Y.%m.%d %H:%M:%S\")\"
|
||||
aliases = "!git config -l | grep alias | cut -c 7-"
|
||||
gl = config --global -l
|
||||
rb5 = rebase -i HEAD~5
|
||||
|
|
|
@ -42,7 +42,7 @@ proc formatNimCode(pattern = r"^[src|tests].*\.nim(s)?$") =
|
|||
echo "Running $1 .." % [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 .
|
||||
let dirs = forward_args("fmt")
|
||||
if dirs.len == 0:
|
||||
|
|
|
@ -11,4 +11,5 @@ return disable({
|
|||
"folke/tokyonight.nvim",
|
||||
-- snippets are wildly really annoying
|
||||
"L3MON4D3/LuaSnip",
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
})
|
||||
|
|
|
@ -35,5 +35,6 @@ config.initial_cols = 80
|
|||
config.enable_wayland = false
|
||||
config.keys = require("keys")
|
||||
config.default_gui_startup_args = { "start", "--always-new-process" }
|
||||
config.warn_about_missing_glyphs = false
|
||||
|
||||
return config
|
||||
|
|
Loading…
Reference in a new issue