diff options
Diffstat (limited to 'users/Profpatsch/emacs-tree-sitter-move/tmp.el')
-rw-r--r-- | users/Profpatsch/emacs-tree-sitter-move/tmp.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/users/Profpatsch/emacs-tree-sitter-move/tmp.el b/users/Profpatsch/emacs-tree-sitter-move/tmp.el new file mode 100644 index 000000000000..dcd17aa5757f --- /dev/null +++ b/users/Profpatsch/emacs-tree-sitter-move/tmp.el @@ -0,0 +1,13 @@ +(tree-sitter-load + 'python + (format "%s/bin/python" + (getenv "TREE_SITTER_GRAMMAR_DIR"))) + +(setq tree-sitter-major-mode-language-alist + '((python-mode . python))) + + +(define-key evil-normal-state-map (kbd "C-<right>") #'tree-sitter-move-right) +;; (define-key evil-normal-state-map (kbd "C-<left>") 'sp-backward-parallel-sexp) +;; (define-key evil-normal-state-map (kbd "C-<down>") 'sp-down-sexp) +;; (define-key evil-normal-state-map (kbd "C-<up>") 'sp-backward-up-sexp) |