added urxvt open

This commit is contained in:
petrucci4prez 2018-08-22 00:20:31 -04:00
parent f4f00da83a
commit ad767784ab
1 changed files with 6 additions and 0 deletions

View File

@ -300,6 +300,11 @@ event of an error or nonlocal exit."
"Kill all buffers without regard for their origin." "Kill all buffers without regard for their origin."
(interactive) (interactive)
(mapc 'kill-buffer (buffer-list))) (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 #+END_SRC
* completion * completion
** company ** company
@ -1836,6 +1841,7 @@ These are for mode-specific bindings that can/should be outside of the evil maps
(global-set-key (kbd "<f3>") 'cfw:open-org-calendar) (global-set-key (kbd "<f3>") 'cfw:open-org-calendar)
(global-set-key (kbd "<f4>") 'org-clock-goto) (global-set-key (kbd "<f4>") 'org-clock-goto)
(global-set-key (kbd "<f5>") 'ansi-term) (global-set-key (kbd "<f5>") 'ansi-term)
(global-set-key (kbd "C-<f5>") 'nd/open-urxvt)
(global-set-key (kbd "<f12>") 'mu4e) (global-set-key (kbd "<f12>") 'mu4e)
(global-set-key (kbd "C-<f12>") 'global-hl-line-mode) (global-set-key (kbd "C-<f12>") 'global-hl-line-mode)
(global-set-key (kbd "S-<f12>") 'display-line-numbers-mode) (global-set-key (kbd "S-<f12>") 'display-line-numbers-mode)