/[pattern]
search forward for pattern?[pattern]
search backward for patternn
repeat search forwardN
repeat search backward*
search for word currently under cursorg*
search for word partially under cursor[I
show lines with matching word under cursor%s/background/&-color/g
find and replace background with background-color.&
inserts the matched pattern%s/\(foo\)bar/\1baz/g
find and replace foobar with foobaz.\1
uses the captured groupfoo
from the\(\)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Properties | |
let year = civilDateTime.year; | |
let month = civilDateTime.month; | |
let day = civilDateTime.day; | |
let hour = civilDateTime.hour; | |
let minute = civilDateTime.minute; | |
let second = civilDateTime.second; | |
let millisecond = civilDateTime.millisecond; | |
let nanosecond = civilDateTime.nanosecond; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Global settings for redshift | |
[redshift] | |
; Set the day and night screen temperatures | |
temp-day=6000 | |
temp-night=3900 | |
; Enable/Disable a smooth transition between day and night | |
; 0 will cause a direct change from day to night screen temperature. | |
; 1 will gradually increase or decrease the screen temperature | |
transition=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
NewerOlder