feat: enable vim keys for btop (#1581)
* feat: enable vim keys for btop * feat: add migration for btop vim keys * Cleanup --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
co-authored by
David Heinemeier Hansson
parent
cac8b03821
commit
56e690b861
Executable
+9
@@ -0,0 +1,9 @@
|
||||
echo "Enabling vim keys in btop"
|
||||
|
||||
CONFIG_FILE=~/.config/btop/btop.conf
|
||||
|
||||
if [[ -f $CONFIG_FILE ]]; then
|
||||
if grep -q "^vim_keys = " "$CONFIG_FILE"; then
|
||||
sed -i 's/^vim_keys = False/vim_keys = True/' "$CONFIG_FILE"
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user