Skip to content

Commit

Permalink
Fix s:UseTmuxNavigatorMappings
Browse files Browse the repository at this point in the history
Broken in f5fcf2a.

Fixes #124.
  • Loading branch information
blueyed committed May 2, 2016
1 parent f5fcf2a commit c33a8a9
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 get(g:, "tmux_navigator_no_mappings", 1)
return !get(g:, 'tmux_navigator_no_mappings', 0)
endfunction

function! s:InTmuxSession()
Expand Down

2 comments on commit c33a8a9

@christoomey
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @blueyed, thanks for fixing this so quickly! I do understand the desire to get a fix in quick, but as long as it's not urgent, I'd still prefer to see all changes go through a PR to capture the conversation. In addition, if you could add a bit more detail to the PR summary (what was broken and how did this fix it) that would also be appreciated.

Thanks again for all your work on this plugin!

@blueyed
Copy link
Collaborator Author

@blueyed blueyed commented on c33a8a9 May 6, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd still prefer to see all changes go through a PR

Understood and makes sense.

Please sign in to comment.