add nvim dotfile

This commit is contained in:
RootHost-Stormwind
2025-01-13 01:29:08 +01:00
parent 537560f92c
commit 87ad1613bb
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
" Basic Neovim Configuration
" Enable syntax highlighting
syntax on
" Use spaces instead of tabs
set expandtab
" Set tab width to 2
set shiftwidth=2
set tabstop=2
" Highlight settings (optional)
set number " Show line numbers
" Alert when opening in read-only mode
autocmd BufReadPost * if &readonly | echohl WarningMsg | echo "Warning: Opened in Read-Only Mode" | echohl None | endif