summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-09-28 16:15:39 +0200
committerTobias Klauser <tklauser@distanz.ch>2010-09-28 16:15:39 +0200
commit1df9306b5b5f0456ee9927930628522e7f41de39 (patch)
treeb6554a4358e0a9d8406d4942f51a56f5b2e65400
parent463e52d1c0c5c3f7c748a95e9e9609145b5b315d (diff)
Add mapping for Acked-by: lines
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index d56d0f4..836a23b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -91,6 +91,9 @@ highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE gui
map <C-x>s ^iSigned-off-by: Tobias Klauser <<C-r>=$GIT_AUTHOR_EMAIL<CR>><ESC>^
map! <C-x>s Signed-off-by: Tobias Klauser <<C-r>=$GIT_AUTHOR_EMAIL<CR>><CR>
+map <C-x>a ^iAcked-by: Tobias Klauser <<C-r>=$GIT_AUTHOR_EMAIL<CR>><ESC>^
+map! <C-x>a Acked-by: Tobias Klauser <<C-r>=$GIT_AUTHOR_EMAIL<CR>><CR>
+
map <C-x>y ^iCopyright (C) <C-R>=strftime("%Y")<CR> Tobias Klauser <tklauser@distanz.ch><CR><ESC>^
map! <C-x>y Copyright (C) <C-R>=strftime("%Y")<CR> Tobias Klauser <tklauser@distanz.ch><CR>