Forráskód Böngészése

general neovim cleanup

Noah Vogt 4 napja
szülő
commit
20b3299de9

+ 0 - 15
dot-config/nvim/general/basic.vim

@@ -1,5 +1,3 @@
-set nocompatible
-
 " set vim paths
 set undodir="~/.cache/vim/undo"
 set runtimepath+="~/.config/vim"
@@ -27,13 +25,9 @@ set smartcase
 set noswapfile
 set nobackup
 
-set incsearch
 set spelllang=de_ch,en
 set noshowmode
 
-" if hidden is not set, TextEdit might fail.
-set hidden
-
 " set height below statusline
 set cmdheight=1
 
@@ -45,12 +39,6 @@ set signcolumn=yes
 
 set colorcolumn=80
 
-" set encoding
-set encoding=utf-8
-
-" enable mouse
-set mouse=a
-
 " horizontal splits will automatically be below
 set splitbelow
 
@@ -60,9 +48,6 @@ set splitright
 " so that I can see `` in markdown files
 set conceallevel=0
 
-" make sure to enable syntax highlighting
-syntax enable
-
 " always show tabs
 "set showtabline=2
 

+ 2 - 3
dot-config/nvim/init.vim

@@ -16,7 +16,6 @@ source $XDG_CONFIG_HOME/nvim/plug-conf/wilder.vim
 source $XDG_CONFIG_HOME/nvim/plug-conf/vcoolor.vim
 source $XDG_CONFIG_HOME/nvim/plug-conf/better-whitespace.vim
 source $XDG_CONFIG_HOME/nvim/plug-conf/vimspector.vim
-source $XDG_CONFIG_HOME/nvim/plug-conf/vimspector.vim
 lua require 'treesitter'
 lua require 'indent-blankline'
 lua require 'telescope'
@@ -35,5 +34,5 @@ let g:black_virtualenv = ''
 let g:black_use_virtualenv = 0
 
 
-" disalbe automatic identation (should be at the end???)
-filetype indent off
+" enable intelligent indentation
+filetype plugin indent on

+ 0 - 7
dot-config/nvim/vim-plug/plugins.vim

@@ -16,9 +16,6 @@ Plug 'morhetz/gruvbox'
 Plug 'itchyny/landscape.vim'
 Plug 'joshdick/onedark.vim'
 
-" better syntax support
-"Plug 'sheerun/vim-polyglot'
-
 " fuzzy find files
 Plug 'ctrlpvim/ctrlp.vim'
 
@@ -87,15 +84,11 @@ Plug 'nvim-treesitter/nvim-treesitter-refactor'
 " adds indentation guides to all lines
 Plug 'lukas-reineke/indent-blankline.nvim', { 'tag': 'v2.20.8' }
 
-" add editorconfig support
-Plug 'editorconfig/editorconfig-vim'
-
 " highly extensible fuzzy finder
 Plug 'nvim-telescope/telescope.nvim'
 " w/ media preview
 Plug 'nvim-telescope/telescope-media-files.nvim'
 " w/ dependencies
-Plug 'nvim-lua/popup.nvim'
 Plug 'nvim-lua/plenary.nvim'
 
 " a more adventurous wildmenu