Skip to content

Commit

Permalink
fix: luastyle
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone committed Apr 14, 2024
1 parent 07af8d8 commit 3ffaa6b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions lua/layers/editor/keymappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,10 @@ cosmos.add_leader_keymapping('n|pf', { '<cmd>Telescope find_files<CR>', name = '

cosmos.add_leader_keymapping('n|jj', { '<cmd>lua require("flash").remote()<cr>', name = 'Jump to a char' })
utils.set_keymap('v', '<leader>jj', '<cmd>lua require("flash").remote()<cr>', {})
cosmos.add_leader_keymapping(
'n|jl',
{
'<cmd>lua require("flash").jump({ search = { mode = "search", max_length = 0 }, label = { after = { 0, 0 } }, pattern = "^" })<cr>',
name = 'Jump to a line',
}
)
cosmos.add_leader_keymapping('n|jl', {
'<cmd>lua require("flash").jump({ search = { mode = "search", max_length = 0 }, label = { after = { 0, 0 } }, pattern = "^" })<cr>',
name = 'Jump to a line',
})
cosmos.add_leader_keymapping(
'n|ji',
{ "<cmd>lua require('telescope.builtin').lsp_document_symbols()<cr>", name = 'Jump to a symbol' }
Expand Down

0 comments on commit 3ffaa6b

Please sign in to comment.