Permalink
Browse files

scoop is nice, use restclient

  • Loading branch information...
neeasade committed Mar 29, 2018
1 parent 11883fc commit 2b83d539db2adbb18ed607f5c0fc16f8b0383d71
Showing with 34 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 emacs/.emacs.d/init.el
  3. +10 −0 emacs/.emacs.d/lisp/helpers.el
  4. +21 −2 emacs/.emacs.d/lisp/theworld.el
View
@@ -1,4 +1,5 @@
nohup.out
*.*~
wm/.wm/panel/juicers/
wm/.wm/panel/logs
View
@@ -27,13 +27,13 @@
(neeasade/company)
(neeasade/projectile)
(neeasade/flycheck)
(neeasade/ivy-style)
(neeasade/window-management)
;; (neeasade/window-management)
(neeasade/emms)
(neeasade/jump)
(neeasade/treemacs)
(neeasade/target-process)
(neeasade/dashdocs)
(neeasade/restclient)
)
(defun neeasade/communication()
@@ -126,3 +126,13 @@
(when (looking-at-p "^ +\/?> *$")
(delete-char sgml-basic-offset))))
(advice-add #'js-jsx-indent-line :after #'js-jsx-indent-line-align-closing-bracket)
(defun neeasade/toggle-notes()
;; todo: if current buffer is notes.org, switch back
;; else go ~/or/notes.org
;; bind to spc n
)
;; org reference
;; (org-set-property "id" "value")
;; (org-find-entry-with-id "value")
@@ -873,7 +873,11 @@ current major mode."
(defun neeasade/shell()
(if sys/windows?
(progn
(setq explicit-shell-file-name "C:\\Program Files\\Git\\bin\\bash.exe")
(setq explicit-shell-file-name
(concat
(getenv "USERPROFILE")
"\\scoop\\apps\\git-with-openssh\\current\\usr\\bin\\bash.exe"
))
(setq shell-file-name explicit-shell-file-name)
(setq explicit-bash.exe-args '("--login" "-i"))
)
@@ -915,5 +919,20 @@ current major mode."
)
(defun neeasade/markdown()
(use-package markdownmode)
;; (use-package markdownmode)
)
(defun neeasade/restclient()
(use-package restclient
:config
(neeasade/bind-leader-mode
'restclient-mode
;;"er" 'eval-region
"ei" 'restclient-http-send-current
;;"eb" 'le::eval-and-insert-all-sexps
)
)
(use-package company-restclient)
)

0 comments on commit 2b83d53

Please sign in to comment.