all repos

dotfiles @ f3d1bcc

my dotfiles

vimrc.server (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
call plug#begin('~/.vim/plugged')
Plug 'klen/python-mode', { 'for': 'python' }
Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive'
Plug 'flazz/vim-colorschemes'
Plug 'jiangmiao/auto-pairs'
Plug 'kien/ctrlp.vim'
call plug#end()

set number
syntax on
set incsearch
set hlsearch
set ignorecase
set smartcase
set nocompatible
set ruler
set mouse=a
set hidden
set autoindent
set smartindent
set history=150
set termencoding=utf8
set t_Co=256
set background=dark
colorscheme OceanicNext
"Tab for python
set tabstop=4 
set shiftwidth=4
set smarttab
set expandtab

"Maping chenge window
map <C-j> <C-W>j
map <C-k> <C-W>k
map <C-H> <C-W>h
map <C-L> <C-W>l
"Maping Russian letters
map ш i
map м v
map ч x
map в d
map р h
map о j
map л k
map д l

"Delate excess spase for python files
autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class