From 96796030c91116f28a2e2fe629ff56641a8f0a08 Mon Sep 17 00:00:00 2001 From: Amar Saljic Date: Sat, 5 Jul 2025 07:13:14 +0200 Subject: [PATCH] adjusted iterm to include status bar + formatting in vimrc file --- generic_working_machine/vimrc | 20 ++--- macos/iterm2/iterm_default_profile.json | 102 ++++++++++++++++++++++++ 2 files changed, 112 insertions(+), 10 deletions(-) diff --git a/generic_working_machine/vimrc b/generic_working_machine/vimrc index 1a16ef1..78e669e 100644 --- a/generic_working_machine/vimrc +++ b/generic_working_machine/vimrc @@ -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 diff --git a/macos/iterm2/iterm_default_profile.json b/macos/iterm2/iterm_default_profile.json index 05d546e..5bab3c5 100644 --- a/macos/iterm2/iterm_default_profile.json +++ b/macos/iterm2/iterm_default_profile.json @@ -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",