diff options
-rw-r--r-- | fnl/nvrc/events.fnl | 12 |
1 files changed, 6 insertions, 6 deletions
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 |