vimwikidiary shortcut
This commit is contained in:
parent
5272c0a5ae
commit
6c34b63a2b
|
|
@ -10,6 +10,10 @@ M.general = {
|
|||
["<C-j>"] = { "<C-w>j", "window down" },
|
||||
["<C-k>"] = { "<C-w>k", "window up" },
|
||||
|
||||
-- cycleling through buffers
|
||||
["tk"] = { "<cmd> bnext <CR>", "Next buffer" },
|
||||
["tj"] = { "<cmd> bprev <CR>", "Previous buffer" },
|
||||
|
||||
-- Allow moving the cursor through wrapped lines with j, k, <Up> and <Down>
|
||||
-- http://www.reddit.com/r/vim/comments/2k4cbr/problem_with_gj_and_gk/
|
||||
-- empty mode is same as using <cmd> :map
|
||||
|
|
@ -334,4 +338,14 @@ M.blankline = {
|
|||
},
|
||||
}
|
||||
|
||||
M.vimwiki = {
|
||||
plugin = true,
|
||||
n = {
|
||||
["<leader>wd"] = {
|
||||
|
||||
"<cmd> VimwikiDiaryIndex <CR>", "VimWiki Diary" ,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return M
|
||||
|
|
|
|||
|
|
@ -147,6 +147,7 @@ local plugins = {
|
|||
ext = '.md',
|
||||
}
|
||||
}
|
||||
require("core.utils").load_mappings "vimwiki"
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
|
|||
Reference in New Issue