_
This commit is contained in:
54
nvim/init.vim
Executable file
54
nvim/init.vim
Executable file
@@ -0,0 +1,54 @@
|
||||
" ~/.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
|
||||
Reference in New Issue
Block a user