diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-08-16 15:45:34 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2010-08-16 15:45:34 +0200 |
commit | 463e52d1c0c5c3f7c748a95e9e9609145b5b315d (patch) | |
tree | 4b6bfd654edf5d8df5dbdd44d984c2515a35d828 | |
parent | c7858ba21dc6f9fbb50aecf65ec7a45165fdc1ec (diff) |
Add mapping to insert copyright line
-rw-r--r-- | .vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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>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> + map <C-x>c i<C-R>=strftime("%F %R")<CR> Tobias Klauser <tklauser@distanz.ch><CR><TAB>* <ESC> map! <C-x>c <C-R>=strftime("%F %R")<CR> Tobias Klauser <tklauser@distanz.ch><CR><TAB>* |