Remove Gvim options
Add: - Colors for vertical split line; - Autoread option Append: - Python cache directory for ignore "wildmenu" Removed: - Autocommand for "make" Python code
This commit is contained in:
parent
3be46a8de1
commit
823258bf8e
2 changed files with 5 additions and 11 deletions
|
@ -22,6 +22,7 @@ hi ModeMsg cterm=none ctermfg=0 ctermbg=120
|
|||
hi NonText ctermfg=215
|
||||
hi Visual ctermbg=59
|
||||
hi ColorColumn ctermbg=235
|
||||
hi VertSplit cterm=none ctermfg=120 ctermbg=none
|
||||
|
||||
"=== Строка вкладок ===
|
||||
hi TabLine cterm=none ctermfg=252 ctermbg=235
|
||||
|
|
15
vimrc
15
vimrc
|
@ -19,6 +19,8 @@ set hlsearch
|
|||
|
||||
"Включение подсказок команд
|
||||
set wildmenu
|
||||
"Игнорировать расширения в подсказках
|
||||
set wildignore=*.o,*.obj,*.pyc,__pycache__
|
||||
|
||||
"Не показывать режим (он отображается в кастомной строке статуса)
|
||||
"set noshowmode
|
||||
|
@ -52,19 +54,11 @@ set softtabstop=4
|
|||
set autoindent
|
||||
set smartindent
|
||||
|
||||
set autoread
|
||||
|
||||
"Фикс Backspace после обновления до Vim9
|
||||
set backspace=indent,eol,start
|
||||
|
||||
"=== GVIM ===
|
||||
"Настройка шрифта
|
||||
set guifont=Monospace\ 12
|
||||
"Отключение смены курсора в GVim
|
||||
set guicursor+=a:block-Cursor
|
||||
"Отключение меню, тулбара и полосы прокрутки
|
||||
set guioptions-=m
|
||||
set guioptions-=T
|
||||
set guioptions-=r
|
||||
|
||||
"Не тянись до ESC
|
||||
imap jk <ESC>
|
||||
|
||||
|
@ -92,7 +86,6 @@ augroup END
|
|||
|
||||
"Кеймапы для запуска Python скриптов
|
||||
autocmd BufEnter *.py nmap <F5> :!python3 %<CR>
|
||||
autocmd BufEnter *.py nmap <F9> :make<CR>
|
||||
|
||||
"Автообнаружение файла nftables
|
||||
autocmd BufRead,BufNewFile nftables.conf,*.nft,*/etc/nftables/* set filetype=nftables
|
||||
|
|
Loading…
Reference in a new issue