Free vimrc from stupid ide garbage

This commit is contained in:
Leon Grünewald 2023-05-08 16:18:10 +02:00
parent c40ba9f00b
commit 740ad06041

61
.vimrc
View file

@ -4,77 +4,16 @@ let mapleader=' '
call plug#begin('~/.vim/plugged')
if has('nvim')
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'lewis6991/impatient.nvim'
"
Plug 'akinsho/bufferline.nvim'
Plug 'feline-nvim/feline.nvim'
Plug 'glepnir/dashboard-nvim'
Plug 'ms-jpq/chadtree', {'branch': 'chad', 'do': 'python3 -m chadtree deps'}
" Plug 'ms-jpq/coq.artifacts'
" Plug 'ms-jpq/coq_nvim'
Plug 'nathom/filetype.nvim'
Plug 'neovim/nvim-lspconfig'
Plug 'norcalli/nvim-colorizer.lua'
Plug 'nvim-lua/lsp_extensions.nvim'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-orgmode/orgmode'
Plug 'nvim-telescope/telescope.nvim'
Plug 'onsails/lspkind-nvim'
Plug 'ray-x/lsp_signature.nvim'
" Plug 'williamboman/nvim-lsp-installer'
Plug 'windwp/nvim-autopairs'
endif
Plug 'SirVer/ultisnips'
Plug 'alvan/vim-closetag'
Plug 'andymass/vim-matchup'
Plug 'ghifarit53/tokyonight-vim'
Plug 'honza/vim-snippets'
Plug 'justinmk/vim-sneak'
Plug 'mattn/emmet-vim'
Plug 'mipmip/vim-fluid'
Plug 'puremourning/vimspector'
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-surround'
call plug#end()
if has('nvim')
set inccommand=nosplit
"" Telescope
" Using Lua functions
nnoremap <leader>ff <cmd>lua require('telescope.builtin').find_files()<cr>
nnoremap <leader>fg <cmd>lua require('telescope.builtin').live_grep()<cr>
nnoremap <leader>fb <cmd>lua require('telescope.builtin').buffers()<cr>
nnoremap <leader>fh <cmd>lua require('telescope.builtin').help_tags()<cr>
"" CHADTree config
if &diff
else
autocmd VimEnter * CHADopen --nofocus
endif
nnoremap <leader>v <cmd>CHADopen<cr>
endif
"" Emmet
let g:user_emmet_mode='n' "only enable normal mode functions.
let g:user_emmet_leader_key='<C-Z>'
"" Ultrasnips
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
"" Vim Closetag
let g:closetag_filenames = '*.xml,*.xlf,*.html,*.xhtml,*.phtml'
"" coq nvim
let g:coq_settings = { 'auto_start': 'shut-up' }
"" vimspector
let g:vimspector_enable_mappings = 'HUMAN'
let g:vimspector_install_gadgets = [ 'CodeLLDB' ]
"" Vim Config
" Set completeopt to have a better completion experience
set completeopt=menuone,noinsert,noselect