nvim: move some keymaps, fix some requires
This commit is contained in:
parent
374b4ed38d
commit
17b80ed4ea
|
@ -47,7 +47,3 @@ require("todo-comments").setup({
|
|||
after = ''
|
||||
}
|
||||
})
|
||||
local map = require('my.functions').map
|
||||
map('n', '<Leader>tt',
|
||||
require("telescope._extensions.todo-comments").exports.todo,
|
||||
'Display TODO comments in project')
|
||||
|
|
|
@ -86,4 +86,3 @@ map('n', '<M-.>', '<C-]>') -- follow symbol
|
|||
map('n', '<M-,>', '<C-T>') -- go back to previous pos
|
||||
map('v', '<Leader>f', 'gq', 'Reformat text')
|
||||
map('n', '<Leader>h', ':nohlsearch<cr>', 'Stop highlighting search')
|
||||
map('n', '<Leader>B', require('bug-reference').open, 'Open bug under cursor')
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require('my/plugins')
|
||||
require('my/completion')
|
||||
|
||||
local map = require('my.functions').map
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require('my/plugins')
|
||||
|
||||
---@format disable-next
|
||||
local options = {
|
||||
number = true, -- line numbers
|
||||
|
|
|
@ -36,6 +36,9 @@ map('n', '<Leader>tr', t_builtin.registers, 'Registers')
|
|||
map('n', '<Leader>gh', t_builtin.git_bcommits, 'History of this file')
|
||||
map('n', '<F7>', t_builtin.diagnostics, 'Show diagnostics')
|
||||
map('n', '<Leader>tp', telescope.extensions.projects.projects, 'Projects')
|
||||
map('n', '<Leader>tt',
|
||||
require("telescope._extensions.todo-comments").exports.todo,
|
||||
'Display TODO comments in project')
|
||||
|
||||
local nerdfont_installed = require('my.functions').nerdfont_installed()
|
||||
|
||||
|
@ -94,6 +97,8 @@ require('lualine').setup({
|
|||
},
|
||||
})
|
||||
|
||||
map('n', '<Leader>B', require('bug-reference').open, 'Open bug under cursor')
|
||||
|
||||
local mind = require('mind')
|
||||
mind.setup({})
|
||||
map('n', '<C-F9>', mind.open_main, 'Open main mind')
|
||||
|
|
Loading…
Reference in New Issue