2022-12-25 03:36:59 +02:00
|
|
|
vim9script
|
2019-11-11 15:08:59 +02:00
|
|
|
autocmd BufRead *vimplugrc set ft=vim
|
2022-04-11 18:20:36 +03:00
|
|
|
|
2022-12-25 03:36:59 +02:00
|
|
|
execute 'source' fnameescape(g:plug)
|
|
|
|
plug#begin(g:plugdir)
|
2019-11-11 15:08:59 +02:00
|
|
|
Plug 'junegunn/vim-plug'
|
2022-12-25 03:36:59 +02:00
|
|
|
Plug 'lifepillar/vim-gruvbox8'
|
2019-11-11 15:08:59 +02:00
|
|
|
|
2022-09-03 19:30:19 +03:00
|
|
|
Plug 'hashivim/vim-terraform'
|
2021-06-23 19:52:39 +03:00
|
|
|
Plug 'itchyny/lightline.vim'
|
2022-08-09 03:58:52 +03:00
|
|
|
Plug 'junegunn/fzf'
|
2019-11-11 16:26:30 +02:00
|
|
|
Plug 'junegunn/fzf.vim'
|
2019-11-11 15:08:59 +02:00
|
|
|
Plug 'junegunn/vim-easy-align'
|
|
|
|
Plug 'mhinz/vim-signify'
|
|
|
|
Plug 'tpope/vim-commentary'
|
|
|
|
Plug 'tpope/vim-fugitive'
|
|
|
|
Plug 'tpope/vim-rsi'
|
2019-11-11 16:26:30 +02:00
|
|
|
Plug 'tpope/vim-vinegar'
|
2021-02-10 20:52:02 +02:00
|
|
|
Plug 'w0rp/ale', {'for': ['sh']}
|
2022-12-25 03:36:59 +02:00
|
|
|
plug#end()
|
2021-07-14 23:18:26 +03:00
|
|
|
|
2022-12-25 03:36:59 +02:00
|
|
|
# easy-align
|
2019-11-11 15:08:59 +02:00
|
|
|
xmap <Leader>a <Plug>(EasyAlign)
|
|
|
|
nmap <Leader>a <Plug>(EasyAlign)
|
|
|
|
|
2022-12-25 03:36:59 +02:00
|
|
|
# fzf
|
2019-11-11 16:26:30 +02:00
|
|
|
nmap <Leader>ff :Files<CR>
|
|
|
|
nmap <Leader>fg :GFiles<CR>
|
|
|
|
nmap <Leader>fb :Buffers<CR>
|
|
|
|
nmap <Leader>fl :Lines<CR>
|
|
|
|
nmap <Leader>ft :Filetypes<CR>
|
|
|
|
|
2022-12-25 03:36:59 +02:00
|
|
|
# lightline
|
|
|
|
g:lightline = {
|
|
|
|
colorscheme: 'gruvbox8',
|
2023-08-21 21:24:52 +03:00
|
|
|
separator: { left: '', right: ''},
|
|
|
|
subseparator: { left: '\u2022', right: '\u2022'}
|
2022-12-25 03:36:59 +02:00
|
|
|
}
|
2022-04-11 18:20:36 +03:00
|
|
|
|
2023-08-21 20:58:02 +03:00
|
|
|
if has('gui_running')
|
|
|
|
set guifont=VascadiaMod:h14
|
|
|
|
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
|
|
|
|
set guiheadroom=0 guioptions=aei mouse=a
|
|
|
|
map <S-Insert> <MiddleMouse>
|
|
|
|
map! <S-Insert> <MiddleMouse>
|
|
|
|
endif
|
|
|
|
|
2022-12-25 03:36:59 +02:00
|
|
|
g:gruvbox_plugin_hi_groups = 1
|
|
|
|
g:gruvbox_filetype_hi_groups = 1
|
|
|
|
&t_8f = "\u1b[38;2;%lu;%lu;%lum"
|
|
|
|
&t_8b = "\u1b[48;2;%lu;%lu;%lum"
|
|
|
|
&tgc = 1
|
|
|
|
&bg = 'dark'
|
|
|
|
colorscheme gruvbox8
|