Skip to content

Commit

Permalink
s:UseTmuxNavigatorMappings: simplify tmux_navigator_no_mappings check (
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Apr 30, 2016
1 parent eaa5289 commit f5fcf2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/tmux_navigator.vim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function! s:StrippedSystemCall(system_cmd)
endfunction

function! s:UseTmuxNavigatorMappings()
return !exists("g:tmux_navigator_no_mappings") || !g:tmux_navigator_no_mappings
return get(g:, "tmux_navigator_no_mappings", 1)
endfunction

function! s:InTmuxSession()
Expand Down

0 comments on commit f5fcf2a

Please sign in to comment.