diff --git a/conf.org b/conf.org index b4962fc..598b46f 100644 --- a/conf.org +++ b/conf.org @@ -300,6 +300,11 @@ event of an error or nonlocal exit." "Kill all buffers without regard for their origin." (interactive) (mapc 'kill-buffer (buffer-list))) + +(defun nd/open-urxvt () + "Launch urxvt in the current directory." + (interactive) + (call-process "urxvt" nil 0 nil "-cd" default-directory)) #+END_SRC * completion ** company @@ -1836,6 +1841,7 @@ These are for mode-specific bindings that can/should be outside of the evil maps (global-set-key (kbd "") 'cfw:open-org-calendar) (global-set-key (kbd "") 'org-clock-goto) (global-set-key (kbd "") 'ansi-term) +(global-set-key (kbd "C-") 'nd/open-urxvt) (global-set-key (kbd "") 'mu4e) (global-set-key (kbd "C-") 'global-hl-line-mode) (global-set-key (kbd "S-") 'display-line-numbers-mode)