![](https://lemmy.world/pictrs/image/8b48a53f-aca3-4d03-9116-53dd3534b8a5.png)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
Hey, I know the guy who wrote the script, he is great.
Hey, I know the guy who wrote the script, he is great.
I have never tried it. But debian based + xfce, so you know what to expect.
I have no idea. On an old potato laptop I tried it on it works ok, if I rush the keys, it is flickering a little.
This is a long list of terminal goodies: https://www.reddit.com/r/commandline/comments/16662x7/over_1000_items_in_the_awesome_list_of_cli/
Also, check the games that I have written, in the same spirit as this one:
https://gitlab.com/christosangel/tui-sudoku
https://gitlab.com/christosangel/wordle
https://gitlab.com/christosangel/ladder
https://gitlab.com/christosangel/mneme
Someone should come up with a new distro with the name potatOS, just for cases like this .
I am still using the arrow keys, I must be an idiot , too. If this script helps you with the vim movements, you can check out for the same reason two or three scripts of mine, in the same repo: tui-mines, mneme,tui-sudoku.
I went on and added an if statement and a message to install.sh, just for the issue you mentioned…
De gustibus et coloribus… I like bash.
It works for me.
About .local/bin/ not existing, or not being in the $PATH, that is why I also propose running the script locally, from the same directory with ./mneme.sh
Thanks, I am glad you like it.
Please return to windows.
Welp, also solves the ‘Which distro to use?’ issue.
IMPORTANT UPDATE: Since many youngsters who unlike me, a senior citizen, live on the edge and hate vim keys or arrow keys, have requested an alternative navigation keys set up, I have just implemented a configuration option that satisfies just that.
By editing the config file (either within the application or just editing ~/.config/tui-mines/tui-mines.config
, and changing the NAVIGATION_KEYS
value from vim+arrows
(default) to aswd+arrows
, the user can use the aswd
keys to navigate in the game grid, just as requested.
No other commands or hacks are needed.
Arrow keys
remain hardcoded, because they remind me of my youth, as an archer, during the Peloponnesian War
Ευχαριστω!
And to see the correct cheatsheet as well: sed -i 's/hjkl/awsd/' tui-mines.sh
Let me know if it works.
Here is the solution just for you:
tui-mines/
directorysed -i 's/k|A/w|A/;s/h|D/a|D/;s/j|B/s|B/;s/l|C/d|C/' tui-mines.sh
Run the script ./tui-mines.sh
You can now play using lower case awsd.
Wait up, I am preparing one command for you, you run it, and you use your keys as you wish. Just don’ put caps lock!
Fear not, there are no scary commands in this script.
There is, if you like fzf, or if you are not comfortable with vim keybindings. Still, Ranger is awesome.
Check out basht