From 5fdd07b5ac6990fbc584d2df750e2ad9065a60cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kn=C3=BCttel?= Date: Tue, 6 Jul 2021 10:42:13 +0200 Subject: [PATCH] removed my crude selfwritten bracket autoinserting --- init.vim | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/init.vim b/init.vim index 0b76317..89b02e0 100644 --- a/init.vim +++ b/init.vim @@ -205,22 +205,6 @@ let g:completion_enable_snippet = 'UltiSnips' " Use completion-nvim in every buffer autocmd BufEnter * lua require'completion'.on_attach() -" This function and mapping is basically related -" to autocompletion as well. -" It automatically maps a single bracket to the -" GNU-style formatted bracket. -let g:AutoInsertBracket_enable = 0 - -function! AutoInsertBracket() - if g:AutoInsertBracket_enable - return "{\n}\O" - else - return "{" - endif -endfunction -inoremap { AutoInsertBracket() - - "============================ A Nice Color Scheme ============================== "===============================================================================