Comments (2)
O cool i was just coming to say i was having this same problem with using bat. I get the same error no matter what i do Cannot edit standard input (press RETURN)
It says in SUMMARY OF LESS COMMANDS the MISCELLANEOUS COMMANDS under help that the keyboard shortcut for "v"
v Edit the current file with $VISUAL or $EDITOR.
I have tried all sorts. My $EDITOR & $VISUAL are already set to micro, I also tried tinkering with /home/greg/.config/bat/config and adding export EDITOR="micro"
, or just EDITOR=micro
, i have tried a few variations but i can't figure it.
β±bat --diagnostic
Software version
bat 0.24.0 (fc95468)
Operating system
Linux 6.6.5-1-MANJARO
Command-line
bat --diagnostic
Environment variables
SHELL=/bin/bash
PAGER=<not set>
LESS=<not set>
LANG=en_GB.UTF-8
LC_ALL=<not set>
BAT_PAGER=<not set>
BAT_PAGING=<not set>
BAT_CACHE_PATH=<not set>
BAT_CONFIG_PATH=<not set>
BAT_OPTS=<not set>
BAT_STYLE=<not set>
BAT_TABS=<not set>
BAT_THEME=<not set>
XDG_CONFIG_HOME=<not set>
XDG_CACHE_HOME=<not set>
COLORTERM=truecolor
NO_COLOR=<not set>
MANPAGER=most
System Config file
Could not read contents of '/etc/bat/config': No such file or directory (os error 2).
Config file
EDITOR=micro
Custom assets metadata
Could not read contents of '/home/greg/.cache/bat/metadata.yaml': No such file or directory (os error 2).
Custom assets
'/home/greg/.cache/bat' not found
Compile time information
- Profile: release
- Target triple: x86_64-unknown-linux-gnu
- Family: unix
- OS: linux
- Architecture: x86_64
- Pointer width: 64
- Endian: little
- CPU features: fxsr,sse,sse2
- Host: x86_64-unknown-linux-gnu
Less version
> less --version
less 643 (PCRE2 regular expressions)
Copyright (C) 1984-2023 Mark Nudelman
less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: https://greenwoodsoftware.com/less
from bat.
Related Issues (20)
- --pager=never does not respect --plain HOT 2
- Bash scripts with .txt are not colored HOT 3
- Need a more sustainable way to manage known syntax mappings HOT 7
- wrapping by word would be awesome
- Unexpected argument `-R` found when autocompleting, using piped fish alias HOT 2
- git --help breaks with bat manpager HOT 5
- Wrap=never and bat config not working on macOS HOT 3
- how do I change the --highlight-line color from command line? HOT 1
- Gobal --help alias has unintended consequences
- Command line option `--language csharp` will cause an error HOT 6
- Feature Request: Copy to Clipboard Option
- Syntax typo in russian README HOT 1
- --force-colorization does not work for --help
- bat display markdown wrongly HOT 1
- Set file name as terminal title HOT 1
- Add a --head option that is equivalent to piping the output to head but works with device files HOT 1
- Integrating with google/oss-fuzz for continuous fuzz testing? HOT 1
- Bat failed to work in Powershell or CMD properly HOT 5
- Uninstalling BAT HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bat.