summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <robin.oburka@nic.cz> 2014-06-11 09:37:17 +0200
committerGravatar Robin Obůrka <robin.oburka@nic.cz> 2014-06-11 09:37:17 +0200
commit45f2e097b7b5999e34bd7cad23e2eb649d8e87c3 (patch)
tree61adeed07bfe14006dcd2500c5f3e59b6e9667e3 /.vimrc
parentTypo (diff)
downloadvim_sync-45f2e097b7b5999e34bd7cad23e2eb649d8e87c3.tar.xz
Add empty line and stay in normal mode
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 087dffa..21cad2f 100644
--- a/.vimrc
+++ b/.vimrc
@@ -170,6 +170,10 @@ command Wq wq
command W w
command Q q
+"add empty line and stay in normal mode
+nmap <leader>o o<Esc>
+nmap <leader>O O<Esc>
+
"windows changing
nnoremap <C-h> <C-W>h
nnoremap <C-j> <C-W>j