Update vimrc.server

This commit is contained in:
Smirnov Oleksandr 2020-04-19 22:22:22 +03:00 committed by GitHub
parent baed534f32
commit de9aa17d54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,34 +1,40 @@
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
Plug 'Vimjas/vim-python-pep8-indent', {'for': 'python'} Plug 'klen/python-mode', { 'for': 'python' }
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive'
Plug 'flazz/vim-colorschemes' Plug 'flazz/vim-colorschemes'
Plug 'jiangmiao/auto-pairs' Plug 'jiangmiao/auto-pairs'
Plug 'kien/ctrlp.vim'
call plug#end() call plug#end()
syntax on
set number set number
set hidden syntax on
set ignorecase
set hlsearch
set incsearch set incsearch
set hlsearch
set ignorecase
set smartcase set smartcase
set nocompatible
set ruler
set mouse=a
set hidden
set autoindent set autoindent
set smartindent set smartindent
set mouse=a set history=150
set termencoding=utf8 set termencoding=utf8
set t_Co=256 set t_Co=256
set background=dark set background=dark
colorscheme OceanicNext colorscheme OceanicNext
"set expandtab "Tab for python
"set tabstop=4 set tabstop=4
set shiftwidth=4
set smarttab
set expandtab
"Maping chenge window "Maping chenge window
map <C-j> <C-W>j map <C-j> <C-W>j
map <C-k> <C-W>k map <C-k> <C-W>k
map <C-H> <C-W>h map <C-H> <C-W>h
map <C-L> <C-W>l map <C-L> <C-W>l
"Maping Russian letters "Maping Russian letters
map ш i map ш i
map м v map м v
@ -39,6 +45,6 @@ map о j
map л k map л k
map д l map д l
"Delete excess space for python files "Delate excess spase for python files
autocmd BufWritePre *.py normal m`:%s/\s\+$//e `` autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class