New .bashrc
This commit is contained in:
parent
9a03d6de56
commit
0da56d6ae1
3 changed files with 33 additions and 11 deletions
14
vim/.vimrc
14
vim/.vimrc
|
|
@ -32,6 +32,18 @@ set t_ut=
|
|||
" Light colorscheme by default
|
||||
colorscheme seagull
|
||||
|
||||
"Change theme depending on the time of day
|
||||
let hr = (strftime('%H'))
|
||||
if hr >= 19
|
||||
set background=dark
|
||||
colorscheme spacemacs
|
||||
elseif hr >= 8
|
||||
colorscheme xcode
|
||||
elseif hr >= 0
|
||||
set background=dark
|
||||
colorscheme spacemacs
|
||||
endif
|
||||
|
||||
" Terminal colors
|
||||
set termguicolors
|
||||
|
||||
|
|
@ -82,6 +94,8 @@ au BufWinEnter * silent loadview
|
|||
"files in current directory
|
||||
autocmd FileType python compiler pylint
|
||||
|
||||
|
||||
|
||||
"Netrw options
|
||||
function! ToggleVExplorer()
|
||||
if exists("t:expl_buf_num")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue