diff --git a/init.vim b/init.vim index 140765d..9d0afa7 100644 --- a/init.vim +++ b/init.vim @@ -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 tnoremap @@ -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 "_dd nnoremap nnoremap diff --git a/install_configfiles.sh b/install_configfiles.sh old mode 100644 new mode 100755