Minor fixes

This commit is contained in:
Andrew Tomaka 2022-11-22 20:14:36 -05:00
parent 8ef10b05ac
commit 4a005b8f8c
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
2 changed files with 6 additions and 1 deletions

View file

@ -2,7 +2,11 @@ local ensure_packer = function()
local fn = vim.fn local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then if fn.empty(fn.glob(install_path)) > 0 then
fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) fn.system({
'git', 'clone', '--depth', '1',
'https://github.com/wbthomason/packer.nvim',
install_path
})
vim.cmd [[packadd packer.nvim]] vim.cmd [[packadd packer.nvim]]
return true return true
end end

View file

@ -39,6 +39,7 @@ alias gm="git merge"
alias gma="git merge --abort" alias gma="git merge --abort"
alias gmc="git merge --continue" alias gmc="git merge --continue"
alias gmr="git most-recent-by-branch" alias gmr="git most-recent-by-branch"
alias gms="git merge --squash"
alias gp="git push" alias gp="git push"
alias gpf="git push --force" alias gpf="git push --force"
alias gpl="git pull" alias gpl="git pull"