Compare commits

..

No commits in common. "ee4640b18612e9bb7829d036b41ca19904a5b1ff" and "7965036eed43084ec210c0ffcad3d6b6779c8a04" have entirely different histories.

3 changed files with 7 additions and 36 deletions

View file

@ -43,7 +43,7 @@ if not vim.loop.fs_stat(lazypath) then
lazypath, lazypath,
}) })
end end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend (lazypath)
-- set our leader key to space since with hjkl, space is largely useless -- set our leader key to space since with hjkl, space is largely useless
-- needs to be set before lazy.nvim is loaded -- needs to be set before lazy.nvim is loaded
@ -54,5 +54,3 @@ require("lazy").setup("plugins")
require('look') require('look')
require('maps') require('maps')
-- to include e.g. the spell dictionaries for vim
vim.opt.rtp:append(vim.fn.stdpath("data") .. "/site")

View file

@ -214,12 +214,12 @@ map("n", "<localleader>w", function() require("mini.trailspace").trim() end,
{ noremap = true }) { noremap = true })
-- PLUGIN: dial-increment -- PLUGIN: dial-increment
map("n", "<C-a>", '<Plug>(dial-increment)') map("n", "<C-a>", require("dial.map").inc_normal(), { noremap = true })
map("n", "<C-x>", '<Plug>(dial-decrement)') map("n", "<C-x>", require("dial.map").dec_normal(), { noremap = true })
map("v", "<C-a>", '<Plug>(dial-increment)') map("v", "<C-a>", require("dial.map").inc_visual(), { noremap = true })
map("v", "<C-x>", '<Plug>(dial-increment)') map("v", "<C-x>", require("dial.map").dec_visual(), { noremap = true })
map("v", "g<C-a>", 'g<Plug>(dial-increment)') map("v", "g<C-a>", require("dial.map").inc_gvisual(), { noremap = true })
map("v", "g<C-x>", 'g<Plug>(dial-increment)') map("v", "g<C-x>", require("dial.map").dec_gvisual(), { noremap = true })
-- PLUGIN: zettelkasten.nvim -- PLUGIN: zettelkasten.nvim
map('n', '<cr>', [[:silent lua require 'zettelkasten'.link_follow()<cr>]]) map('n', '<cr>', [[:silent lua require 'zettelkasten'.link_follow()<cr>]])

View file

@ -25,33 +25,6 @@ return {
{'kylechui/nvim-surround', version = '*', config = true, event = "VeryLazy"}, -- surround things with other things using ys/cs/ds {'kylechui/nvim-surround', version = '*', config = true, event = "VeryLazy"}, -- surround things with other things using ys/cs/ds
{ {
'monaqa/dial.nvim', -- extend the ^a / ^x possibilities to dates, hex, alphabets, markdown headers 'monaqa/dial.nvim', -- extend the ^a / ^x possibilities to dates, hex, alphabets, markdown headers
config = function()
local augend = require("dial.augend")
require("dial.config").augends:register_group {
-- default augends used when no group name is specified
default = {
augend.integer.alias.decimal, augend.integer.alias.hex,
augend.date.alias["%Y/%m/%d"],
augend.date.alias["%Y-%m-%d"], augend.date.alias["%m/%d"],
augend.date.alias["%H:%M:%S"], augend.date.alias["%H:%M"],
augend.constant.alias.de_weekday_full,
augend.constant.alias.de_weekday,
augend.constant.alias.bool, augend.semver.alias.semver,
augend.constant.alias.Alpha, augend.constant.alias.alpha,
augend.hexcolor.new { case = "lower" }, augend.constant.new {
elements = { "and", "or" },
word = true, -- if false, "sand" is incremented into "sor", "doctor" into "doctand", etc.
cyclic = true -- "or" is incremented into "and".
},
augend.constant
.new {
elements = { "&&", "||" },
word = false,
cyclic = true
}
}
}
end,
event = "VeryLazy" event = "VeryLazy"
}, { }, {
'tommcdo/vim-exchange', -- adds exchange operator with cx. common use: cxiw . on 2 words to switch 'tommcdo/vim-exchange', -- adds exchange operator with cx. common use: cxiw . on 2 words to switch