better dash
This commit is contained in:
parent
0fa161feb1
commit
151f1a356e
|
@ -51,6 +51,8 @@ vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagn
|
||||||
vim.keymap.set({ 'n', 'v' }, 'qqq', '<cmd>bd!<cr>', { desc = '[Q]uit the current window' })
|
vim.keymap.set({ 'n', 'v' }, 'qqq', '<cmd>bd!<cr>', { desc = '[Q]uit the current window' })
|
||||||
vim.keymap.set({ 'n', 'v' }, '<A-c>', '<cmd>bw!<cr>', { desc = '[Q]uit the current window' })
|
vim.keymap.set({ 'n', 'v' }, '<A-c>', '<cmd>bw!<cr>', { desc = '[Q]uit the current window' })
|
||||||
|
|
||||||
|
vim.keymap.set({ 'n' }, '#', "'", { desc = '[Q]uit the current window' })
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- Workspace, buffer and window manipulation
|
-- Workspace, buffer and window manipulation
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
|
@ -83,12 +83,12 @@ return {
|
||||||
vim.keymap.set('n', '<localleader>fh', builtin.help_tags, { desc = '[F]ind [H]elp' })
|
vim.keymap.set('n', '<localleader>fh', builtin.help_tags, { desc = '[F]ind [H]elp' })
|
||||||
vim.keymap.set('n', '<localleader>fk', builtin.keymaps, { desc = '[F]ind [K]eymaps' })
|
vim.keymap.set('n', '<localleader>fk', builtin.keymaps, { desc = '[F]ind [K]eymaps' })
|
||||||
vim.keymap.set('n', '<localleader>ff', builtin.find_files, { desc = '[F]ind [F]iles' })
|
vim.keymap.set('n', '<localleader>ff', builtin.find_files, { desc = '[F]ind [F]iles' })
|
||||||
vim.keymap.set('n', '<localleader>ft', builtin.builtin, { desc = '[F]ind [T]elescope' })
|
vim.keymap.set('n', '<localleader>fe', builtin.builtin, { desc = '[F]ind t[E]lescope' })
|
||||||
vim.keymap.set('n', '<localleader>fw', builtin.live_grep, { desc = '[F]ind a [W]ord interactively' })
|
vim.keymap.set('n', '<localleader>fw', builtin.live_grep, { desc = '[F]ind a [W]ord interactively' })
|
||||||
vim.keymap.set('n', '<localleader>fcw', builtin.grep_string, { desc = '[F]ind [C]urrent [W]ord' })
|
vim.keymap.set('n', '<localleader>fcw', builtin.grep_string, { desc = '[F]ind [C]urrent [W]ord' })
|
||||||
vim.keymap.set('n', '<localleader>fd', builtin.diagnostics, { desc = '[F]ind [D]iagnostics' })
|
vim.keymap.set('n', '<localleader>fd', builtin.diagnostics, { desc = '[F]ind [D]iagnostics' })
|
||||||
vim.keymap.set('n', '<localleader>fr', builtin.resume, { desc = '[F]ind [R]esume' })
|
vim.keymap.set('n', '<localleader>fr', builtin.resume, { desc = '[F]ind [R]esume' })
|
||||||
vim.keymap.set('n', '<localleader>fof.', builtin.oldfiles, { desc = '[F]ind [O]ld Files ("." for repeat)' })
|
vim.keymap.set('n', '<localleader>fo', builtin.oldfiles, { desc = '[F]ind [O]ld Files ("." for repeat)' })
|
||||||
vim.keymap.set('n', '<localleader><leader>', builtin.buffers, { desc = '[ ] Find existing buffers' })
|
vim.keymap.set('n', '<localleader><leader>', builtin.buffers, { desc = '[ ] Find existing buffers' })
|
||||||
vim.keymap.set('n', '<localleader>fb', builtin.buffers, { desc = '[F]ind existing [B]uffers' })
|
vim.keymap.set('n', '<localleader>fb', builtin.buffers, { desc = '[F]ind existing [B]uffers' })
|
||||||
vim.keymap.set('n', '<localleader>fm', builtin.marks, { desc = '[F]ind book[M]arks' })
|
vim.keymap.set('n', '<localleader>fm', builtin.marks, { desc = '[F]ind book[M]arks' })
|
||||||
|
|
|
@ -2,6 +2,10 @@ return {
|
||||||
{
|
{
|
||||||
'zaldih/themery.nvim',
|
'zaldih/themery.nvim',
|
||||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||||
|
cmd = 'Themery',
|
||||||
|
keys = {
|
||||||
|
{ ';ft', '<cmd> Themery <cr>', desc = '[F]ind [T]heme' },
|
||||||
|
},
|
||||||
init = function()
|
init = function()
|
||||||
require 'settings.theme'
|
require 'settings.theme'
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -638,10 +638,21 @@ return {
|
||||||
'~/Documents/novel',
|
'~/Documents/novel',
|
||||||
},
|
},
|
||||||
-- Format to display date in
|
-- Format to display date in
|
||||||
date_format = nil,
|
date_format = '%Y-%m-%d %H:%M:%S',
|
||||||
-- Sections to add at bottom, these can be string references to
|
-- Sections to add at bottom, these can be string references to
|
||||||
-- functions in sections.lua, custom strings, or custom functions
|
-- functions in sections.lua, custom strings, or custom functions
|
||||||
footer = {},
|
footer = {
|
||||||
|
[[ Find File ;ff ]],
|
||||||
|
[[ Recent Files ;fo ]],
|
||||||
|
[[ Find Word ;fw ]],
|
||||||
|
[[ Bookmarks ;fm ]],
|
||||||
|
[[ Theme ;ft ]],
|
||||||
|
[[ Git ␣ft ]],
|
||||||
|
[[ Change Directory ;cd ]],
|
||||||
|
[[ Files F5 ]],
|
||||||
|
[[ Terminal F12 ]],
|
||||||
|
},
|
||||||
|
|
||||||
-- Gets called after directory is changed and is provided with the
|
-- Gets called after directory is changed and is provided with the
|
||||||
-- directory path as an argument
|
-- directory path as an argument
|
||||||
on_load = function(path)
|
on_load = function(path)
|
||||||
|
|
Loading…
Reference in New Issue