Adding git fugitive

This commit is contained in:
Zoe Roux
2022-04-06 22:50:13 +02:00
parent 6798d0724d
commit bcf520e887
3 changed files with 4 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ fi
plugins=(
zsh-vi-mode
sudo
copydir
copypath
copyfile
jsontools
docker-compose

View File

@@ -119,6 +119,7 @@ return packer.startup(function(use)
use "lukas-reineke/indent-blankline.nvim"
use "petertriho/nvim-scrollbar"
use "tpope/vim-fugitive"
use { "lewis6991/gitsigns.nvim", requires = { 'nvim-lua/plenary.nvim' } }

View File

@@ -71,6 +71,8 @@ keymap("x", "<leader>y", '"+y', opts)
keymap("n", "<leader>Y", '"+Y', opts)
keymap("x", "<leader>Y", '"+Y', opts)
keymap("t", "<C-W>", "<C-\\><C-N><C-W>", opts)
vim.cmd [[
augroup highlight_yank
autocmd!