Add alacritty and new .vimrc

This commit is contained in:
Leon Grünewald 2024-08-06 17:01:04 +02:00
parent 6879351865
commit 6fa4e63bee
2 changed files with 45 additions and 17 deletions

View file

@ -0,0 +1,21 @@
[font]
size = 13.0
[font.bold]
family = "Hack"
style = "Bold"
[font.bold_italic]
family = "Hack"
style = "Bold Italic"
[font.italic]
family = "Hack"
style = "Italic"
[font.normal]
family = "Hack"
style = "Regular"

View file

@ -1,25 +1,24 @@
" Leader key set nocompatible
nnoremap <SPACE> <Nop>
let mapleader=' '
call plug#begin('~/.vim/plugged') " Keybindings
Plug 'ghifarit53/tokyonight-vim' let mapleader=' '
Plug 'justinmk/vim-sneak' nnoremap <SPACE> <Nop>
Plug 'mattn/emmet-vim' vnoremap < <gv
Plug 'mipmip/vim-fluid' vnoremap > >gv
Plug 'puremourning/vimspector' nnoremap = :FormatXML<Cr>
call plug#end()
"" Vim Config "" Vim Config
" Set completeopt to have a better completion experience " Set completeopt to have a better completion experience
set completeopt=menuone,noinsert,noselect set completeopt=menuone,noinsert,noselect
" Avoid showing message extra message when using completion " Avoid showing message extra message when using completion
set shortmess+=c set shortmess+=c
" Add clipboard support " Add clipboard support
set clipboard^=unnamed,unnamedplus set clipboard^=unnamed,unnamedplus
" Enable syntax highlighting
syntax on
filetype on
" Intendation " Intendation
set tabstop=4 set tabstop=4
set softtabstop=4 set softtabstop=4
@ -35,13 +34,21 @@ set fileformats=unix,dos,mac
" Enable term color " Enable term color
set tgc set tgc
let g:tokyonight_style = 'night' " available: night, storm "" Plugins
let g:tokyonight_enable_italic = 0 call plug#begin('~/.vim/plugged')
Plug 'ghifarit53/tokyonight-vim'
Plug 'justinmk/vim-sneak'
Plug 'mattn/emmet-vim'
call plug#end()
set path+=**
set wildmenu
"" Theme
let g:tokyonight_style='night'
let g:tokyonight_enable_italic=0
colorscheme tokyonight colorscheme tokyonight
"" Other
com! FormatXML :%!python3 -c "import xml.dom.minidom, sys; print(xml.dom.minidom.parse(sys.stdin).toprettyxml())" com! FormatXML :%!python3 -c "import xml.dom.minidom, sys; print(xml.dom.minidom.parse(sys.stdin).toprettyxml())"
nnoremap = :FormatXML<Cr>
vnoremap < <gv
vnoremap > >gv