     (if (buffer-narrowed-p) (fancy-widen))
     (let ((range (evil-textobj-tree-sitter--range 1 (list (intern thing)))))
       (fancy-narrow-to-region (car range) (cdr range))))
-  (evil-leader/set-key "n n" (cons "reset-narrow" (lambda () (interactive) (fancy-widen))))
-  (evil-leader/set-key "n f" (cons "narrow-function"(lambda () (interactive) (meain/fancy-narrow-to-thing "function.outer"))))
-  (evil-leader/set-key "n c" (cons "narrow-class" (lambda () (interactive) (meain/fancy-narrow-to-thing "class.outer"))))
-  (evil-leader/set-key "n C" (cons "narrow-comment" (lambda () (interactive) (meain/fancy-narrow-to-thing "comment.outer"))))
-  (evil-leader/set-key "n o" (cons "narrow-loop" (lambda () (interactive) (meain/fancy-narrow-to-thing "loop.outer"))))
-  (evil-leader/set-key "n i" (cons "narrow-conditional" (lambda () (interactive) (meain/fancy-narrow-to-thing "conditional.outer"))))
-  (evil-leader/set-key "n a" (cons "narrow-parameter" (lambda () (interactive) (meain/fancy-narrow-to-thing "parameter.outer")))))
+  (evil-leader/set-key "n f" (cons "narrow-function" (meain/ilambda meain/fancy-narrow-to-thing "function.outer")))
+  (evil-leader/set-key "n c" (cons "narrow-class" (meain/ilambda meain/fancy-narrow-to-thing "class.outer")))
+  (evil-leader/set-key "n C" (cons "narrow-comment" (meain/ilambda meain/fancy-narrow-to-thing "comment.outer")))
+  (evil-leader/set-key "n o" (cons "narrow-loop" (meain/ilambda meain/fancy-narrow-to-thing "loop.outer")))
+  (evil-leader/set-key "n i" (cons "narrow-conditional" (meain/ilambda meain/fancy-narrow-to-thing "conditional.outer")))
+  (evil-leader/set-key "n a" (cons "narrow-parameter" (meain/ilambda meain/fancy-narrow-to-thing "parameter.outer")))
+  (evil-leader/set-key "n n" (cons "reset-narrow" #'fancy-widen)))
 
 ;; Quick file rename
 (defun meain/rename-current-file ()

  (define-key evil-outer-text-objects-map "a" (cons "evil-outer-parameter" (evil-textobj-tree-sitter-get-textobj "parameter.outer")))

  (advice-add 'evil-textobj-tree-sitter-goto-textobj :around #'meain/recenter-top-advice)
  (define-key evil-normal-state-map (kbd "]a") (cons "goto-parameter-start" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "parameter.inner"))))
  (define-key evil-normal-state-map (kbd "[a") (cons "goto-parameter-start" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "parameter.inner" t))))
  (define-key evil-normal-state-map (kbd "]A") (cons "goto-parameter-end" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "parameter.inner" nil t))))
  (define-key evil-normal-state-map (kbd "[A") (cons "goto-parameter-end" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "parameter.inner" t t))))
  (define-key evil-normal-state-map (kbd "]v") (cons "goto-conditional-start" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "conditional.outer"))))
  (define-key evil-normal-state-map (kbd "[v") (cons "goto-conditional-start" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "conditional.outer" t))))
  (define-key evil-normal-state-map (kbd "]V") (cons "goto-conditional-end" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "conditional.outer" nil t))))
  (define-key evil-normal-state-map (kbd "[V") (cons "goto-conditional-end" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "conditional.outer" t t))))
  (define-key evil-normal-state-map (kbd "]c") (cons "goto-class-start" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "class.outer"))))
  (define-key evil-normal-state-map (kbd "[c") (cons "goto-class-start" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "class.outer" t))))
  (define-key evil-normal-state-map (kbd "]C") (cons "goto-class-end" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "class.outer" nil t))))
  (define-key evil-normal-state-map (kbd "[C") (cons "goto-class-end" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "class.outer" t t))))
  (define-key evil-normal-state-map (kbd "]f") (cons "goto-function-start" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "function.outer"))))
  (define-key evil-normal-state-map (kbd "[f") (cons "goto-function-start" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "function.outer" t))))
  (define-key evil-normal-state-map (kbd "]F") (cons "goto-function-end" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "function.outer" nil t))))
  (define-key evil-normal-state-map (kbd "[F") (cons "goto-function-end" (lambda () (interactive) (evil-textobj-tree-sitter-goto-textobj "function.outer" t t)))))

(use-package ts-fold
  :defer t

;; Font size changes
(global-set-key (kbd "s-=") 'text-scale-increase)
(global-set-key (kbd "s--") 'text-scale-decrease)
(global-set-key (kbd "s-_") (meain/inlambda text-scale-set 0)) ; s-0 is used by wm

;; host picker
(defun meain/ssh-host-picker ()
