Skip to content

Commit

Permalink
use leader more
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoiron committed May 25, 2017
1 parent 5e0b209 commit e00d8b4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions home/.vimrc
Expand Up @@ -200,13 +200,8 @@ endif
map <F2> <ESC>oimport ipdb; ipdb.set_trace();<ESC>:w<CR>
map <F4> <ESC>i#!/usr/bin/env python<CR># -*- coding: utf-8 -*-<CR><CR>""" """<CR><ESC>
" svn blame lines selected in visual mode with 'gl'
vmap gl :<C-U>!svn blame <C-R>=expand("%:p") <CR> \| sed -n <C-R>=line("'<") <CR>,<C-R>=line("'>") <CR>p <CR>
" blame lines selected in visual mode
vmap gk :<C-U>!git blame <C-R>=expand("%:p") <CR> \| sed -n <C-R>=line("'<") <CR>,<C-R>=line("'>") <CR>p <CR>
noremap gc :GoCoverageToggle<cr>
map gt :GoTest<cr>
set mouse=a
set ttymouse=xterm2

Expand All @@ -225,6 +220,10 @@ let g:go_highlight_operators = 1
let g:go_highlight_build_constraints = 1
let g:go_fmt_command = "goimports"

map <leader>c :GoCoverageToggle<cr>
map <leader>t :GoTest<cr>

if has("gui_running")
"let mycolors = ['peel', 'tribal', 'peacock', 'juicy', 'super', 'flattr',
" \'snappy-contrast', 'rainbow', 'frontier-contrast',
Expand Down

0 comments on commit e00d8b4

Please sign in to comment.