-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.vim
More file actions
115 lines (96 loc) · 2.13 KB
/
Copy pathinit.vim
File metadata and controls
115 lines (96 loc) · 2.13 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
syntax on
set number
set mouse=a
set encoding=UTF-8
set fileencodings=utf-8
"set laststatus=2
set nocompatible
set scrolloff=5
set lazyredraw
set ttyfast
set nocompatible
set wildmenu
set wildchar=<Tab>
set nobackup
set nowb
set noswapfile
set cursorline
autocmd InsertEnter,InsertLeave * set cursorline!
"set number relativenumber
" Табуляция, использование 4-х пробелов вместо \t
set tabstop=4
set shiftwidth=4
set smarttab
set expandtab
set smartindent
set wrap
set linebreak
set tw=120
set undolevels=1000
set history=1000
set ignorecase
set smartcase
" ===========================
" Поиск
" ===========================
set hlsearch " Включаем подсветку поиска
set incsearch " Поиск по мере ввода
set ic " Игнорировать регистр при поиске
set smartcase " Игнорировать регистр, если нет заглавных букв
set noerrorbells visualbell t_vb=
autocmd GUIEnter * set visualbell t_vb=
filetype plugin indent on
set wildignore+=*.so,*.swp,*.7z,*.zip,*.rar,*.gz,*.xz,*.pyc,*.db,*.sqlite,*.jpg,*.png,*.jpeg
" Плагины
call plug#begin()
Plug 'preservim/NERDTree'
Plug 'vim-airline/vim-airline'
Plug 'https://github.com/ap/vim-css-color'
Plug 'flazz/vim-colorschemes'
Plug 'ryanoasis/vim-devicons'
Plug 'folke/tokyonight.nvim'
Plug 'altercation/vim-colors-solarized'
call plug#end()
colorscheme tokyonight
set t_Co=256
set background=dark
if !has('gui_running')
set t_Co=256
endif
if &term == 'alacritty'
let &term='xterm-256color'
endif
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
noremap ш i
noremap Ш I
noremap ф a
noremap Ф A
noremap щ o
noremap Щ O
noremap к r
noremap К R
noremap м v
noremap М V
noremap т n
noremap Т N
noremap н y
noremap Н Y
noremap в d
noremap В D
noremap ч x
noremap Ч X
noremap з p
noremap З P
noremap ц w
noremap Ц W
noremap у e
noremap У E
noremap и b
noremap И B
noremap й q
noremap Й Q
noremap с c
noremap С C
noremap п g
noremap П G