summary refs log tree commit diff
path: root/emacs.d/lib/bindings.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lib/bindings.el')
-rw-r--r--emacs.d/lib/bindings.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/lib/bindings.el b/emacs.d/lib/bindings.el
new file mode 100644
index 0000000..2320fb5
--- /dev/null
+++ b/emacs.d/lib/bindings.el
@@ -0,0 +1,8 @@
+;; some bindings
+(global-set-key (kbd "M-j") 'join-line)
+(global-set-key (kbd "<s-return>") 'toggle-frame-fullscreen)
+
+(define-key emacs-lisp-mode-map (kbd "C-c C-e") 'eval-buffer)
+(define-key emacs-lisp-mode-map (kbd "C-c C-r") 'eval-region)
+
+(provide 'bindings)