nnoremap :echoe "Use h" nnoremap :echoe "Use l" nnoremap :echoe "Use k" nnoremap :echoe "Use j" set number "номер строки set ruler set laststatus=2 " xclip requiered set clipboard=unnamedplus set shell=zsh nnoremap c :set cursorline! 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 let g:airline#extensions#branch#enabled=1 set ttimeoutlen=10 "Понижаем задержку ввода escape последовательностей let &t_SI.="\e[5 q" "SI = режим вставки let &t_SR.="\e[3 q" "SR = режим замены let &t_EI.="\e[1 q" "EI = нормальный режим set encoding=utf-8 "Ставит кодировку UTF-8 set nocompatible "Отключает обратную совместимость с Vi syntax on "Включает подсветку синтаксиса set expandtab set smarttab set tabstop=4 set softtabstop=4 set shiftwidth=4 set autoindent set smartindent set nowrap set noerrorbells set novisualbell set showcmd set showtabline=2 set ignorecase set smartcase set hlsearch set incsearch set mousehide set mouse=a set colorcolumn=120 set scrolloff=7 set virtualedit=onemore " allow for cursor beyond last character " f4 toggle hlsearch nnoremap :set invhlsearch " navigation on russian nmap о j nmap л k nmap р h nmap д l nmap ш i nmap ф a nmap в d set ffs=unix,mac set encoding=utf8 " tabs nnoremap :tabprevious nnoremap :tabnext nnoremap :tabprevious nnoremap :tabnext " Plugins set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim' Plugin 'vim-airline/vim-airline' Plugin 'morhetz/gruvbox' Plugin 'tpope/vim-surround' Plugin 'tpope/vim-commentary' Plugin 'ap/vim-css-color' Plugin 'terryma/vim-multiple-cursors' Plugin 'preservim/tagbar' Plugin 'preservim/vimux' Plugin 'francoiscabrol/ranger.vim' Plugin 'rbgrouleff/bclose.vim' " requiered patch your font Plugin 'ryanoasis/vim-devicons' Plugin 'jiangmiao/auto-pairs' call vundle#end() filetype plugin indent on " Python let python_highlight_all = 1 set t_Co=256 nnoremap :!python3 % autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class,match,case " nerdtree " Ctrl + w l|h - change window nnoremap :Ranger let g:ranger_replace_netrw = 1 " open ranger when vim open a directory let g:ranger_map_keys = 0 " ctags required nnoremap :TagbarToggle set laststatus=2 let g:lightline = { \ 'colorscheme': 'iceberg', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] \ }, \ 'component_function': { \ 'gitbranch': 'fugitive#head' \ }, \ } " Colorscheme colorscheme gruvbox set bg=dark let g:multi_cursor_use_default_mapping=0 " Default mapping let g:multi_cursor_start_word_key = '' let g:multi_cursor_select_all_word_key = '' let g:multi_cursor_start_key = 'g' let g:multi_cursor_select_all_key = 'g' let g:multi_cursor_next_key = '' let g:multi_cursor_prev_key = '' let g:multi_cursor_skip_key = '' let g:multi_cursor_quit_key = ''