Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/roobert/f-string-toggle.nvim

:yarn: A Neovim plugin to toggle python f-strings
https://github.com/roobert/f-string-toggle.nvim

Last synced: about 2 months ago
JSON representation

:yarn: A Neovim plugin to toggle python f-strings

Lists

README

        

# :yarn: f-string-toggle

![f-string-toggle](https://user-images.githubusercontent.com/226654/216850121-8987bc4a-8237-40a9-90f0-0dccbf09de09.gif)

A modularised version of [this reddit post](https://www.reddit.com/r/neovim/comments/tge2ty/comment/i12ja8n/?context=3) by [u/ddmenddes_](https://www.reddit.com/user/ddmenddes_/) - all credit goes to the original author!

## Install

```
{
"roobert/f-string-toggle.nvim",
config = function()
require("f-string-toggle").setup({
key_binding = "f",
key_binding_desc = "Toggle f-string"
})
end,
}
```

## Usage

Within a string press leader-f to toggle if it's an f-string or not.