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.o.expandtab = true
|
||||||
|
|
||||||
vim.g.lightspeed_no_default_keymaps = 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 .. ']' })
|
key('n', '<leader>t' .. i, '<cmd>' .. i .. 'tabnext<cr>', { desc = '[T]ab nr [' .. i .. ']' })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
key("n", "<leader>fl", '<cmd>Telescope whaler<cr>', { desc = '[F]ind with wha[l]er' })
|
||||||
|
|
||||||
-- Diagnostic keymaps
|
-- Diagnostic keymaps
|
||||||
key('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous diagnostic message' })
|
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' })
|
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 {
|
return {
|
||||||
-- Colorscheme
|
-- Colorscheme
|
||||||
{
|
{
|
||||||
'neanias/everforest-nvim',
|
'rmehri01/onenord.nvim',
|
||||||
priority = 1000,
|
|
||||||
lazy = false,
|
lazy = false,
|
||||||
|
priority = 1000,
|
||||||
config = function()
|
config = function()
|
||||||
require("everforest").setup({
|
vim.cmd [[colorscheme onenord]]
|
||||||
background = 'hard',
|
end,
|
||||||
})
|
|
||||||
vim.cmd.colorscheme 'everforest'
|
|
||||||
end
|
|
||||||
},
|
},
|
||||||
|
'neanias/everforest-nvim',
|
||||||
|
'bluz71/vim-nightfly-colors',
|
||||||
|
'bluz71/vim-moonfly-colors',
|
||||||
|
'Verf/deepwhite.nvim',
|
||||||
|
|
||||||
{
|
{
|
||||||
-- Statusline (see `:help lualine.txt`)
|
-- Statusline (see `:help lualine.txt`)
|
||||||
@ -18,10 +23,13 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = false,
|
icons_enabled = false,
|
||||||
theme = 'everforest',
|
theme = 'auto',
|
||||||
component_separators = '|',
|
component_separators = '|',
|
||||||
section_separators = '',
|
section_separators = '',
|
||||||
},
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_x = { cwd, 'encoding', 'fileformat', 'filetype' }
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -29,10 +37,7 @@ return {
|
|||||||
-- Indentation guides (see `:help indent_blankline.txt`)
|
-- Indentation guides (see `:help indent_blankline.txt`)
|
||||||
'lukas-reineke/indent-blankline.nvim',
|
'lukas-reineke/indent-blankline.nvim',
|
||||||
main = "ibl",
|
main = "ibl",
|
||||||
opts = {
|
opts = {},
|
||||||
-- char = '┊',
|
|
||||||
-- show_trailing_blankline_indent = false,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -22,4 +22,7 @@ return {
|
|||||||
},
|
},
|
||||||
|
|
||||||
'ggandor/lightspeed.nvim',
|
'ggandor/lightspeed.nvim',
|
||||||
|
|
||||||
|
-- change directory with telescope from a list of dierectories
|
||||||
|
"SalOrak/whaler",
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user