diff options
Diffstat (limited to 'nvim/key-bindings.vim')
| -rw-r--r-- | nvim/key-bindings.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nvim/key-bindings.vim b/nvim/key-bindings.vim new file mode 100644 index 0000000..bd573a4 --- /dev/null +++ b/nvim/key-bindings.vim | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | " nvim/key-bindings.vim | ||
| 2 | |||
| 3 | let mapleader=',' | ||
| 4 | |||
| 5 | nnoremap <silent> <C-Left> :tabprevious<CR> | ||
| 6 | nnoremap <silent> <C-Right> :tabnext<CR> | ||
| 7 | nnoremap <silent> <C-PageUp> :tabprevious<CR> | ||
| 8 | nnoremap <silent> <C-PageDown> :tabnext<CR> | ||
| 9 | |||
| 10 | " besseres Verhalten von <PageUp> und <PageDown> | ||
| 11 | " https://vimrc-dissection.blogspot.com/2009/02/fixing-pageup-and-pagedown.html | ||
| 12 | map <silent> <PageUp> 1000<C-U> | ||
| 13 | map <silent> <PageDown> 1000<C-D> | ||
| 14 | imap <silent> <PageUp> <C-O>1000<C-U> | ||
| 15 | imap <silent> <PageDown> <C-O>1000<C-D> | ||
| 16 | |||
