Files
dotfiles/nvim/init.vim
2025-12-06 08:14:32 +00:00

55 lines
938 B
VimL
Executable File

" ~/.config/nvim/init.vim
" General Settings
scriptencoding utf8
set encoding=utf-8
set mouse=a
set clipboard+=unnamedplus
" Indentation & Formatting
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set smarttab
set autoindent
set wrap
set breakindent
set textwidth=90
" Search Settings
set incsearch
set ignorecase
set smartcase
set hlsearch
set grepprg=rg\ --vimgrep
" Visual Settings
set termguicolors
set number
set list
set listchars=trail,tab-
set showtabline=0
set nocursorline
set nocursorcolumn
" Performance Settings
set scrolljump=5
set lazyredraw
set redrawtime=10000
set synmaxcol=180
set re=1
" File Management
set undofile
set undodir=/tmp
set backspace=indent,eol,start
set foldlevel=0
" Initialize Lua Configuration
lua require('my.init').setup()
" Package Management (Native)
packloadall " Load all packages
silent! helptags ALL " Generate help tags for all packages