summaryrefslogtreecommitdiff
path: root/vim-core/.config
diff options
context:
space:
mode:
authorJulian T. <julian@jtle.dk>2023-11-19 12:48:12 +0100
committerJulian T. <julian@jtle.dk>2023-11-19 12:48:12 +0100
commit517fec1d313ca9a9cc1c7e70484a730d84cfe070 (patch)
tree5a1202a6c9d3f44ebe85acc18afea5fa42e0f811 /vim-core/.config
parentf704caf68f69dfdc098746f66ab07222cf69b241 (diff)
Vim stuff
Diffstat (limited to 'vim-core/.config')
-rw-r--r--vim-core/.config/nvim/init.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim-core/.config/nvim/init.vim b/vim-core/.config/nvim/init.vim
index 5a57355..fc5f2e5 100644
--- a/vim-core/.config/nvim/init.vim
+++ b/vim-core/.config/nvim/init.vim
@@ -2,6 +2,8 @@ set nocompatible
filetype plugin on
set shellslash
+let mapleader=","
+
runtime extra.vim
filetype plugin indent on " required
@@ -97,9 +99,7 @@ filetype plugin indent on " required
nnoremap <expr> j (v:count > 1 ? "m'" . v:count : '' ) . 'j'
nnoremap <expr> k (v:count > 1 ? "m'" . v:count : '' ) . 'k'
- " Leader stuff
- let mapleader=" "
- nnoremap <SPACE> <Nop>
+ nnoremap <leader>p :echo "Leader virker"<CR>
" Enforcing filetypes{{{
autocmd BufRead,BufNewFile *.ino set filetype=c