add Atom config files from kanaya
This commit is contained in:
parent
39feb5192c
commit
6223f8a91b
|
|
@ -0,0 +1,18 @@
|
|||
"*":
|
||||
"bracket-matcher": {}
|
||||
core:
|
||||
audioBeep: false
|
||||
telemetryConsent: "limited"
|
||||
useTreeSitterParsers: false
|
||||
editor:
|
||||
lineHeight: 1.25
|
||||
preferredLineLength: 120
|
||||
scrollPastEnd: true
|
||||
tabLength: 4
|
||||
"exception-reporting":
|
||||
userId: "4af648ae-236c-4a18-be73-72a7b1981edc"
|
||||
"git-diff": {}
|
||||
tabs:
|
||||
enableMruTabSwitching: false
|
||||
welcome:
|
||||
showOnStartup: false
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
# Disable Enter key for confirming an autocomplete suggestion
|
||||
#'atom-text-editor:not(mini).autocomplete-active':
|
||||
# 'enter': 'editor:newline'
|
||||
|
||||
# 'body':
|
||||
# 'ctrl-tab': 'pane:show-next-item'
|
||||
# 'ctrl-tab ^ctrl': 'unset!'
|
||||
# 'ctrl-shift-tab': 'pane:show-previous-item'
|
||||
# 'ctrl-shift-tab ^ctrl': 'unset!'
|
||||
|
||||
'atom-text-editor':
|
||||
'shift-enter': 'editor:move-to-end-of-screen-line'
|
||||
# vim-like cursor movement with alt-[hjkl]
|
||||
'alt-h': 'core:move-left'
|
||||
'alt-j': 'core:move-down'
|
||||
'alt-k': 'core:move-up'
|
||||
'alt-l': 'core:move-right'
|
||||
# jump to previous/next linter error
|
||||
'ctrl-<': 'linter-ui-default:previous'
|
||||
'ctrl->': 'linter-ui-default:next'
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
// Line-highlighting for ToDo tags
|
||||
|
||||
// TODO example
|
||||
// FIXME example
|
||||
// XXX example
|
||||
// NOTE example
|
||||
|
||||
.syntax--todo,
|
||||
.syntax--fixme,
|
||||
.syntax--xxx,
|
||||
.syntax--note {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
color: rgba(0, 255, 0, 0.8);
|
||||
background: rgba(0, 255, 0, 0.08);
|
||||
font-weight: bold;
|
||||
|
||||
&:before, &:after {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 8192px;
|
||||
// z-index: 9999;
|
||||
content: '';
|
||||
background: inherit;
|
||||
pointer-events: none;
|
||||
}
|
||||
&:before {
|
||||
right: 100%;
|
||||
}
|
||||
&:after {
|
||||
left: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.syntax--fixme,
|
||||
.syntax--xxx {
|
||||
color: rgba(255, 0, 0, 1);
|
||||
background: rgba(255, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.syntax--note {
|
||||
color: rgba(80, 80, 255, 1);
|
||||
background: rgba(0, 0, 255, 0.1);
|
||||
}
|
||||
Loading…
Reference in New Issue