Compare commits

..

2 Commits

Author SHA1 Message Date
979bc8f385 Merge branch 'master' of git.246060.ru:f1x1t/vimrc 2021-12-25 09:56:59 +03:00
7d139bdaa6 Обновление 2021-12-25 09:53:59 +03:00

24
vimrc
View File

@ -20,6 +20,10 @@ call plug#begin('~/.vim/plugged')
" Запуск асинхронных команд " " Запуск асинхронных команд "
Plug 'skywind3000/asyncrun.vim' Plug 'skywind3000/asyncrun.vim'
" https://github.com/mhinz/vim-startify
" Стартовый экран
Plug 'mhinz/vim-startify'
" https://github.com/lyokha/vim-xkbswitch " https://github.com/lyokha/vim-xkbswitch
" Автоматическое переключение раскладки клавиатуры в режиме вставки " " Автоматическое переключение раскладки клавиатуры в режиме вставки "
Plug 'lyokha/vim-xkbswitch' Plug 'lyokha/vim-xkbswitch'
@ -34,9 +38,9 @@ Plug 'srcery-colors/srcery-vim'
" Строка с названиями буферов " " Строка с названиями буферов "
Plug 'itchyny/lightline.vim' | Plug 'taohexxx/lightline-buffer' Plug 'itchyny/lightline.vim' | Plug 'taohexxx/lightline-buffer'
" https://github.com/frazrepo/vim-rainbow " https://github.com/Cheeto836/vim-rainbow
" Разноцветные скобки " " Разноцветные скобки "
Plug 'frazrepo/vim-rainbow' Plug 'Cheeto836/vim-rainbow'
" https://github.com/ntpeters/vim-better-whitespace " https://github.com/ntpeters/vim-better-whitespace
" Подсветка лишних пробельных символов " " Подсветка лишних пробельных символов "
@ -62,6 +66,9 @@ Plug 'easymotion/vim-easymotion'
" Поиск " " Поиск "
Plug 'haya14busa/incsearch.vim' | Plug 'haya14busa/incsearch-easymotion.vim' Plug 'haya14busa/incsearch.vim' | Plug 'haya14busa/incsearch-easymotion.vim'
" https://github.com/mihaifm/bufstop
Plug 'mihaifm/bufstop'
" https://github.com/moll/vim-bbye " https://github.com/moll/vim-bbye
" Удаление буферов с сохранением расположения окон " " Удаление буферов с сохранением расположения окон "
Plug 'moll/vim-bbye' Plug 'moll/vim-bbye'
@ -129,6 +136,10 @@ Plug 'vhdirk/vim-cmake'
Plug 'lervag/vimtex' Plug 'lervag/vimtex'
Plug 'xuhdev/vim-latex-live-preview' Plug 'xuhdev/vim-latex-live-preview'
" https://github.com/jez/vim-superman
" MAN "
Plug 'jez/vim-superman'
" https://github.com/python-mode/python-mode " " https://github.com/python-mode/python-mode "
" Python " " Python "
Plug 'python-mode/python-mode', { 'for': 'python', 'branch': 'develop' } Plug 'python-mode/python-mode', { 'for': 'python', 'branch': 'develop' }
@ -283,6 +294,15 @@ set list
set copyindent set copyindent
"}}} "}}}
map <leader>b :Bufstop<CR> " get a visual on the buffers
map <leader>w :BufstopPreview<CR> " switch files by moving inside the window
map <leader>a :BufstopModeFast<CR> " a command for quick switching
map <C-tab> :BufstopBack<CR>
map <S-tab> :BufstopForward<CR>
let g:BufstopAutoSpeedToggle = 1 " now I can press ,3,3,3 to cycle the last 3 buffers
let g:BufstopSorting = "none"
"{{{ Раскладки клавиатуры "{{{ Раскладки клавиатуры
let g:XkbSwitchEnabled = 1 let g:XkbSwitchEnabled = 1
let g:XkbSwitchNLayout = 'us' let g:XkbSwitchNLayout = 'us'