Skip to content

Commit

Permalink
Fix C-k window change & add find git commit line to visual mode
Browse files Browse the repository at this point in the history
  • Loading branch information
BakerNet committed Jun 7, 2023
1 parent 84fde62 commit a0391e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion after/plugin/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ local on_attach = function(_, bufnr)

-- See `:help K` for why this keymap
nmap('K', vim.lsp.buf.hover, 'Hover Documentation')
nmap('<C-k>', vim.lsp.buf.signature_help, 'Signature Documentation')
nmap('<leader>K', vim.lsp.buf.signature_help, 'Signature Documentation')

-- Lesser used LSP functionality
nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
Expand Down
2 changes: 1 addition & 1 deletion after/plugin/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ vim.keymap.set('n', '<leader>fk', require('telescope.builtin').keymaps, { desc =
vim.keymap.set('n', '<leader>fr', require('telescope.builtin').resume, { desc = '[F]ind [R]esume' })
vim.keymap.set('n', '<leader>fcf', require('telescope').extensions.advanced_git_search.diff_commit_file,
{ desc = '[F]ind [C]ommit for [F]ile' })
vim.keymap.set('n', '<leader>fcl', require('telescope').extensions.advanced_git_search.diff_commit_line,
vim.keymap.set({ 'n', 'v' }, '<leader>fcl', require('telescope').extensions.advanced_git_search.diff_commit_line,
{ desc = '[F]ind [C]ommit for [L]ines' })

0 comments on commit a0391e1

Please sign in to comment.