35

.vim-mac/vimspector_ui.vim at master · puremourning/.vim-mac · GitHub

 4 years ago
source link: https://github.com/puremourning/.vim-mac/blob/master/plugin/vimspector_ui.vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Permalink

Join GitHub today

GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.

Sign up
master

.vim-mac/plugin/vimspector_ui.vim

Go to file

30 lines (25 sloc) 1.06 KB

scriptencoding utf-8
sign define vimspectorBP text=● texthl=WarningMsg
sign define vimspectorBPCond text=◼ texthl=WarningMsg
sign define vimspectorBPDisabled text=○ texthl=LineNr
sign define vimspectorPC text=▶ texthl=MatchParen
let g:vimspector_terminal_maxwidth = 85
let g:vimspector_bottombar_height = 15
function! s:SetUpUI() abort
call win_gotoid( g:vimspector_session_windows.output )
q
call win_gotoid( g:vimspector_session_windows.code )
nunmenu WinBar
nnoremenu WinBar.■\ Stop :call vimspector#Stop()<CR>
nnoremenu WinBar.▶\ Continue :call vimspector#Continue()<CR>
nnoremenu WinBar.▷\ Pause :call vimspector#Pause()<CR>
nnoremenu WinBar.↷\ Next :call vimspector#StepOver()<CR>
nnoremenu WinBar.→\ Step :call vimspector#StepInto()<CR>
nnoremenu WinBar.←\ Finish :call vimspector#StepOut()<CR>
nnoremenu WinBar.⟲: :call vimspector#Restart()<CR>
nnoremenu WinBar.✕ :call vimspector#Reset()<CR>
endfunction
augroup VimspectorCustom
au!
autocmd User VimspectorUICreated call s:SetUpUI()
augroup END

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK