@@ -112,8 +112,8 @@ local def_map = {
112
112
-- Vim map
113
113
[' n|<C-x>k' ] = map_cmd (' Bd' ):with_noremap ():with_silent (),
114
114
[' n|<C-S-y>' ] = map_cmd (' %y +' ), -- yank file
115
- [' n|]b' ] = map_cmd (' bp ' ):with_noremap (),
116
- [' n|[b' ] = map_cmd (' bn ' ):with_noremap (),
115
+ [' n|]b' ] = map_cmd (' BufferLineCycleNext ' ):with_noremap (),
116
+ [' n|[b' ] = map_cmd (' BufferLineCyclePrev ' ):with_noremap (),
117
117
-- ["n|<Space>cw"] = map_cmd([[silent! keeppatterns %substitute/\s\+$//e]]):with_noremap():with_silent(),
118
118
[' n|<A-[>' ] = map_cmd (' vertical resize -5' ):with_silent (),
119
119
[' n|<A-]>' ] = map_cmd (' vertical resize +5' ):with_silent (),
@@ -193,7 +193,7 @@ local plug_keys = {
193
193
--
194
194
[" n|<F13>" ] = map_cmd (" NvimTreeToggle" ),
195
195
[" n|<S-F1>" ] = map_cmd (" NvimTreeToggle" ),
196
- [" n|<Leader>s " ] = map_func (function () require (" flash" ).toggle (true ) end ),
196
+ [" n|<Leader>S " ] = map_func (function () require (" flash" ).toggle (true ) end ),
197
197
[" n|<F9>" ] = map_func (function ()
198
198
if vim .o .ft == ' go' then
199
199
return vim .cmd (' GoBreakToggle' )
@@ -377,7 +377,7 @@ bind.nvim_load_mapping(def_map)
377
377
local keymap = vim .keymap
378
378
keymap .amend = require (' keymap.amend' )
379
379
380
- keymap .amend (' n' , ' <Esc >' , function (original )
380
+ keymap .amend (' n' , ' <ESC >' , function (original )
381
381
if vim .v .hlsearch and vim .v .hlsearch == 1 then
382
382
vim .cmd (' nohlsearch' )
383
383
end
@@ -404,6 +404,8 @@ keymap.amend('n', '[c', function()
404
404
end
405
405
end , { desc = ' prevdiff/hunk' })
406
406
407
+ vim .keymap .set (' n' , ' <leader>u' , require (' utils.markdown' ).fetch_and_paste_url_title , {desc = ' Fetch and paste URL title' })
408
+
407
409
return { keymap = def_map }
408
410
409
411
-- no longer used
0 commit comments