nvim: neogit
This commit is contained in:
parent
7d3a85940c
commit
2379f6e232
1 changed files with 12 additions and 3 deletions
|
@ -6,11 +6,16 @@ local function plugins(use)
|
|||
use 'hoob3rt/lualine.nvim'
|
||||
use 'hashivim/vim-terraform'
|
||||
use 'mhinz/vim-signify'
|
||||
use 'tpope/vim-fugitive'
|
||||
use 'tpope/vim-rsi'
|
||||
use 'tpope/vim-vinegar'
|
||||
use 'nvim-lua/plenary.nvim'
|
||||
use 'nvim-telescope/telescope.nvim'
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
requires = 'nvim-lua/plenary.nvim'
|
||||
}
|
||||
use {
|
||||
'TimUntersberger/neogit',
|
||||
requires = 'nvim-lua/plenary.nvim'
|
||||
}
|
||||
use {
|
||||
'w0rp/ale',
|
||||
ft = { 'sh', 'zsh', 'lua', 'python' },
|
||||
|
@ -22,6 +27,7 @@ end
|
|||
if require('packer_init').init(plugins) then return end
|
||||
|
||||
--[[ plugins config ]]
|
||||
require('neogit').setup{}
|
||||
require('lualine').setup{
|
||||
options = {
|
||||
icons_enabled = false,
|
||||
|
@ -29,6 +35,9 @@ require('lualine').setup{
|
|||
}
|
||||
}
|
||||
|
||||
--[[ neogit maps ]]
|
||||
map('n', '<Leader>g', '<cmd>Neogit<CR>')
|
||||
|
||||
--[[ telescope maps ]]
|
||||
map('n', '<Leader>.', '<cmd>Telescope find_files<CR>')
|
||||
map('n', '<Leader>,', '<cmd>Telescope buffers<CR>')
|
||||
|
|
Loading…
Reference in a new issue