             (move-end-of-line nil)   ;; proba
             (call-interactively 'eval-last-sexp)))
 
+    (defun nk-eval-elisp-function()
+      (interactive)
+      (if (not (string-equal (string (char-after (point))) ")"))
+        (progn
+          (if (not (string-equal (string (char-after (point))) "("))
+              (goto-char (search-backward "(")))
+          ;; match pair closed parentheses
+          (evil-jump-item)))
+          ;; (left-char)
+        ; (save-excursion
+            ; (move-end-of-line nil)
+          ; (evil-forward-WORD-end nil)
+            (call-interactively 'eval-last-sexp))
+
+
+
+
     (string-equal (string (char-after (point))) ")")
 
 

;; https://www.youtube.com/watch?v=2z-YBsd5snY

;; USE HELP - it is great!


;; use "<leader>qq" to evaluate expressions

;; ===================================================

;; constants (atoms)
    2
    3.5
    "abe"
    path-separator
    abe_proba

;; add function
    (+ 1 3)

;; nesting functions
    (+ (* 2 3) (/ 36 4))

;; print message in minibuffer (command window)
    (message "hello there")

    (message "%s" (+ 1 3))

;; lists

;; error - evaluates function 1 on arguments 2 and 3
    (1 2 3)

;; say it is a list - quote
    (quote (1 2 3))

;; quote - treat it as a list and not as a function

