diff options
author | sefidel <contact@sefidel.net> | 2022-05-10 17:50:25 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-05-10 17:50:25 +0900 |
commit | 2907ace03c78af18b2e6445cd2cbf44ac56b21a2 (patch) | |
tree | e7d4b014b332225c75a3817049b96f536f47c4f8 /fnl | |
parent | 53831367e8deea7cbd471bd48b9681d2a7dd5afb (diff) | |
download | nvimrc-2907ace03c78af18b2e6445cd2cbf44ac56b21a2.tar.gz nvimrc-2907ace03c78af18b2e6445cd2cbf44ac56b21a2.zip |
mac: cursor fixup
Diffstat (limited to 'fnl')
-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 |