From 2907ace03c78af18b2e6445cd2cbf44ac56b21a2 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 10 May 2022 17:50:25 +0900 Subject: mac: cursor fixup --- fnl/nvrc/events.fnl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'fnl/nvrc/events.fnl') diff --git a/fnl/nvrc/events.fnl b/fnl/nvrc/events.fnl index 5a9e1f3..2809ba4 100644 --- a/fnl/nvrc/events.fnl +++ b/fnl/nvrc/events.fnl @@ -10,14 +10,14 @@ (fn bufexists? [...] (= (vim.fn.bufexists ...) 1)) ; Restore cursor style to beam on exit -(ag! restore-cursor - (au! VimLeave * (set! guicursor ["a:ver75-blinkon0"]))) +;; (ag! restore-cursor +;; (au! VimLeave * (set! guicursor ["a:ver75-blinkon0"]))) ; Restore the last cursor line -;; (ag! restore-last-cursor-line -;; (au! BufReadPost * (if (and (> (line "'\"") 1) -;; (<= (line "'\"") (line "$"))) -;; (cmd! "normal! g`\"")))) +(ag! restore-last-cursor-line + (au! BufReadPost * (if (and (> (line "'\"") 1) + (<= (line "'\"") (line "$"))) + (cmd! "normal! g`\"")))) ; Resize splits on window resize (ag! resize-splits-on-resize -- cgit 1.4.1