Added basic nvim config, replaced vim with nvim

This commit is contained in:
Philipp 2024-03-03 15:33:59 +01:00
parent 624d12439c
commit ea2e6747d9
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
1972 changed files with 126578 additions and 0 deletions

44
dot_config/nvim/init.vim Normal file
View file

@ -0,0 +1,44 @@
" Get us some plugins
call plug#begin("~/.vim/plugged")
" Plugin Section
Plug 'dracula/vim'
Plug 'ryanoasis/vim-devicons'
Plug 'scrooloose/nerdtree'
call plug#end()
" Show matching
set showmatch
" case insensitive
set ignorecase
" Enable middle mouse click pasting
set mouse=v
" Highlight our search
set hlsearch
" Set columns for tab stop
set tabstop=4
" convert tabs to white spaces
set expandtab
" indent a new line the same amount as the line just typed
set autoindent
" show line numbers
set number
" enable syntax highlighting
syntax on
" use system clipboard
set clipboard=unnamedplus
" highlight current cursorline
set cursorline
" disable creating swap file
set noswapfile