mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
refactor(kitty): Remove spurious file, cleanup theme & plugin file
This commit is contained in:
@@ -6,7 +6,10 @@ from kitty.key_encoding import KeyEvent, parse_shortcut
|
||||
|
||||
def is_window_vim(window, vim_id):
|
||||
fp = window.child.foreground_processes
|
||||
return any(re.search(vim_id, p['cmdline'][0] if len(p['cmdline']) else '', re.I) for p in fp)
|
||||
return any(
|
||||
re.search(vim_id, p["cmdline"][0] if len(p["cmdline"]) else "", re.I)
|
||||
for p in fp
|
||||
)
|
||||
|
||||
|
||||
def encode_key_mapping(window, key_mapping):
|
||||
|
||||
Reference in New Issue
Block a user