summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/mappings.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/mappings.lua')
-rw-r--r--.config/nvim/lua/mappings.lua15
1 files changed, 8 insertions, 7 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua
index 6633134..ffd8610 100644
--- a/.config/nvim/lua/mappings.lua
+++ b/.config/nvim/lua/mappings.lua
@@ -93,7 +93,7 @@ map('n', '<leader>nr', ':call CreateReference(expand("<cword>"))<CR>')
93-- create a new note 93-- create a new note
94map('n', '<leader>nn', ':call CreateNote()<CR>') 94map('n', '<leader>nn', ':call CreateNote()<CR>')
95 95
96-- plug mappings {{{1 -- 96-- plug mappings {{{ --
97 97
98-- <Plug> mappings should not be noremap 98-- <Plug> mappings should not be noremap
99-- https://www.reddit.com/r/vim/comments/78izt4/please_help_understand_how_to_use_plug_mapping/ 99-- https://www.reddit.com/r/vim/comments/78izt4/please_help_understand_how_to_use_plug_mapping/
@@ -135,11 +135,6 @@ plugmap('n', '<Leader><Leader>ss', '<plug>(SubversiveSubvertWordRange)')
135plugmap('n', '<c-n>', '<Plug>(YoinkPostPasteSwapBack)') 135plugmap('n', '<c-n>', '<Plug>(YoinkPostPasteSwapBack)')
136plugmap('n', '<c-p>', '<Plug>(YoinkPostPasteSwapForward)') 136plugmap('n', '<c-p>', '<Plug>(YoinkPostPasteSwapForward)')
137 137
138-- insert mode completion
139plugmap('i', '<c-x><c-k>', '<plug>(fzf-complete-word)')
140plugmap('i', '<c-x><c-f>', '<plug>(fzf-complete-path)')
141plugmap('i', '<c-x><c-l>', '<plug>(fzf-complete-line)')
142
143-- checkmarks on vimwiki 138-- checkmarks on vimwiki
144plugmap('n', '<leader>v', '<Plug>VimwikiToggleListItem') 139plugmap('n', '<leader>v', '<Plug>VimwikiToggleListItem')
145-- add/increase header level 140-- add/increase header level
@@ -152,4 +147,10 @@ map('n', 't<C-s>', ':TestSuite<CR>')
152map('n', 't<C-l>', ':TestLast<CR>') 147map('n', 't<C-l>', ':TestLast<CR>')
153map('n', 't<C-g>', ':TestVisit<CR>') 148map('n', 't<C-g>', ':TestVisit<CR>')
154 149
155-- 1}}} -- 150-- telescope bindings
151map('n', '<leader>ff', "<cmd>lua require('telescope.builtin').find_files()<cr>")
152map('n', '<leader>fg', "<cmd>lua require('telescope.builtin').live_grep()<cr>")
153map('n', '<leader>fb', "<cmd>lua require('telescope.builtin').buffers()<cr>")
154map('n', '<leader>fh', "<cmd>lua require('telescope.builtin').help_tags()<cr>")
155
156-- }}} plug mappings --