add nvim dotfile
This commit is contained in:
18
user/stormwind/dotfiles/neovim/init.vim
Normal file
18
user/stormwind/dotfiles/neovim/init.vim
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user