Comments (1)
So this happens when whatever is trying to bind/unbind a key, whether it is from the user or a plugin.
The same goes for settings. I guess it's alright it is coming from the user (using bind
) but not quite so if it is from the plugin.
Having my keybindings/settings formatting and comments get removed completely is quite annoying and discouraging.
I think we should just do a string append ourselves instead. This should be relatively achievable.
So here are the places where the jsons get write to so that I or someone can come back to later:
micro/internal/config/settings.go
Lines 293 to 294 in 9176508
micro/internal/config/settings.go
Lines 315 to 316 in 9176508
micro/internal/action/bindings.go
Line 376 in 9176508
micro/internal/action/bindings.go
Lines 319 to 320 in 9176508
from micro.
Related Issues (20)
- Differing copy-paste mechanics between tmux and non-tmux HOT 3
- Calling clipboard.Write in lua crashes micro HOT 6
- 2.0.13 micro-2.0.13-linux-arm.tar.gz may have been tampered with HOT 12
- Micro panics when cd-ing to root
- How to toggle softwrap + wordwrap in editor, and how to make it a default setting? HOT 5
- Colors in Color Schems appear wrong. HOT 2
- DeleteLine does not delete selected lines HOT 8
- Micro reindents settings.json files with spaces on open HOT 1
- Nightly builds are not the current master branch 😭 HOT 3
- Binding Backspace related keys do not work on Windows HOT 1
- Autosave locally HOT 22
- Scrolling does not always go down with the cursor HOT 2
- Cannot click to move cursor to first character of document HOT 6
- Panic with `open folder\` on Windows HOT 1
- Empty line for no reason HOT 3
- [Feature request] Proposal of functionality improvement HOT 7
- [Bug] Overwriting of configuration file HOT 1
- Detect and display keyboard shortcuts? HOT 2
- Autosave remote? HOT 1
- .desktop file semicolon syntax coloring HOT 2
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 micro.