update spacemacs/xinitrc
This commit is contained in:
parent
c851b6354c
commit
92169345ff
2 changed files with 15 additions and 1 deletions
14
.spacemacs
14
.spacemacs
|
|
@ -256,6 +256,19 @@ BUFFER may be either a buffer or its name (a string)."
|
||||||
(select-window-0)
|
(select-window-0)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(defun org-my-custom-timestamp ()
|
||||||
|
(interactive)
|
||||||
|
(evil-open-below 0)
|
||||||
|
(insert (format-time-string "[%D %H:%M]\n")))
|
||||||
|
|
||||||
|
(defun md-my-custom-timestamp ()
|
||||||
|
(interactive)
|
||||||
|
(evil-open-below 0)
|
||||||
|
(insert (format-time-string "###### [%D %H:%M]\n")))
|
||||||
|
|
||||||
|
(evil-leader/set-key-for-mode 'markdown-mode "," 'md-my-custom-timestamp)
|
||||||
|
(evil-leader/set-key-for-mode 'org-mode "," 'org-my-custom-timestamp)
|
||||||
|
|
||||||
(defadvice spacemacs//neotree-key-bindings (after add-custom-keybindings activate)
|
(defadvice spacemacs//neotree-key-bindings (after add-custom-keybindings activate)
|
||||||
"add keybindings for enter-hide and peek functions"
|
"add keybindings for enter-hide and peek functions"
|
||||||
(define-key evil-motion-state-local-map (kbd "RET") 'custom-neotree-enter-hide)
|
(define-key evil-motion-state-local-map (kbd "RET") 'custom-neotree-enter-hide)
|
||||||
|
|
@ -345,6 +358,7 @@ BUFFER may be either a buffer or its name (a string)."
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
|
'(org-support-shift-select (quote always))
|
||||||
'(safe-local-variable-values (quote ((eval setenv "GOPATH" "/home/barak/src/agro")))))
|
'(safe-local-variable-values (quote ((eval setenv "GOPATH" "/home/barak/src/agro")))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
|
|
|
||||||
2
.xinitrc
2
.xinitrc
|
|
@ -4,7 +4,7 @@ export PATH=$HOME/bin:$PATH
|
||||||
xrdb -merge .Xdefaults &
|
xrdb -merge .Xdefaults &
|
||||||
|
|
||||||
#gnome-settings-daemon &
|
#gnome-settings-daemon &
|
||||||
#xscreensaver -no-splash &
|
xscreensaver -no-splash &
|
||||||
#kupfer --no-splash &
|
#kupfer --no-splash &
|
||||||
rofi -key-run control-space -fuzzy -terminal run_terminal &
|
rofi -key-run control-space -fuzzy -terminal run_terminal &
|
||||||
nm-applet &
|
nm-applet &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue