Code Monkey home page Code Monkey logo

Comments (2)

dmaluka avatar dmaluka commented on June 26, 2024 1

You can bind a custom key combo to execute both commands:

bind Alt-r "command:set softwrap on,command:set wordwrap on"

How can I also make this the default setting every time that I open micro? So that I can start micro with these settings applied, every time, then easily disable them if needed.

The set command sets the setting permanently (by writing it to ~/.config/micro/settings.json). So if you have executed set softwrap on or set wordwrap on, it should already be enabled by default every time you start micro.

If you want to change the setting temporarily, you can use setlocal instead of set. It changes a setting only for the current session of micro (i.e. without saving it to settings.json), and only for the current file, not for other files opened in other tabs or split panes.

from micro.

stevekm avatar stevekm commented on June 26, 2024

thanks! I also found the details about settings.json in this page super helpful

https://github.com/zyedidia/micro/blob/master/runtime/help/options.md

not sure why I did not find this earlier

from micro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.