Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsumoto-ren committed Jun 8, 2024
1 parent 2963f9c commit 9f9fe98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vim_shortcuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ def is_not_ease_key(shortcut: tuple[str, Callable]) -> bool:


def is_key_set(shortcut: tuple[str, Callable]) -> bool:
"""
First field in the tuple is a key on the keyboard.
"""
return bool(shortcut[0])


Expand Down

0 comments on commit 9f9fe98

Please sign in to comment.