adjusted iterm to include status bar + formatting in vimrc file
This commit is contained in:
@ -1,20 +1,20 @@
|
|||||||
" install vim-plug
|
" install vim-plug
|
||||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||||||
if empty(glob(data_dir . '/autoload/plug.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'
|
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
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" setup plugins
|
" setup plugins
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
Plug 'preservim/nerdtree'
|
Plug 'preservim/nerdtree'
|
||||||
Plug 'ryanoasis/vim-devicons'
|
Plug 'ryanoasis/vim-devicons'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
Plug 'prabirshrestha/vim-lsp'
|
Plug 'prabirshrestha/vim-lsp'
|
||||||
Plug 'mattn/vim-lsp-settings'
|
Plug 'mattn/vim-lsp-settings'
|
||||||
Plug 'prabirshrestha/asyncomplete.vim'
|
Plug 'prabirshrestha/asyncomplete.vim'
|
||||||
Plug 'prabirshrestha/asyncomplete-lsp.vim'
|
Plug 'prabirshrestha/asyncomplete-lsp.vim'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" general settings
|
" general settings
|
||||||
|
|||||||
@ -275,6 +275,7 @@
|
|||||||
"Green Component" : 0.99263292551040649
|
"Green Component" : 0.99263292551040649
|
||||||
},
|
},
|
||||||
"Flashing Bell" : false,
|
"Flashing Bell" : false,
|
||||||
|
"Show Status Bar" : true,
|
||||||
"Use Italic Font" : true,
|
"Use Italic Font" : true,
|
||||||
"Tab Color (Light)" : {
|
"Tab Color (Light)" : {
|
||||||
"Red Component" : 0.23137256503105164,
|
"Red Component" : 0.23137256503105164,
|
||||||
@ -560,6 +561,107 @@
|
|||||||
},
|
},
|
||||||
"Blur" : false,
|
"Blur" : false,
|
||||||
"Use Separate Colors for Light and Dark Mode" : true,
|
"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)" : {
|
"Background Color (Light)" : {
|
||||||
"Red Component" : 0.89803922176361084,
|
"Red Component" : 0.89803922176361084,
|
||||||
"Color Space" : "sRGB",
|
"Color Space" : "sRGB",
|
||||||
|
|||||||
Reference in New Issue
Block a user