:config (setq paradox-execute-asynchronously t)
)
#+END_SRC
-* Add library paths
+* Paths
+** Update PATH
+#+BEGIN_SRC emacs-lisp
+ (add-to-list 'exec-path '"/usr/local/bin")
+ (add-to-list 'exec-path '"~/bin/")
+#+END_SRC
+** Add library paths
#+BEGIN_SRC emacs-lisp
(add-to-list 'load-path '"~/lib/emacs_el/")
(defun dla/ess-region-remote-eval (start end)
"Evaluate region in a remote ESS instance"
(interactive "r")
- (shell-command-on-region start end "eval_r" (get-buffer-create "***essregionremoteeval***"))
- kill-buffer "***essregionremoteeval***")
+ (shell-command-on-region start end "eval_r" (get-buffer-create "***essregionremoteeval***") nil nil nil)
+ (kill-buffer "***essregionremoteeval***"))
;; Don't restore history or save workspace image
'(inferior-R-args "--no-restore-history --no-save")
)
)
#+END_SRC
+** YAML Mode
+#+BEGIN_SRC emacs-lisp
+ (use-package yaml-mode
+ ;; add ess to the x major mode
+ :mode ("\\.\\(yaml|yml\\)\\'" . yaml-mode)
+ )
+#+END_SRC
+
** Polymode
#+BEGIN_SRC emacs-lisp
(use-package poly-noweb
(setq atomic-chrome-buffer-open-style 'full)
)
#+END_SRC
+** Edit Server
+#+BEGIN_SRC emacs-lisp
+ (use-package edit-server
+ :ensure t
+ :commands edit-server-start
+ :init (if after-init-time
+ (edit-server-start)
+ (add-hook 'after-init-hook
+ #'(lambda() (edit-server-start))))
+ :config (setq edit-server-new-frame-alist
+ '((name . "Edit with Emacs FRAME")
+ (top . 200)
+ (left . 200)
+ (width . 80)
+ (height . 25)
+ (minibuffer . t)
+ (menu-bar-lines . t)
+ (window-system . x)))
+ )
+#+END_SRC
** Multiple Cursors
:PROPERTIES:
:ID: 6fcf218b-a762-4c37-9339-a8202ddeb544
)
#+END_SRC
* Keybindings
+** Home/End Begining/End of line
+#+BEGIN_SRC emacs-lisp
+ (global-set-key [home] 'move-beginning-of-line)
+ (global-set-key [end] 'move-end-of-line)
+#+END_SRC
** Goto line
#+BEGIN_SRC emacs-lisp
(global-unset-key "\M-g")