mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
hg and git blame, but they don't seem to work with my current setup
somehow
This commit is contained in:
4
.vimrc
4
.vimrc
@@ -118,6 +118,10 @@ map <Leader>jt <Esc>:%!json_xs -f json -t json-pretty<CR>
|
||||
" Fly through buffers instead of cycling
|
||||
nnoremap <leader>l :ls<cr>:b<space>
|
||||
|
||||
"vmap <Leader>g :<C-U>!git blame <C-R>=expand("%:p") <CR> \| sed -n <C-R>=line("'<") <CR>,<C-R>=line("'>") <CR>p <CR>
|
||||
"vmap <Leader>h :<C-U>!hg blame -fu <C-R>=expand("%:p") <CR> \| sed -n <C-R>=line("'<") <CR>,<C-R>=line("'>") <CR>p <CR>
|
||||
|
||||
|
||||
" Enables input of special characters by a combination of two characters.
|
||||
" Example: Type 'a', erase it by typing CTRL-H - and then type ':' - this
|
||||
" results in the umlaut: ä So Vim remembers the character you have erased and
|
||||
|
||||
Reference in New Issue
Block a user