call plug#begin('~/.vim/plugged') Plug 'junegunn/vim-plug' Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'vim-airline/vim-airline' Plug 'ryanoasis/vim-devicons' Plug 'jiangmiao/auto-pairs' "colorschemes Plug 'morhetz/gruvbox' " All of your Plugins must be added before the following line call plug#end() "Use 24-bit (true-color) mode in Vim/Neovim when outside tmux. "If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support "(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.) if (empty($TMUX)) if (has("nvim")) "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 > let $NVIM_TUI_ENABLE_TRUE_COLOR=1 endif "For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 > "Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd > " < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 > if (has("termguicolors")) set termguicolors endif endif syntax on colorscheme gruvbox "hi Normal guibg=NONE ctermbg=NONE set background=dark set number set expandtab set tabstop=3 set shiftwidth=3 set noswapfile set noshowmode set hlsearch set incsearch let g:molokai_original = 1 let g:rehash256 = 1 "set nu rnu " air-line let g:airline_powerline_fonts = 1 if !exists('g:airline_symbols') let g:airline_symbols = {} endif " unicode symbols let g:airline_left_sep = '»' let g:airline_left_sep = '▶' let g:airline_right_sep = '«' let g:airline_right_sep = '◀' let g:airline_symbols.linenr = '␊' let g:airline_symbols.linenr = '␤' let g:airline_symbols.linenr = '¶' let g:airline_symbols.branch = '⎇' let g:airline_symbols.paste = 'ρ' let g:airline_symbols.paste = 'Þ' let g:airline_symbols.paste = '∥' let g:airline_symbols.whitespace = 'Ξ' " airline symbols let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = '' " Improved status bar let g:airline_powerline_fonts = 1 "Включить поддержку Powerline шрифтов let g:airline#extensions#keymap#enabled = 0 "Не показывать текущий маппинг let g:airline_section_z = "\ue0a1:%l/%L Col:%c" "Кастомная графа положения курсора let g:Powerline_symbols='unicode' "Поддержка unicode let g:airline#extensions#xkblayout#enabled = 0 "Про это позже расскажу "mappings map :NERDTreeToggle " Font set guifont=Fura\ Code\ Dark\ Nerd\ Font\ Complete:h16