update mappings

master
spike 2 years ago
parent 9d379b301d
commit 92798bf716

@ -236,7 +236,7 @@ M.general = { --{{{
},
-- Notify cmd watcher (see /scripts/utils/fifo_watch.sh)
["<leader><leader>,"] = {
["<leader><down>"] = {
function()
local fifo_patch = "/tmp/fifo_vimnotify"
os.execute("echo do >" .. fifo_patch)
@ -755,7 +755,7 @@ M.general = { --{{{
-- TODO: find new mapping to close quickfix
-- ["``"] = { "<cmd> call asyncrun#quickfix_toggle(8)<CR>", "toggle quickfix window" },
["<leader>m"] = { ":AsyncRun -program=" .. vim.o.makeprg .. "<CR>", "make using asyncrun" },
["<leader><leader>r"] = { ":AsyncRun ", "custom asyncrun command" },
["<leader>ar"] = { ":AsyncRun ", "custom asyncrun command" },
["<leader>pd"] = { "<cmd> AsyncRun lpr -P PDF_PRINT %<CR>", "PDF print file" },
["<leader>pp"] = { "<cmd> AsyncRun lpr %<CR>" },
},

@ -32,10 +32,10 @@ return {
incremental_selection = {
enable = true,
keymaps = {
init_selection = "<CR>",
node_incremental = "<Tab>",
init_selection = "<Space>",
node_incremental = "<Space>",
node_decremental = "<BS>",
scope_incremental = "<CR>",
node_decremental = "<S-Tab>",
}
},

@ -245,12 +245,19 @@ return {
end
},-- }}}
-- tmux helpers
["christoomey/vim-tmux-navigator"] = {
cond = function()
return vim.env.TMUX ~= nil
end
},
--[[ ["preservim/vimux"] = {
cond = function()
return vim.env.TMUX ~= nil
end
}, ]]
-- Job management (use nvim startjob )
-- Run async commands (make & errors)
@ -310,9 +317,8 @@ return {
vim.g.hardtime_showmsg = 1
vim.g.list_of_normal_keys = {"h","j","k","l"}
vim.g.list_of_visual_keys = {"h","j","k","l"}
vim.g.hardtime_ignore_quickfix = 1
vim.g.hardtime_ignore_buffer_patterns = {
"qf*",
"help",
"NERD.*",
"netrw",
"TelescopePrompt",
@ -321,9 +327,6 @@ return {
vim.g.hardtime_maxcount = 2
end,
config = function()
vim.cmd("HardTimeOn")
end
},
-- ["chentoast/marks.nvim"] = {

Loading…
Cancel
Save