Обновление
This commit is contained in:
parent
46f2972851
commit
7d139bdaa6
@ -1208,7 +1208,8 @@ function! s:update_impl(pull, force, args) abort
|
|||||||
normal! 2G
|
normal! 2G
|
||||||
silent! redraw
|
silent! redraw
|
||||||
|
|
||||||
let s:clone_opt = []
|
" Set remote name, overriding a possible user git config's clone.defaultRemoteName
|
||||||
|
let s:clone_opt = ['--origin', 'origin']
|
||||||
if get(g:, 'plug_shallow', 1)
|
if get(g:, 'plug_shallow', 1)
|
||||||
call extend(s:clone_opt, ['--depth', '1'])
|
call extend(s:clone_opt, ['--depth', '1'])
|
||||||
if s:git_version_requirement(1, 7, 10)
|
if s:git_version_requirement(1, 7, 10)
|
||||||
|
24
vimrc
24
vimrc
@ -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/oblitum/rainbow
|
" https://github.com/Cheeto836/vim-rainbow
|
||||||
" Разноцветные скобки "
|
" Разноцветные скобки "
|
||||||
Plug 'oblitum/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' }
|
||||||
@ -282,6 +293,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'
|
||||||
|
Loading…
Reference in New Issue
Block a user