2024-05-27 00:58:58 +02:00
|
|
|
|
# Neovim options
|
|
|
|
|
|
# Use :options to get the list of all options
|
|
|
|
|
|
# Use :h <option> to load help for given <option>
|
|
|
|
|
|
{
|
2024-05-27 09:39:25 +02:00
|
|
|
|
opts = {
|
|
|
|
|
|
# Show substitution preview in split window
|
|
|
|
|
|
inccommand = "split";
|
2024-05-27 00:58:58 +02:00
|
|
|
|
|
2024-05-27 09:39:25 +02:00
|
|
|
|
# Enable list mode
|
|
|
|
|
|
list = true;
|
2024-05-27 00:58:58 +02:00
|
|
|
|
|
2024-05-27 09:39:25 +02:00
|
|
|
|
# Set custom strings for list mode
|
|
|
|
|
|
# - tabulations are shown as ‒▶
|
|
|
|
|
|
# - trailing spaces are shown as ·
|
|
|
|
|
|
# - multiple non-leading consecutive spaces are shown as bullets (·)
|
|
|
|
|
|
# - non-breakable spaces are shown as ⎕
|
|
|
|
|
|
listchars = "tab:‒▶,trail:·,multispace:·,lead: ,nbsp:⎕";
|
2024-05-27 00:58:58 +02:00
|
|
|
|
|
2024-05-27 09:39:25 +02:00
|
|
|
|
# Minimal number of lines to keep around the cursor
|
|
|
|
|
|
# This has the effect to move the view along with current line
|
|
|
|
|
|
#scrolloff = 999;
|
2024-05-27 00:58:58 +02:00
|
|
|
|
|
2024-05-27 09:39:25 +02:00
|
|
|
|
# Number of spaces input on <Tab>
|
|
|
|
|
|
softtabstop = 2;
|
|
|
|
|
|
};
|
2024-05-27 00:58:58 +02:00
|
|
|
|
}
|