From c38df3b080488224f5d307eb02d4bf3ce222c3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=88=D0=BE=D0=B2=D0=B0=D0=BD=20=D0=82=D0=BE=D0=BA=D0=B8?= =?UTF-8?q?=D1=9B-=D0=A8=D1=83=D0=BC=D0=B0=D1=80=D0=B0=D1=86?= Date: Wed, 2 Aug 2023 20:35:16 +0200 Subject: [PATCH] Test for git integration --- lua/options/keybind.lua | 8 ++++++++ lua/plugins/gitsigns.lua | 2 +- lua/plugins/lazy.lua | 5 +---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/lua/options/keybind.lua b/lua/options/keybind.lua index e1829c7..1b6fb1b 100644 --- a/lua/options/keybind.lua +++ b/lua/options/keybind.lua @@ -6,12 +6,20 @@ local cmd_options = { noremap = true, silent = true } local tele = require('telescope.builtin') +local neogit = require('neogit') + + + vim.g.mapleader = " " +map("n", "g", "Neogit kind=split", options) + + + -- TELESCOPE cmap("n", "ff", tele.find_files, options) map("n", "fh", "Telescope find_files hidden=true", options) diff --git a/lua/plugins/gitsigns.lua b/lua/plugins/gitsigns.lua index a6c0b3b..33cafe8 100644 --- a/lua/plugins/gitsigns.lua +++ b/lua/plugins/gitsigns.lua @@ -4,7 +4,7 @@ require('gitsigns').setup { change = { text = '│' }, delete = { text = '│' }, topdelete = { text = '│' }, - changedelete = { text = '/' }, + changedelete = { text = '│' }, untracked = { text = '┆' }, }, diff --git a/lua/plugins/lazy.lua b/lua/plugins/lazy.lua index 33944bc..09b08d4 100644 --- a/lua/plugins/lazy.lua +++ b/lua/plugins/lazy.lua @@ -13,9 +13,6 @@ end vim.opt.rtp:prepend(lazypath) --- require("lazy").setup(plugins, opts) - - @@ -108,7 +105,7 @@ require("lazy").setup({ }, - -- modern ui + -- modern ui { "folke/noice.nvim", config = function ()