aboutsummaryrefslogtreecommitdiff
path: root/nvim/key-bindings.vim
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2023-03-24 17:05:45 +0100
committerThomas Schmucker <ts@its1.de>2023-03-24 17:05:45 +0100
commit0b6b9b07f35e47d0c556e3240cfa4792f594eff1 (patch)
tree3a5a18b37bacea5fa0c6555177a2efa74c07354c /nvim/key-bindings.vim
downloaddotfiles-0b6b9b07f35e47d0c556e3240cfa4792f594eff1.tar.gz
dotfiles-0b6b9b07f35e47d0c556e3240cfa4792f594eff1.tar.bz2
dotfiles-0b6b9b07f35e47d0c556e3240cfa4792f594eff1.zip
erster Import
Diffstat (limited to 'nvim/key-bindings.vim')
-rw-r--r--nvim/key-bindings.vim16
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
3let mapleader=','
4
5nnoremap <silent> <C-Left> :tabprevious<CR>
6nnoremap <silent> <C-Right> :tabnext<CR>
7nnoremap <silent> <C-PageUp> :tabprevious<CR>
8nnoremap <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
12map <silent> <PageUp> 1000<C-U>
13map <silent> <PageDown> 1000<C-D>
14imap <silent> <PageUp> <C-O>1000<C-U>
15imap <silent> <PageDown> <C-O>1000<C-D>
16