Compare commits
4 Commits
d46929c1f3
...
e86fa41784
Author | SHA1 | Date | |
---|---|---|---|
e86fa41784 | |||
c9feefd91f | |||
3070322f7d | |||
fee1f12743 |
14
nvim/.config/nvim/after/plugin/telescope.lua
Normal file
14
nvim/.config/nvim/after/plugin/telescope.lua
Normal 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")
|
@ -42,3 +42,5 @@ vim.o.expandtab = true
|
||||
vim.o.expandtab = true
|
||||
|
||||
vim.g.lightspeed_no_default_keymaps = true
|
||||
|
||||
vim.o.cursorline = true
|
||||
|
@ -1 +0,0 @@
|
||||
-- require('lazy').setup('plugins')
|
@ -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' })
|
||||
|
@ -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 = {},
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -22,4 +22,7 @@ return {
|
||||
},
|
||||
|
||||
'ggandor/lightspeed.nvim',
|
||||
|
||||
-- change directory with telescope from a list of dierectories
|
||||
"SalOrak/whaler",
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user