Add alacritty and new .vimrc
This commit is contained in:
parent
6879351865
commit
6fa4e63bee
2 changed files with 45 additions and 17 deletions
21
shell/.config/alacritty/alacritty.toml
Normal file
21
shell/.config/alacritty/alacritty.toml
Normal 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"
|
||||
|
||||
|
||||
|
41
shell/.vimrc
41
shell/.vimrc
|
@ -1,25 +1,24 @@
|
|||
" Leader key
|
||||
nnoremap <SPACE> <Nop>
|
||||
let mapleader=' '
|
||||
set nocompatible
|
||||
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'ghifarit53/tokyonight-vim'
|
||||
Plug 'justinmk/vim-sneak'
|
||||
Plug 'mattn/emmet-vim'
|
||||
Plug 'mipmip/vim-fluid'
|
||||
Plug 'puremourning/vimspector'
|
||||
call plug#end()
|
||||
" Keybindings
|
||||
let mapleader=' '
|
||||
nnoremap <SPACE> <Nop>
|
||||
vnoremap < <gv
|
||||
vnoremap > >gv
|
||||
nnoremap = :FormatXML<Cr>
|
||||
|
||||
"" Vim Config
|
||||
" Set completeopt to have a better completion experience
|
||||
set completeopt=menuone,noinsert,noselect
|
||||
|
||||
" Avoid showing message extra message when using completion
|
||||
set shortmess+=c
|
||||
|
||||
" Add clipboard support
|
||||
set clipboard^=unnamed,unnamedplus
|
||||
|
||||
" Enable syntax highlighting
|
||||
syntax on
|
||||
filetype on
|
||||
|
||||
" Intendation
|
||||
set tabstop=4
|
||||
set softtabstop=4
|
||||
|
@ -35,13 +34,21 @@ set fileformats=unix,dos,mac
|
|||
" Enable term color
|
||||
set tgc
|
||||
|
||||
let g:tokyonight_style = 'night' " available: night, storm
|
||||
let g:tokyonight_enable_italic = 0
|
||||
"" Plugins
|
||||
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
|
||||
|
||||
"" Other
|
||||
com! FormatXML :%!python3 -c "import xml.dom.minidom, sys; print(xml.dom.minidom.parse(sys.stdin).toprettyxml())"
|
||||
nnoremap = :FormatXML<Cr>
|
||||
|
||||
vnoremap < <gv
|
||||
vnoremap > >gv
|
||||
|
|
Loading…
Reference in a new issue