From 2aba5ea0a97b02681078dc8816cbb3c800a480ac Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 1 Sep 2021 18:22:52 +0200 Subject: Vim config changes --- vim-core/.config/nvim/init.vim | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'vim-core') diff --git a/vim-core/.config/nvim/init.vim b/vim-core/.config/nvim/init.vim index 0753756..9f992f8 100644 --- a/vim-core/.config/nvim/init.vim +++ b/vim-core/.config/nvim/init.vim @@ -70,7 +70,7 @@ filetype plugin indent on " required " Language specific{{{ autocmd FileType python set et autocmd FileType go setlocal noet - autocmd FileType nix setlocal shiftwidth=4 + autocmd FileType nix setlocal shiftwidth=4 softtabstop=4 autocmd FileType vim setlocal foldmethod=marker"}}} " File management{{{ @@ -90,10 +90,7 @@ filetype plugin indent on " required nnoremap k (v:count > 1 ? "m'" . v:count : '' ) . 'k' " Leader stuff - let mapleader=" " - - map mm :make V=1 - map mf :make flash V=1"}}} + let mapleader="\" " Enforcing filetypes{{{ autocmd BufRead,BufNewFile *.ino set filetype=c -- cgit v1.2.3