diff --git a/gitconfig b/gitconfig index 0a1a5cf..bac91d2 100644 --- a/gitconfig +++ b/gitconfig @@ -26,6 +26,7 @@ cp = cherry-pick cp2 = "!fn() { git cherry-pick $1~2..$1; }; fn" cp3 = "!fn() { git cherry-pick $1~3..$1; }; fn" + cp4 = "!fn() { git cherry-pick $1~4..$1; }; fn" cpls = !git cp $(git ls) d = diff dls = !git diff $(git branch | fzf) @@ -43,7 +44,9 @@ lm = logme logme = !sh -c 'git log --author=\"$(git config --get user.name)\"' ls = !git branch --format '%(refname:short)' | fzf + mls = !git merge $(git ls) mr = !git merge $(git rb) + mrb = mr mt = merge -s recursive -X theirs nb = checkout -b nuke1 = reset --hard HEAD^ @@ -83,6 +86,7 @@ sshp = stash show -p undo = reset --soft HEAD^ wip = !git add . && git commit -m 'WIP' + wt = worktree [user] email = rob@netflux.io name = Rob Watson diff --git a/nvimrc b/nvimrc index 56dcccf..d09b193 100644 --- a/nvimrc +++ b/nvimrc @@ -536,7 +536,7 @@ require 'nvim-treesitter.configs'.setup { ensure_installed = "all", highlight = { enable = true, - disable = {"vim"}, + disable = {"vim", "swift"}, additional_vim_regex_highlighting = true, }, incremental_selection = {