Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions plugin/qbuf.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ if v:version < 700
finish
endif

if exists("g:qb_loaded") && g:qb_loaded
finish
endif
let g:qb_loaded = 1

if !exists("g:qb_hotkey") || g:qb_hotkey == ""
let g:qb_hotkey = "<F4>"
endif
exe "nnoremap <unique>" g:qb_hotkey " :cal <SID>init(1)<cr>:cal SBRun()<cr>"
exe "cnoremap <unique>" g:qb_hotkey "<Esc>"

if exists("g:qb_loaded") && g:qb_loaded
finish
endif
let g:qb_loaded = 1

let s:action2cmd = {"z": 'call <SID>switchbuf(#,"")', "!z": 'call <SID>switchbuf(#,"!")',
\"u": "hid b #|let s:cursel = (s:cursel+1) % s:blen",
\"s": "sb #",
Expand Down