nvim config

This commit is contained in:
Candifloss 2024-12-23 15:17:34 +05:30
parent 3e226f93b0
commit e6946b70a7
2 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,10 @@
# dotfiles_nvim
# Neovim editor
NeoVim configs
Very basic config - no plugins or themes yet, as I like the current(default) look.
The current config is compatible with vim, too.
Might change later.
## Nvim config file location
For user-specific config: `~/.config/nvim/init.vim`
For system-wide config: `/etc/xdg/nvim/init.vim`

9
init.vim Normal file
View File

@ -0,0 +1,9 @@
set nocompatible " disable compatibility to old-time vi
set ignorecase " case insensitive
set mouse=v " middle-click paste with
set incsearch " incremental search
set tabstop=4 " number of columns occupied by a tab
set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing
set shiftwidth=4 " width for autoindents
filetype plugin indent on "allow auto-indenting depending on file type
syntax on " syntax highlighting