2022-12-26 01:31:15 +02:00
|
|
|
-- [[ plugins list ]]
|
2023-01-23 11:44:56 +02:00
|
|
|
local function plugins(use)
|
2022-12-25 03:36:59 +02:00
|
|
|
use 'wbthomason/packer.nvim'
|
2022-09-03 19:30:19 +03:00
|
|
|
|
2023-08-22 19:43:08 +03:00
|
|
|
use {
|
2023-08-25 18:15:26 +03:00
|
|
|
'lifepillar/vim-solarized8',
|
2023-08-22 19:43:08 +03:00
|
|
|
branch = 'neovim'
|
|
|
|
}
|
2023-08-22 20:41:13 +03:00
|
|
|
use 'lifepillar/vim-cheat40'
|
2023-01-18 19:18:09 +02:00
|
|
|
use 'hashivim/vim-terraform'
|
2023-02-05 22:13:54 +02:00
|
|
|
use 'khaveesh/vim-fish-syntax'
|
2022-12-25 03:36:59 +02:00
|
|
|
use 'mhinz/vim-signify'
|
|
|
|
use 'tpope/vim-rsi'
|
|
|
|
use 'tpope/vim-vinegar'
|
2023-02-05 02:59:07 +02:00
|
|
|
use {
|
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
requires = 'nvim-lua/plenary.nvim'
|
|
|
|
}
|
2022-12-25 03:36:59 +02:00
|
|
|
use {
|
|
|
|
'w0rp/ale',
|
2023-03-29 14:52:41 +03:00
|
|
|
ft = { 'bash', 'sh', 'zsh', 'lua', 'python' },
|
2022-12-25 03:36:59 +02:00
|
|
|
cmd = 'ALEEnable'
|
2022-09-03 19:30:19 +03:00
|
|
|
}
|
2022-12-25 03:36:59 +02:00
|
|
|
end
|
2023-01-18 19:18:09 +02:00
|
|
|
if require('packer_init').init(plugins) then return end
|
2022-12-26 01:31:15 +02:00
|
|
|
|
2023-08-30 20:03:29 +03:00
|
|
|
--[[ plugin configs and maps ]]
|
2023-08-22 20:41:13 +03:00
|
|
|
map('n', '<Leader>?', '<cmd>Cheat40<CR>')
|
2023-03-13 15:15:53 +02:00
|
|
|
map('n', '<Leader>.', '<cmd>Telescope git_files<CR>')
|
2023-01-08 00:03:44 +02:00
|
|
|
map('n', '<Leader>,', '<cmd>Telescope buffers<CR>')
|
2022-12-26 01:31:15 +02:00
|
|
|
|
|
|
|
--[[ theme ]]
|
2023-08-25 18:15:26 +03:00
|
|
|
vim.g.solarized_extra_hi_groups = 1
|
2022-09-03 19:30:19 +03:00
|
|
|
vim.o.termguicolors = true
|
2023-08-25 18:15:26 +03:00
|
|
|
vim.o.bg = 'light'
|
2022-12-26 01:31:15 +02:00
|
|
|
|
2023-08-25 18:15:26 +03:00
|
|
|
vim.cmd [[colorscheme solarized8]]
|