diff options
author | Adrian Kummerländer | 2014-04-05 13:30:32 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-04-05 13:30:32 +0200 |
commit | 6ce88105c0b42adac401cbea23484f0f1e1e029a (patch) | |
tree | 68a999fd8b932ec5db36c370b305bb66d0165abc /vim | |
parent | 1e88dcd71370739ad08b9538960503fdc898df61 (diff) | |
download | dotfiles-6ce88105c0b42adac401cbea23484f0f1e1e029a.tar dotfiles-6ce88105c0b42adac401cbea23484f0f1e1e029a.tar.gz dotfiles-6ce88105c0b42adac401cbea23484f0f1e1e029a.tar.bz2 dotfiles-6ce88105c0b42adac401cbea23484f0f1e1e029a.tar.lz dotfiles-6ce88105c0b42adac401cbea23484f0f1e1e029a.tar.xz dotfiles-6ce88105c0b42adac401cbea23484f0f1e1e029a.tar.zst dotfiles-6ce88105c0b42adac401cbea23484f0f1e1e029a.zip |
Moved buffer navigation remappings int gvim configuration
* they don't work in normal vim, so they should only be configured for gvim
** the problem is probably the terminal not forwardinf the keys as required by the remapping
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.gvimrc | 5 | ||||
-rw-r--r-- | vim/.vimrc | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/vim/.gvimrc b/vim/.gvimrc index 7d7d0dd..25a6837 100644 --- a/vim/.gvimrc +++ b/vim/.gvimrc @@ -6,3 +6,8 @@ set guioptions-=T set guioptions-=e set guifont=Monospace\ 8 + +nnoremap <A-left> <C-W>h +nnoremap <A-right> <C-W>l +nnoremap <A-up> <C-W>k +nnoremap <A-down> <C-W>j @@ -33,11 +33,6 @@ nnoremap <F3> :TlistToggle<CR> nnoremap <C-left> gT nnoremap <C-right> gt -nnoremap <A-left> <C-W>h -nnoremap <A-right> <C-W>l -nnoremap <A-up> <C-W>k -nnoremap <A-down> <C-W>j - nmap <Left> << nmap <Right> >> vmap <Left> <gv |