Add vim-glsl

This commit is contained in:
Knyffen 2023-09-02 15:03:01 +02:00
parent 6abccc83bf
commit 17f3885e3c
2 changed files with 6 additions and 1 deletions

View File

@ -84,6 +84,7 @@
\}
Plug 'JuliaEditorSupport/julia-vim'
Plug 'rust-lang/rust.vim'
Plug 'tikhomirov/vim-glsl'
" Language server
Plug 'neovim/nvim-lspconfig'
@ -203,6 +204,7 @@ filetype plugin indent on
au BufRead,BufNewFile *.c.snip set filetype=c
au BufRead,BufNewFile *.cpp.snip set filetype=cpp
au BufRead,BufNewFile *.jl.snip set filetype=julia
" }}}
" escape terminal on <Esc>
tnoremap <Esc> <C-\><C-n>
@ -674,8 +676,11 @@ endif
endfunction
" }}}
" add a proper delete line command {{{
" add proper delete commands {{{
nnoremap x "_dl
xnoremap x "_d
"xnoremap p "_dP
"xnoremap P dp
nnoremap <C-e> "_dd
nnoremap <C-j> <C-e>
nnoremap <C-k> <C-y>

0
install_configfiles.sh Normal file → Executable file
View File