1
0
Fork 0
vdotfiles/cli/.vimplugrc

54 lines
1.2 KiB
Text
Raw Permalink Normal View History

2022-12-25 03:36:59 +02:00
vim9script
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)
Plug 'junegunn/vim-plug'
Plug 'lifepillar/vim-gruvbox8'
Plug 'hashivim/vim-terraform'
Plug 'itchyny/lightline.vim'
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
Plug 'junegunn/vim-easy-align'
Plug 'mhinz/vim-signify'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rsi'
Plug 'tpope/vim-vinegar'
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
xmap <Leader>a <Plug>(EasyAlign)
nmap <Leader>a <Plug>(EasyAlign)
2022-12-25 03:36:59 +02:00
# fzf
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',
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
g:gruvbox_plugin_hi_groups = 1
2022-12-25 03:36:59 +02:00
&t_8f = "\u1b[38;2;%lu;%lu;%lum"
&t_8b = "\u1b[48;2;%lu;%lu;%lum"
&bg = 'dark'
2022-12-25 03:36:59 +02:00
&tgc = 1
colorscheme gruvbox8