vim config

This commit is contained in:
floki
2024-12-21 14:51:25 +04:00
parent 16c8a4c731
commit 7aa76acbaf
2 changed files with 15 additions and 15 deletions

17
.vimrc
View File

@@ -1,5 +1,5 @@
filetype plugin on filetype plugin on
set nocompatible set nocompatible
set number set number
set belloff=all set belloff=all
@@ -7,13 +7,13 @@ set belloff=all
call plug#begin() call plug#begin()
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
Plug 'https://github.com/preservim/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'https://github.com/preservim/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'LunarWatcher/auto-pairs' Plug 'LunarWatcher/auto-pairs'
Plug 'maxboisvert/vim-simple-complete' Plug 'maxboisvert/vim-simple-complete'
Plug 'prabirshrestha/vim-lsp' Plug 'prabirshrestha/vim-lsp'
Plug 'mrk21/yaml-vim' Plug 'mrk21/yaml-vim'
Plug 'ghifarit53/tokyonight-vim' Plug 'morhetz/gruvbox'
Plug 'itspriddle/vim-shellcheck' Plug 'itspriddle/vim-shellcheck'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
@@ -22,13 +22,10 @@ Plug 'preservim/nerdtree'
Plug 'ryanoasis/vim-devicons' Plug 'ryanoasis/vim-devicons'
call plug#end() call plug#end()
nnoremap <C-t> :NERDTreeToggle<CR> nnoremap <C-t> :NERDTreeToggle<CR>
set encoding=UTF-8 set encoding=UTF-8
set termguicolors set termguicolors
set bg=dark
let g:tokyonight_style = 'night' " available: night, storm colorscheme gruvbox
let g:tokyonight_enable_italic = 1
colorscheme tokyonight
let g:AutoPairsShorcutToggle = '<C-P>' let g:AutoPairsShorcutToggle = '<C-P>'
let vim_markdown_preview_github=1 let vim_markdown_preview_github=1
if executable('bash-language-server') if executable('bash-language-server')

View File

@@ -3,10 +3,13 @@ TERM = "xterm-256color"
[window] [window]
padding.x = 20 padding.x = 20
padding.y = 20 padding.y = 20
[general]
decorations = "Buttonless" import = [
opacity = 0.92 "~/.config/alacritty/themes/themes/gruvbox_dark.toml"
blur = true ]
#decorations = "Buttonless"
#opacity = 0.92
#blur = true
[font] [font]
normal.family = "Hack Nerd Font" normal.family = "Hack Nerd Font"
size = 15.0 size = 14.0