summaryrefslogtreecommitdiff
path: root/vim-core/.config
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-09-01 18:22:52 +0200
committerJulian T <julian@jtle.dk>2021-09-01 18:22:52 +0200
commit2aba5ea0a97b02681078dc8816cbb3c800a480ac (patch)
tree44206863147a02f320296dfedfecdea1981bee20 /vim-core/.config
parent51abd3b75cf325ee54b87fbe2bf5e3cf59169455 (diff)
Vim config changes
Diffstat (limited to 'vim-core/.config')
-rw-r--r--vim-core/.config/nvim/init.vim7
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