nexmean / caskey.nvim Goto Github PK
View Code? Open in Web Editor NEWDeclarative keymappings configuration using cascading trees
License: Apache License 2.0
Declarative keymappings configuration using cascading trees
License: Apache License 2.0
Module to bind keymaps via legendary.nvim to get full integration.
There are plenty different surroundings that may be special for buffers. That would be great to have these settings in same place as other keymappings.
There are 2 common options to surround functionality in neovim:
Both support buffer local configurations
Hi there,
I'm trying to use caskey and notice some weird behaviour, it cannot set group name for whichkey when initialization with function is used. Is it suppose to be or I use the plugin wrong?
Config:
["<leader>t"] = function()
local builtin = require('telescope.builtin')
return {
name = "telescope",
mode = {'n', 'v'},
t = {act = builtin.treesitter, desc = 'treesitter'},
s = {act = builtin.symbols, desc = 'symbols'},
f = {act = builtin.git_files, desc = 'git files'},
a = {act = builtin.find_files, desc = 'find files'},
o = {act = builtin.oldfiles, desc = 'old files'},
l = {act = builtin.live_grep, desc = 'live grep'},
s = {act = builtin.grep_string, desc = 'grep string'},
c = {act = builtin.commands, desc = 'commands'},
k = {act = builtin.keymaps, desc = 'keymaps'},
b = { act =
function()
builtin.buffers({
sort_mru=true,
ignore_current_buffer=true
})
end,
desc = 'buffers'},
}
end
Useful links:
BREAKING: field buf_local
will be renamed to when
in v0.2.0.
There will be allowed to write single event description in when
instead of list of event descriptions. Event description can be a string, it will mean that mappings attachment will be triggered by event without any patterns or conditions.
Currently if there is a mistake in config setup falls with error. Plan is to try to setup as many mappings as we can and then show an error to user
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.