summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2015-12-06 10:27:39 +0100
committerSebastian Reichel <sre@ring0.de>2015-12-06 10:27:41 +0100
commitac00df15b36314e54da341895e09d49f4cd7c898 (patch)
tree5349101d88b46c04522c403c8a7253579c0e7338
parent3f2195f4b94824767eaa5a26530fef02d2baa7af (diff)
downloadvim-config-ac00df15b36314e54da341895e09d49f4cd7c898.tar.bz2
support adding newlines without going into insert mode
This is useful when pasting multiple things into a file ([p]aste, [return], [p]aste, ...)
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index dba1949..78f7ea8 100644
--- a/vimrc
+++ b/vimrc
@@ -63,6 +63,9 @@ nnoremap \make :!make<CR>
nmap <F6> \make
imap <F6> <C-O>\make
+" insert newline without editing mode
+map <CR> o<Esc>
+
nmap <F12> :TagbarToggle<CR>
" add vala support