diff --git a/README.md b/README.md index 994d23c..63addf0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ -# dotfiles_nvim +# Neovim editor -NeoVim configs \ No newline at end of file +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` \ No newline at end of file diff --git a/init.vim b/init.vim new file mode 100644 index 0000000..6e7c08b --- /dev/null +++ b/init.vim @@ -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 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 \ No newline at end of file