aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-12 13:42:36 +0200
committerAdrian Kummerlaender2014-07-12 13:42:36 +0200
commitecbd890d9ab81ca908d823400146d543716edc4b (patch)
tree9f327368dad6211c5ba2887e663d52b3b6b90640 /vim
parent756ca02df7a97d327a84059986307a29ed0bbf07 (diff)
downloaddotfiles-ecbd890d9ab81ca908d823400146d543716edc4b.tar
dotfiles-ecbd890d9ab81ca908d823400146d543716edc4b.tar.gz
dotfiles-ecbd890d9ab81ca908d823400146d543716edc4b.tar.bz2
dotfiles-ecbd890d9ab81ca908d823400146d543716edc4b.tar.lz
dotfiles-ecbd890d9ab81ca908d823400146d543716edc4b.tar.xz
dotfiles-ecbd890d9ab81ca908d823400146d543716edc4b.tar.zst
dotfiles-ecbd890d9ab81ca908d823400146d543716edc4b.zip
Fixed vim split navigation Alt+Arrow key combinations
* moved the mappings to vimrc to enable them for both vim and gvim * added Alt+Arrow key forwarding to urxvt configuration * added default font to pentadactylrc
Diffstat (limited to 'vim')
-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 08f60aa..1278d59 100644
--- a/vim/.gvimrc
+++ b/vim/.gvimrc
@@ -6,8 +6,3 @@ set guioptions-=T
set guioptions-=e
set guifont=Droid\ Sans\ Mono\ 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 49a5dbf..1e3bf30 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -42,3 +42,8 @@ nmap <Up> [e
nmap <Down> ]e
vmap <Up> [egv
vmap <Down> ]egv
+
+nnoremap <A-left> <C-W>h
+nnoremap <A-right> <C-W>l
+nnoremap <A-up> <C-W>k
+nnoremap <A-down> <C-W>j