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:
1 parent
cac8b03821
commit
56e690b861
2 files changed
+10
-1
No files matched your search
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