09. init.vim basic settings
General settings
For basic settings in init.vim I have some tips for you, let's open it:
nvim init.vim
Add basic settings to init. vim:
`` " enable syntax highlighting syntax on
" better colors set termguicolors
" number of positions of the peripherals to be shifted using
" enable bullets set smartindent
" number of spaces used for automatic bullets set shiftwidth=4
" display line number set number
" columns used for line number set numberwidth=4
" highlight when searching for matching text. set incsearch set nohlsearch
" intuitively open split new windows set splitbelow set splitright
" browse buffer (windows) memory without losing unsaved work set hidden
" start scrolling page, when 8 lines from top or bottom edge set scrolloff=8
" Save history set undofile
" Enable mouse support set mouse=a
" case-insensitive search unless uppercase is used set ignorecase set smartcase
If you want more information about each setting, you can type `: h <setting name>` inside Neovim, to bring up help for that particular setting. For example:
``
:h number
Displays the help section for number
.