Oblique Strategies is a card-based method for promoting creativity jointly created by musician/artist Brian Eno and multimedia artist Peter Schmidt, first published in 1975.
Using packer.nvim
use { 'davidgranstrom/oblique-strategies.nvim' }
--- Display an oblique strategy in a floating window.
---@return The window ID.
require('oblique-strategies').show()
--- Get an oblique strategy as a string.
---@return A string.
require('oblique-strategies').get()
It is not necessary to call setup
but the function is provided as a conveniece for styling and mapping.
require('oblique-strategies').setup{
keymaps = {
show = {
n = '<F9>',
},
},
}
Default configuration
require('oblique-strategies').setup{
win = {
relative = 'editor',
anchor = 'NW',
width = 38,
height = 7,
focusable = false,
border = 'single',
style = 'minimal',
},
color = 'NormalFloat', -- built-in highlight-groups (:h winhl)
keymaps = {},
}