diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-04-11 16:12:46 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-04-11 16:12:46 +0200 |
commit | 23297186eb781079c4bf576e6563b62ec6fd9a16 (patch) | |
tree | f3e9aa9f2b05aca4a3e4de46fb6fb8918efdcd62 /.vimrc | |
parent | 37075c68be687766c23b0c427c6be80f5981a252 (diff) | |
download | dotfiles-23297186eb781079c4bf576e6563b62ec6fd9a16.tar.gz dotfiles-23297186eb781079c4bf576e6563b62ec6fd9a16.tar.xz dotfiles-23297186eb781079c4bf576e6563b62ec6fd9a16.zip |
vim config: add "start on 1st line of git commit message" tweak
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -34,3 +34,10 @@ set t_Co=256 " Explicitly tell vim that the terminal supports 256 colors " tagbar nmap <F8> :TagbarToggle<CR> let NERDTreeIgnore = ['\.pyc$', '\.tar\.gz$'] + +" +" others +" + +" http://vim.wikia.com/wiki/Always_start_on_first_line_of_git_commit_message +au FileType gitcommit au! BufEnter COMMIT_EDITMSG call setpos('.', [0, 1, 1, 0]) |