Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
10
votes
how to add date and time into spacemacs' mode line
To get date and time, do this instead
;;display time in powerline
(spacemacs|define-mode-line-segment date-time-segment
(shell-command-to-string "echo -n $(date +%k:%M--%m-%d)")
)
(add-to-list … spacemacs-mode-line-right 'date-time-segment)
Source: https://www.reddit.com/r/emacs/comments/3lu414/how_to_add_date_and_time_into_spacemacs_powerline/
I customized mine with this...
;; display time in powerline …