aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-04-05 13:30:32 +0200
committerAdrian Kummerländer2014-04-05 13:30:32 +0200
commit6ce88105c0b42adac401cbea23484f0f1e1e029a (patch)
tree68a999fd8b932ec5db36c370b305bb66d0165abc
parent1e88dcd71370739ad08b9538960503fdc898df61 (diff)
downloaddotfiles-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
-rw-r--r--vim/.gvimrc5
-rw-r--r--vim/.vimrc5
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
diff --git a/vim/.vimrc b/vim/.vimrc
index 144dba7..49a5dbf 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -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