Skip to content

Instantly share code, notes, and snippets.

@mihaelS
mihaelS / elisp
Last active March 30, 2018 15:46
headings analyze elisp

* Vicinity
SCHEDULED: <2017-04-19 Wed>
:PROPERTIES:
:CREATED: [2017-04-19 Wed 10:54]
:END:
переовод 2
* Starkly
SCHEDULED: <2017-04-19 Wed>
:PROPERTIES:
@mihaelS
mihaelS / promodoroNotify.el
Created November 17, 2016 10:33
notify about too long work time
;;{{{ notifi about promodoro
(defvar my-org-promodoro-timer nil)
(defvar my-org-promodoro-secs (* 60 1))
(setq my-promodoro-sprint-minutes 25)
(setq my-promodoro-small-rest-minutes 5)
(setq my-promodoro-big-rest-minutes 15)
(defun my-org-promodoro-check ()
(interactive)
(require 'org)
@mihaelS
mihaelS / .spacemacs
Last active October 1, 2015 12:33
spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration."
(setq-default
;; List of additional paths where to look for configuration layers.
;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
dotspacemacs-configuration-layer-path '()
@mihaelS
mihaelS / gist:32bc3b1127f9ff15567a
Created August 6, 2015 07:50
vim_local_settings_tex_file
version 6.0
if &cp | set nocp | endif
let s:cpo_save=&cpo
set cpo&vim
imap <S-Tab> <Plug>snipMateBack
inoremap <Plug>TComment_9 :call tcomment#SetOption("count", 9)
inoremap <Plug>TComment_8 :call tcomment#SetOption("count", 8)
inoremap <Plug>TComment_7 :call tcomment#SetOption("count", 7)
inoremap <Plug>TComment_6 :call tcomment#SetOption("count", 6)
inoremap <Plug>TComment_5 :call tcomment#SetOption("count", 5)
@mihaelS
mihaelS / cvim
Last active May 31, 2017 08:06
cvim
"GOOD ------------------------------------
captureLink -> {{
var uri = 'org-protocol://capture://l/' +
encodeURIComponent(window.location.href) + '/' +
encodeURIComponent(document.title) + '/' +
encodeURIComponent(window.getSelection().toString());
window.location = uri;
return uri;