diff options
author | Julian T <julian@jtle.dk> | 2021-09-01 18:22:52 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-09-01 18:22:52 +0200 |
commit | 2aba5ea0a97b02681078dc8816cbb3c800a480ac (patch) | |
tree | 44206863147a02f320296dfedfecdea1981bee20 /vim-core/.config | |
parent | 51abd3b75cf325ee54b87fbe2bf5e3cf59169455 (diff) |
Vim config changes
Diffstat (limited to 'vim-core/.config')
-rw-r--r-- | vim-core/.config/nvim/init.vim | 7 |
1 files changed, 2 insertions, 5 deletions
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 <expr> k (v:count > 1 ? "m'" . v:count : '' ) . 'k' " Leader stuff - let mapleader=" " - - map <leader>mm :make V=1<CR> - map <leader>mf :make flash V=1<CR>"}}} + let mapleader="\<Space>" " Enforcing filetypes{{{ autocmd BufRead,BufNewFile *.ino set filetype=c |