parent
a282cf4d63
commit
8789a2a83e
33 changed files with 37 additions and 24 deletions
43
cli/.config/nvim/lua/plugins.lua
Normal file
43
cli/.config/nvim/lua/plugins.lua
Normal file
|
@ -0,0 +1,43 @@
|
|||
-- [[ plugins list ]]
|
||||
local function plugins(use)
|
||||
use 'wbthomason/packer.nvim'
|
||||
|
||||
use 'lifepillar/vim-gruvbox8'
|
||||
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 {
|
||||
'w0rp/ale',
|
||||
ft = { 'sh', 'zsh', 'lua', 'python' },
|
||||
cmd = 'ALEEnable'
|
||||
}
|
||||
end
|
||||
|
||||
--[[ init plugins and install packer if missing ]]
|
||||
if require('packer_init').init(plugins) then return end
|
||||
|
||||
--[[ plugins config ]]
|
||||
require('lualine').setup{
|
||||
options = {
|
||||
icons_enabled = false,
|
||||
component_separators = { left = '\u{2022}', right = '\u{2022}' }
|
||||
}
|
||||
}
|
||||
|
||||
--[[ telescope maps ]]
|
||||
map('n', '<Leader>.', '<cmd>Telescope find_files<CR>')
|
||||
map('n', '<Leader>,', '<cmd>Telescope buffers<CR>')
|
||||
|
||||
--[[ theme ]]
|
||||
vim.o.bg = 'dark'
|
||||
vim.o.termguicolors = true
|
||||
|
||||
vim.g.gruvbox_plugin_hi_groups = 1
|
||||
vim.g.gruvbox_filetype_hi_groups = 1
|
||||
|
||||
vim.cmd [[colorscheme gruvbox8]]
|
Loading…
Add table
Add a link
Reference in a new issue