From 5ef28a2edd7895d2818579a4eda2663d399f8bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Mon, 5 Apr 2021 22:48:00 +0200 Subject: [PATCH] Changed theme in vim MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .config/nvim/init.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index cdc2032..1f07c51 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -75,6 +75,8 @@ let g:markdown_fenced_languages = ['html', 'python', 'bash=sh'] let g:markdown_minlines = 1 autocmd FileType markdown set foldexpr=NestedMarkdownFolds() +au BufNewFile,BufRead *.conf setfiletype conf + " line numbers set number set ruler @@ -136,6 +138,8 @@ nnoremap :m-2 nnoremap :m+ inoremap :m-2 inoremap :m+ +vnoremap :m '>+1gv=gv +vnoremap :m '<-2gv=gv cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' edit!