-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.nvim
28 lines (25 loc) · 1.2 KB
/
init.nvim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Basic settings
# ~/.config/nvim/init.nvim
set number " Show line numbers
set relativenumber " Show relative line numbers
set tabstop=4 " Set tab width to 4 spaces
set shiftwidth=4 " Set indent width to 4 spaces
set expandtab " Use spaces instead of tabs
set smarttab " Insert tabs based on shiftwidth
set autoindent " Enable auto indentation
set smartindent " Enable smart indentation
set ignorecase " Ignore case when searching
set smartcase " Override ignorecase if search contains uppercase letters
set incsearch " Highlight search matches as you type
set hlsearch " Highlight all search matches
set cursorline " Highlight the current line
set ruler " Show cursor position in the status line
set laststatus=2 " Always show the status line
set showcmd " Show incomplete commands
set wildmenu " Enable command-line completion
set showmatch " Highlight matching brackets
set mouse=a " Enable mouse support
syntax on " Turn on syntax
" Color scheme
colorscheme gruvbox
set background=dark " Use the dark variant of gruvbox