Minor fixes
This commit is contained in:
parent
8ef10b05ac
commit
4a005b8f8c
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue