aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-05-20 11:57:49 +0000
committerterminaldweller <thabogre@gmail.com>2022-05-20 11:57:49 +0000
commitb94c6510a470760fd226c29be3700e93556b148d (patch)
tree616c9bde3e66099229fdeed11714a90e556a7925 /.vimrc
parentirssi (diff)
downloadscripts-b94c6510a470760fd226c29be3700e93556b148d.tar.gz
scripts-b94c6510a470760fd226c29be3700e93556b148d.zip
update
Diffstat (limited to '')
-rw-r--r--.vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index c27c18c..2b24b97 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1268,8 +1268,14 @@ let g:ycm_language_server = [
let g:qs_highlight_on_keys = ["f", "F", "t", "T"]
+" git-messenger
let g:git_messenger_always_into_popup=v:true
nmap <silent><Leader>gg :call setbufvar(winbufnr(popup_atcursor(split(system("git log -n 1 -L " . line(".") . ",+1:" . expand("%:p")), "\n"), { "padding": [1,1,1,1], "pos": "botleft", "wrap": 0 })), "&filetype", "git")<CR>
+function! s:setup_git_messenger_popup() abort
+ nmap <buffer><C-o> o
+ nmap <buffer><C-i> O
+endfunction
+autocmd FileType gitmessengerpopup call <SID>setup_git_messenger_popup()
"vim-haskell
let g:haskell_enable_quantification = 1