|
|
@ -25,13 +25,21 @@ lvim.keys.normal_mode['<C-p>'] = ":Telescope find_files<CR>" |
|
|
|
|
|
|
|
-- lvim.keys.normal_mode["<S-l>"] = ":BufferLineCycleNext<CR>" |
|
|
|
-- lvim.keys.normal_mode["<S-h>"] = ":BufferLineCyclePrev<CR>" |
|
|
|
for i = 1, 9, 1 do |
|
|
|
lvim.keys.normal_mode["<M-" .. i .. ">"] = ":BufferLineGoToBuffer " .. i .. "<CR>" |
|
|
|
end |
|
|
|
|
|
|
|
-- -- Use which-key to add extra bindings with the leader-key prefix |
|
|
|
-- lvim.builtin.which_key.mappings["W"] = { "<cmd>noautocmd w<cr>", "Save without formatting" } |
|
|
|
-- lvim.builtin.which_key.mappings["P"] = { "<cmd>Telescope projects<CR>", "Projects" } |
|
|
|
|
|
|
|
-- Disable automatic changing of directory in lunarvim |
|
|
|
lvim.builtin.project.manual_mode = true |
|
|
|
lvim.builtin.project.silent_chdir = false |
|
|
|
|
|
|
|
-- -- Change theme settings |
|
|
|
-- lvim.colorscheme = "lunar" |
|
|
|
-- |
|
|
|
|
|
|
|
lvim.builtin.alpha.active = true |
|
|
|
lvim.builtin.alpha.mode = "dashboard" |
|
|
@ -40,6 +48,13 @@ lvim.builtin.nvimtree.setup.view.side = "left" |
|
|
|
lvim.builtin.nvimtree.setup.renderer.icons.show.git = false |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lvim.builtin.terminal.execs = { |
|
|
|
{ nil, "<Leader>ts", "Horizontal Terminal", "horizontal", 0.3 }, |
|
|
|
{ nil, "<Leader>tv", "Vertical Terminal", "vertical", 0.4 }, |
|
|
|
{ nil, "<Leader>tf", "Float Terminal", "float", nil }, |
|
|
|
} |
|
|
|
|
|
|
|
lvim.builtin.lualine.sections.lualine_b = { 'branch', '%f' } |
|
|
|
|
|
|
|
|
|
|
@ -133,6 +148,9 @@ lvim.builtin.telescope.pickers.find_files.mappings = { |
|
|
|
['<C-t>'] = actions.smart_send_to_qflist + actions.open_qflist, |
|
|
|
} |
|
|
|
} |
|
|
|
lvim.builtin.telescope.defaults.path_display = { "shorten" }; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vim.cmd([[ |
|
|
|
command! -nargs=+ Gr :silent execute 'grep! -nr "<args>" | copen' |
|
|
@ -219,6 +237,10 @@ nmap <C-PageUp> :BufferLineCyclePrev<CR> |
|
|
|
nmap <C-PageDown> :BufferLineCycleNext<CR> |
|
|
|
nmap <C-S-PageUp> :BufferLineMovePrev<CR> |
|
|
|
nmap <C-S-PageDown> :BufferLineMoveNext<CR> |
|
|
|
nmap <C-j> :BufferLineCyclePrev<CR> |
|
|
|
nmap <C-k> :BufferLineCycleNext<CR> |
|
|
|
nmap <C-S-j> :BufferLineMovePrev<CR> |
|
|
|
nmap <C-S-k> :BufferLineMoveNext<CR> |
|
|
|
|
|
|
|
let g:user_emmet_mode='inv' |
|
|
|
let g:user_emmet_install_global = 0 |
|
|
|