Tidy UI - use some unicode symbols and organise winbar
This commit is contained in:
parent
6593f383cf
commit
10e9a75fc7
2 changed files with 12 additions and 12 deletions
|
|
@ -53,13 +53,13 @@ class ProjectBreakpoints( object ):
|
|||
self._next_sign_id = 1
|
||||
|
||||
if not utils.SignDefined( 'vimspectorBP' ):
|
||||
vim.command( 'sign define vimspectorBP text==> texthl=Error' )
|
||||
vim.command( 'sign define vimspectorBP text=\\ ● texthl=WarningMsg' )
|
||||
|
||||
if not utils.SignDefined( 'vimspectorBPCond' ):
|
||||
vim.command( 'sign define vimspectorBPCond text=?> texthl=Error' )
|
||||
vim.command( 'sign define vimspectorBPCond text=\\ ◆ texthl=WarningMsg' )
|
||||
|
||||
if not utils.SignDefined( 'vimspectorBPDisabled' ):
|
||||
vim.command( 'sign define vimspectorBPDisabled text=!> texthl=Warning' )
|
||||
vim.command( 'sign define vimspectorBPDisabled text=\\ ● texthl=LineNr' )
|
||||
|
||||
|
||||
def ConnectionUp( self, connection ):
|
||||
|
|
|
|||
|
|
@ -41,17 +41,17 @@ class CodeView( object ):
|
|||
}
|
||||
|
||||
with utils.LetCurrentWindow( self._window ):
|
||||
vim.command( 'nnoremenu WinBar.Continue :call vimspector#Continue()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.Next :call vimspector#StepOver()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.Step :call vimspector#StepInto()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.Finish :call vimspector#StepOut()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.Pause :call vimspector#Pause()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.Stop :call vimspector#Stop()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.Restart :call vimspector#Restart()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.Reset :call vimspector#Reset()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.■\\ Stop :call vimspector#Stop()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.▶\\ Cont :call vimspector#Continue()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.▷\\ Pause :call vimspector#Pause()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.↷\\ Next :call vimspector#StepOver()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.→\\ Step :call vimspector#StepInto()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.←\\ Out :call vimspector#StepOut()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.⟲: :call vimspector#Restart()<CR>' )
|
||||
vim.command( 'nnoremenu WinBar.✕ :call vimspector#Reset()<CR>' )
|
||||
|
||||
if not utils.SignDefined( 'vimspectorPC' ):
|
||||
vim.command( 'sign define vimspectorPC text=-> texthl=Search' )
|
||||
vim.command( 'sign define vimspectorPC text=\\ ▶ texthl=MatchParen' )
|
||||
|
||||
|
||||
def SetCurrentFrame( self, frame ):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue