Test for git integration
This commit is contained in:
parent
2d3a48a141
commit
c38df3b080
|
@ -6,12 +6,20 @@ local cmd_options = { noremap = true, silent = true }
|
||||||
|
|
||||||
|
|
||||||
local tele = require('telescope.builtin')
|
local tele = require('telescope.builtin')
|
||||||
|
local neogit = require('neogit')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
map("n", "<leader>g", "<cmd>Neogit kind=split<CR>", options)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- TELESCOPE
|
-- TELESCOPE
|
||||||
cmap("n", "<leader>ff", tele.find_files, options)
|
cmap("n", "<leader>ff", tele.find_files, options)
|
||||||
map("n", "<leader>fh", "<cmd>Telescope find_files hidden=true<CR>", options)
|
map("n", "<leader>fh", "<cmd>Telescope find_files hidden=true<CR>", options)
|
||||||
|
|
|
@ -4,7 +4,7 @@ require('gitsigns').setup {
|
||||||
change = { text = '│' },
|
change = { text = '│' },
|
||||||
delete = { text = '│' },
|
delete = { text = '│' },
|
||||||
topdelete = { text = '│' },
|
topdelete = { text = '│' },
|
||||||
changedelete = { text = '/' },
|
changedelete = { text = '│' },
|
||||||
untracked = { text = '┆' },
|
untracked = { text = '┆' },
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,6 @@ end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
|
||||||
-- require("lazy").setup(plugins, opts)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -108,7 +105,7 @@ require("lazy").setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
-- modern ui
|
-- modern ui
|
||||||
{
|
{
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
config = function ()
|
config = function ()
|
||||||
|
|
Loading…
Reference in a new issue