Compare commits
2 Commits
acd1c57e9b
...
e1a2bde564
| Author | SHA1 | Date | |
|---|---|---|---|
| e1a2bde564 | |||
| 832aec46d7 |
7
vim/ftplugin/vim.vim
Normal file
7
vim/ftplugin/vim.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
" show existing tab with 2 spaces width
|
||||
set tabstop=2
|
||||
" when indenting with '>', use 2 spaces width
|
||||
set shiftwidth=2
|
||||
" On pressing tab, insert 2 spaces
|
||||
set expandtab
|
||||
16
vim/vimrc
16
vim/vimrc
@@ -35,16 +35,16 @@ call plug#end() "Перестать это делать
|
||||
"
|
||||
set term=xterm-256color
|
||||
colorscheme atom-dark-256
|
||||
AirlineTheme dark
|
||||
let g:airline_theme='dark'
|
||||
|
||||
function ToggleColors()
|
||||
if (g:colors_name == "atom-dark-256")
|
||||
colorscheme antiphoton
|
||||
AirlineTheme light
|
||||
else
|
||||
colorscheme atom-dark-256
|
||||
AirlineTheme dark
|
||||
endif
|
||||
if (g:colors_name == "atom-dark-256")
|
||||
colorscheme antiphoton
|
||||
let g:airline_theme='light'
|
||||
else
|
||||
colorscheme atom-dark-256
|
||||
let g:airline_theme='dark'
|
||||
endif
|
||||
endfunction
|
||||
|
||||
nnoremap <C-b> :call ToggleColors()<CR>
|
||||
|
||||
Reference in New Issue
Block a user