Compare commits

...
4 Commits
Author SHA1 Message Date
lupan e86fa41784 nvim: use cursorline 2023-11-25 14:44:01 +01:00
lupan c9feefd91f nvim: colorscheme onenord, load also other colorschemes 2023-11-25 14:32:15 +01:00
lupan 3070322f7d nvim: display current directory on the right of lualine 2023-11-25 14:32:02 +01:00
lupan fee1f12743 nvim: use whaler 2023-11-25 14:31:50 +01:00
6 changed files with 38 additions and 13 deletions
@@ -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")
+2
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
-1
View File
@@ -1 +0,0 @@
-- require('lazy').setup('plugins')
+2
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' })
+17 -12
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 = {},
},
{
@@ -22,4 +22,7 @@ return {
},
'ggandor/lightspeed.nvim',
-- change directory with telescope from a list of dierectories
"SalOrak/whaler",
}