Skip to content

Commit

Permalink
Revert "Improve check for buffer-local mapping for K"
Browse files Browse the repository at this point in the history
This reverts commit 9ead258.

Closes #1
  • Loading branch information
bruno- committed Jan 27, 2018
1 parent b4a7cd0 commit b19923f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ftplugin/tmux.vim
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ set cpo&vim
setlocal comments=:#
setlocal commentstring=#\ %s

if v:version > 704 || v:version == 704 && has('patch32')
let s:map_dict = maparg('K', 'n', 0, 1)
if empty(s:map_dict) || ! s:map_dict['buffer']
nnoremap <silent><buffer> K :call tmux#man()<CR>
endif
elseif maparg('K','n') ==# ''
if maparg('K','n') ==# ''
nnoremap <silent><buffer> K :call tmux#man()<CR>
endif

Expand Down

0 comments on commit b19923f

Please sign in to comment.