dotfiles/vim/.vim/plugin/remaps.vim

27 lines
503 B
VimL

" Remaps
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
nnoremap J :bn<CR>
nnoremap K :bp<CR>
nnoremap <C-u> :earlier<CR>
nnoremap <C-U> :later<CR>
noremap Y "+y
noremap <C-E> :tabedit **/*
noremap <F1> :ter<CR>
noremap <F12> :tabedit<CR>:ter<CR><C-w><C-w>:q<CR>
noremap == ==j
nmap 0 ^
nmap ' `
" Diaeresis for e.g. german
inoremap a" ä
inoremap o" ö
inoremap u" ü
inoremap A" Ä
inoremap U" Ü
inoremap O" Ö
inoremap s" ß
inoremap e" €