refactor(config): remove options set by astrocore
This commit is contained in:
parent
01338c04d8
commit
2e8dbe9585
1 changed files with 0 additions and 91 deletions
|
|
@ -3,45 +3,9 @@
|
||||||
# Use :h <option> to load help for given <option>
|
# Use :h <option> to load help for given <option>
|
||||||
{
|
{
|
||||||
opts = {
|
opts = {
|
||||||
# Keep visual indentation on wrapped lines
|
|
||||||
breakindent = true;
|
|
||||||
|
|
||||||
# Hide command line unless needed
|
|
||||||
cmdheight = 0;
|
|
||||||
|
|
||||||
# Insert mode completion options
|
|
||||||
completeopt = [ "menu" "menuone" "noselect" ];
|
|
||||||
|
|
||||||
# Copy previous indentation on autoindenting
|
|
||||||
copyindent = true;
|
|
||||||
|
|
||||||
# Highlight current line
|
|
||||||
cursorline = true;
|
|
||||||
|
|
||||||
# Expand <Tab> to spaces
|
|
||||||
expandtab = true;
|
|
||||||
|
|
||||||
# Enable fold with all code unfolded
|
|
||||||
foldcolumn = "1";
|
|
||||||
foldenable = true;
|
|
||||||
foldlevel = 99;
|
|
||||||
foldlevelstart = 99;
|
|
||||||
|
|
||||||
# Ignore case in search patterns
|
|
||||||
ignorecase = true;
|
|
||||||
|
|
||||||
# Show substitution preview in split window
|
# Show substitution preview in split window
|
||||||
inccommand = "split";
|
inccommand = "split";
|
||||||
|
|
||||||
# Infer casing on word completion
|
|
||||||
infercase = true;
|
|
||||||
|
|
||||||
# Global statusline
|
|
||||||
laststatus = 3;
|
|
||||||
|
|
||||||
# Wrap lines at 'breakat'
|
|
||||||
linebreak = true;
|
|
||||||
|
|
||||||
# Enable list mode
|
# Enable list mode
|
||||||
list = true;
|
list = true;
|
||||||
|
|
||||||
|
|
@ -52,66 +16,11 @@
|
||||||
# - non-breakable spaces are shown as ⎕
|
# - non-breakable spaces are shown as ⎕
|
||||||
listchars = "tab:‒▶,trail:·,multispace:·,lead: ,nbsp:⎕";
|
listchars = "tab:‒▶,trail:·,multispace:·,lead: ,nbsp:⎕";
|
||||||
|
|
||||||
# Show line numbers
|
|
||||||
number = true;
|
|
||||||
|
|
||||||
# Preserve indentation as much as possible
|
|
||||||
preserveindent = true;
|
|
||||||
|
|
||||||
# Height of the popup menu
|
|
||||||
pumheight = 10;
|
|
||||||
|
|
||||||
# Display line numbers relative to current line
|
|
||||||
relativenumber = true;
|
|
||||||
|
|
||||||
# Minimal number of lines to keep around the cursor
|
# Minimal number of lines to keep around the cursor
|
||||||
# This has the effect to move the view along with current line
|
# This has the effect to move the view along with current line
|
||||||
#scrolloff = 999;
|
#scrolloff = 999;
|
||||||
|
|
||||||
# Number of spaces to use for indentation
|
|
||||||
shiftwidth = 2;
|
|
||||||
|
|
||||||
# Disable showing modes in command line
|
|
||||||
showmode = false;
|
|
||||||
|
|
||||||
# Always show tabline
|
|
||||||
showtabline = 2;
|
|
||||||
|
|
||||||
# Show signs column
|
|
||||||
signcolumn = "yes";
|
|
||||||
|
|
||||||
# Override ignorecase if search pattern contains uppercase characters
|
|
||||||
smartcase = true;
|
|
||||||
|
|
||||||
# Number of spaces input on <Tab>
|
# Number of spaces input on <Tab>
|
||||||
softtabstop = 2;
|
softtabstop = 2;
|
||||||
|
|
||||||
# Open horizontal split below (:split)
|
|
||||||
splitbelow = true;
|
|
||||||
|
|
||||||
# Open vertical split to the right (:vsplit)
|
|
||||||
splitright = true;
|
|
||||||
|
|
||||||
# Number of spaces to represent a <Tab>
|
|
||||||
tabstop = 2;
|
|
||||||
|
|
||||||
# Enables 24-bit RGB color
|
|
||||||
termguicolors = true;
|
|
||||||
|
|
||||||
# Shorter timeout duration
|
|
||||||
timeoutlen = 500;
|
|
||||||
|
|
||||||
# Set window title to the filename
|
|
||||||
title = true;
|
|
||||||
|
|
||||||
# Save undo history to undo file (in $XDG_STATE_HOME/nvim/undo)
|
|
||||||
undofile = true;
|
|
||||||
|
|
||||||
# Enable virtual edit in visual block mode
|
|
||||||
# This has the effect of selecting empty cells beyond lines boundaries
|
|
||||||
virtualedit = "block";
|
|
||||||
|
|
||||||
# Disable line wrapping
|
|
||||||
wrap = false;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue