adjusted iterm to include status bar + formatting in vimrc file

This commit is contained in:
Amar Saljic
2025-07-05 07:13:14 +02:00
parent ce13409214
commit 96796030c9
2 changed files with 112 additions and 10 deletions

View File

@ -1,20 +1,20 @@
" install vim-plug
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" setup plugins
call plug#begin()
Plug 'preservim/nerdtree'
Plug 'ryanoasis/vim-devicons'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'prabirshrestha/vim-lsp'
Plug 'mattn/vim-lsp-settings'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
Plug 'preservim/nerdtree'
Plug 'ryanoasis/vim-devicons'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'prabirshrestha/vim-lsp'
Plug 'mattn/vim-lsp-settings'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
call plug#end()
" general settings

View File

@ -275,6 +275,7 @@
"Green Component" : 0.99263292551040649
},
"Flashing Bell" : false,
"Show Status Bar" : true,
"Use Italic Font" : true,
"Tab Color (Light)" : {
"Red Component" : 0.23137256503105164,
@ -560,6 +561,107 @@
},
"Blur" : false,
"Use Separate Colors for Light and Dark Mode" : true,
"Status Bar Layout" : {
"components" : [
{
"class" : "iTermStatusBarGitComponent",
"configuration" : {
"knobs" : {
"maxwidth" : 1.7976931348623157e+308,
"iTermStatusBarGitComponentPollingIntervalKey" : 2,
"base: priority" : 5,
"shared text color" : {
"Red Component" : 0.86000317335128784,
"Color Space" : "P3",
"Blue Component" : 0.63590961694717407,
"Alpha Component" : 1,
"Green Component" : 0.6414334774017334
},
"base: compression resistance" : 1,
"minwidth" : 0
},
"layout advanced configuration dictionary value" : {
"remove empty components" : false,
"font" : ".SFNS-Regular 12",
"algorithm" : 0,
"auto-rainbow style" : 3
}
}
},
{
"class" : "iTermStatusBarCPUUtilizationComponent",
"configuration" : {
"knobs" : {
"base: priority" : 5,
"base: compression resistance" : 1,
"shared text color" : {
"Red Component" : 0.72450786828994751,
"Color Space" : "P3",
"Blue Component" : 0.65540963411331177,
"Alpha Component" : 1,
"Green Component" : 0.89377599954605103
}
},
"layout advanced configuration dictionary value" : {
"remove empty components" : false,
"font" : ".SFNS-Regular 12",
"algorithm" : 0,
"auto-rainbow style" : 3
}
}
},
{
"class" : "iTermStatusBarMemoryUtilizationComponent",
"configuration" : {
"knobs" : {
"base: priority" : 5,
"base: compression resistance" : 1,
"shared text color" : {
"Red Component" : 0.64865356683731079,
"Color Space" : "P3",
"Blue Component" : 0.8851432204246521,
"Alpha Component" : 1,
"Green Component" : 0.72423571348190308
}
},
"layout advanced configuration dictionary value" : {
"remove empty components" : false,
"font" : ".SFNS-Regular 12",
"algorithm" : 0,
"auto-rainbow style" : 3
}
}
},
{
"class" : "iTermStatusBarNetworkUtilizationComponent",
"configuration" : {
"knobs" : {
"base: priority" : 5,
"base: compression resistance" : 1,
"shared text color" : {
"Red Component" : 0.86000508069992065,
"Color Space" : "P3",
"Blue Component" : 0.76881867647171021,
"Alpha Component" : 1,
"Green Component" : 0.64143049716949463
}
},
"layout advanced configuration dictionary value" : {
"remove empty components" : false,
"font" : ".SFNS-Regular 12",
"algorithm" : 0,
"auto-rainbow style" : 3
}
}
}
],
"advanced configuration" : {
"remove empty components" : false,
"font" : ".SFNS-Regular 12",
"algorithm" : 0,
"auto-rainbow style" : 3
}
},
"Background Color (Light)" : {
"Red Component" : 0.89803922176361084,
"Color Space" : "sRGB",