Compare commits

...

4 Commits

6 changed files with 38 additions and 13 deletions

View File

@ -0,0 +1,14 @@
local telescope = require 'telescope'
telescope.setup({
extensions = {
whaler = {
directories = { "/home/lupan/src" },
oneoff_directories = { "/home/lupan/dotfiles" },
auto_file_explorer = false,
auto_cwd = true,
}
}
})
telescope.load_extension("whaler")

View File

@ -42,3 +42,5 @@ vim.o.expandtab = true
vim.o.expandtab = true
vim.g.lightspeed_no_default_keymaps = true
vim.o.cursorline = true

View File

@ -1 +0,0 @@
-- require('lazy').setup('plugins')

View File

@ -58,6 +58,8 @@ for i = 1, 9, 1 do
key('n', '<leader>t' .. i, '<cmd>' .. i .. 'tabnext<cr>', { desc = '[T]ab nr [' .. i .. ']' })
end
key("n", "<leader>fl", '<cmd>Telescope whaler<cr>', { desc = '[F]ind with wha[l]er' })
-- Diagnostic keymaps
key('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous diagnostic message' })
key('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next diagnostic message' })

View File

@ -1,16 +1,21 @@
local function cwd()
return vim.fn.getcwd()
end
return {
-- Colorscheme
{
'neanias/everforest-nvim',
priority = 1000,
'rmehri01/onenord.nvim',
lazy = false,
priority = 1000,
config = function()
require("everforest").setup({
background = 'hard',
})
vim.cmd.colorscheme 'everforest'
end
vim.cmd [[colorscheme onenord]]
end,
},
'neanias/everforest-nvim',
'bluz71/vim-nightfly-colors',
'bluz71/vim-moonfly-colors',
'Verf/deepwhite.nvim',
{
-- Statusline (see `:help lualine.txt`)
@ -18,10 +23,13 @@ return {
opts = {
options = {
icons_enabled = false,
theme = 'everforest',
theme = 'auto',
component_separators = '|',
section_separators = '',
},
sections = {
lualine_x = { cwd, 'encoding', 'fileformat', 'filetype' }
}
},
},
@ -29,10 +37,7 @@ return {
-- Indentation guides (see `:help indent_blankline.txt`)
'lukas-reineke/indent-blankline.nvim',
main = "ibl",
opts = {
-- char = '┊',
-- show_trailing_blankline_indent = false,
},
opts = {},
},
{

View File

@ -22,4 +22,7 @@ return {
},
'ggandor/lightspeed.nvim',
-- change directory with telescope from a list of dierectories
"SalOrak/whaler",
}