diff options
Diffstat (limited to 'vim-core')
-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 |