Skip to content

Commit

Permalink
refactor: set concealcursor=nvic by default
Browse files Browse the repository at this point in the history
Originally I set the default value to `n` because I wanted users to be
aware of the magic ID number at the start of the line if they were
editing a buffer. With the recent improvements to the cursor placement,
I think that it's no longer necessary. Most normal edits should just
work as expected now, and it's a nicer experience if the visuals don't
jump around when you enter visual/insert mode.
  • Loading branch information
stevearc committed Sep 12, 2023
1 parent fdb50dc commit 28596bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/oil/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local default_config = {
spell = false,
list = false,
conceallevel = 3,
concealcursor = "n",
concealcursor = "nvic",
},
-- Restore window options to previous values when leaving an oil buffer
restore_win_options = true,
Expand Down

0 comments on commit 28596bd

Please sign in to comment.