Literature configuration made for doom emacs.
(setq user-full-name "Mikhail Skorzhisnkii")
Literature configuration made for doom emacs.
(setq user-full-name "Mikhail Skorzhisnkii")
(use-package ffap) | |
(defun sanitze-string (str) | |
"Returns a string which contains only a-zA-Z0-9 with single dashes | |
replacing all other characters in-between them. | |
Some parts were copied and adapted from org-hugo-slug | |
from https://github.com/kaushalmodi/ox-hugo (GPLv3)." | |
(let* (;; Remove "<FOO>..</FOO>" HTML tags if present. | |
(str (replace-regexp-in-string "<\\(?1:[a-z]+\\)[^>]*>.*</\\1>" "" str)) |
#!/bin/env perl | |
# | |
# This will try to find orphaned attachments in folder ~/org/storage | |
# using first argument to this script as a location where org files | |
# are | |
# | |
# Note, I haven't used this function in a while, unsure if it still works | |
# with most recent org versions... | |
use strict; |
;; Taken from https://github.com/novoid/dot-emacs/blob/master/config.org | |
(defun my-generate-sanitized-alnum-dash-string (str) | |
"Returns a string which contains only a-zA-Z0-9 with single dashes | |
replacing all other characters in-between them. | |
Some parts were copied and adapted from org-hugo-slug | |
from https://github.com/kaushalmodi/ox-hugo (GPLv3)." | |
(let* (;; Remove "<FOO>..</FOO>" HTML tags if present. | |
(str (replace-regexp-in-string "<\\(?1:[a-z]+\\)[^>]*>.*</\\1>" "" str)) | |
;; Remove org-mode links |
(setq | |
org-ql-views | |
'(("stuck" lambda nil | |
(interactive) | |
(org-ql-search | |
(org-agenda-files) | |
'(and (tags "story") | |
(not (tags "ignore")) | |
(not (done)) ;; Finished stories should be excluded | |
(not (descendants (todo "NEXT"))) ;; If there are already |
;; Font | |
(setq doom-font "Iosevka-9") | |
;; Hide signs like "~" or "_" or "*" | |
(setq org-hide-emphasis-markers t) | |
;; Don't align tags | |
(setq org-tags-column 0) | |
;; Increase indenation in org-indent |
#!/bin/bash | |
# Author: Mikhail Skorzhinskii <[email protected]> | |
# | |
# Description: Create a new file for org-mode and (may-be) try to attach it to | |
# the org-mode | |
choice=`kdialog --radiolist Type: Drawing Drawing on Screenshot Screenshot off Voice Voice off` | |
file_name=`uuidgen` |
rofi usage: | |
rofi [-options ...] | |
Command line only options: | |
-no-config Do not load configuration, use default values. | |
-v,-version Print the version number and exit. | |
-dmenu Start in dmenu mode. | |
-display [string] X server to contact. | |
${DISPLAY} | |
-h,-help This help message. |
"""""""""""""""""""""""""""""""""""""""""""""""" | |
" File: .vimrc " | |
" Create Date: Nov 04, 2010 " | |
" Author: Michail Skorzinskiy " | |
" email : [email protected] " | |
" jabber: [email protected] " | |
"""""""""""""""""""""""""""""""""""""""""""""""" | |