minor changes
This commit is contained in:
parent
247333d1cb
commit
4c22dc1226
24
init.lua
24
init.lua
|
@ -143,27 +143,11 @@ require('lazy').setup({
|
|||
show_trailing_blankline_indent = false,
|
||||
},
|
||||
config = function()
|
||||
-- vim.cmd [[highlight IndentBlanklineIndent1 guifg=#E06C75 gui=nocombine]]
|
||||
-- vim.cmd [[highlight IndentBlanklineIndent2 guifg=#E5C07B gui=nocombine]]
|
||||
-- vim.cmd [[highlight IndentBlanklineIndent3 guifg=#98C379 gui=nocombine]]
|
||||
-- vim.cmd [[highlight IndentBlanklineIndent4 guifg=#56B6C2 gui=nocombine]]
|
||||
-- vim.cmd [[highlight IndentBlanklineIndent5 guifg=#61AFEF gui=nocombine]]
|
||||
-- vim.cmd [[highlight IndentBlanklineIndent6 guifg=#C678DD gui=nocombine]]
|
||||
vim.opt.list = true
|
||||
vim.opt.listchars:append "eol:↴"
|
||||
vim.opt.listchars:append "space: "
|
||||
vim.g.indent_blankline_filetype_exclude = { 'help', 'norg', 'markdown' }
|
||||
-- vim.g.indent_blankline_char_list = { '|', '¦', '┆', '┊' }
|
||||
require("indent_blankline").setup {
|
||||
space_char_blankline = " ",
|
||||
-- char_highlight_list = {
|
||||
-- "IndentBlanklineIndent1",
|
||||
-- "IndentBlanklineIndent2",
|
||||
-- "IndentBlanklineIndent3",
|
||||
-- "IndentBlanklineIndent4",
|
||||
-- "IndentBlanklineIndent5",
|
||||
-- "IndentBlanklineIndent6",
|
||||
-- },
|
||||
}
|
||||
end
|
||||
},
|
||||
|
@ -177,7 +161,11 @@ require('lazy').setup({
|
|||
branch = '0.1.x',
|
||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||
config = function()
|
||||
require 'telescope'.setup {}
|
||||
require 'telescope'.setup {
|
||||
config = {
|
||||
prompt = "",
|
||||
}
|
||||
}
|
||||
end
|
||||
},
|
||||
|
||||
|
@ -307,7 +295,7 @@ pcall(require('telescope').load_extension, 'fzf')
|
|||
|
||||
-- See `:help telescope.builtin`
|
||||
vim.keymap.set('n', '<leader>?', require('telescope.builtin').oldfiles, { desc = '[?] Find recently opened files' })
|
||||
vim.keymap.set('n', '<leader><space>', require('telescope.builtin').buffers, { desc = '[ ] Find existing buffers' })
|
||||
vim.keymap.set('n', '<leader>sb', require('telescope.builtin').buffers, { desc = '[ ] Find existing buffers' })
|
||||
vim.keymap.set('n', '<leader>/', function()
|
||||
-- You can pass additional configuration to telescope to change theme, layout, etc.
|
||||
require('telescope.builtin').current_buffer_fuzzy_find(require('telescope.themes').get_dropdown {
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
-- Set highlight on search
|
||||
vim.o.hlsearch = false
|
||||
vim.o.cmdheight = 1
|
||||
|
||||
-- Make line numbers default
|
||||
vim.wo.number = true
|
||||
vim.wo.relativenumber = true
|
||||
-- vim.wo.conceallevel = 2
|
||||
|
||||
-- Enable mouse mode
|
||||
vim.o.mouse = 'a'
|
||||
|
@ -35,9 +35,6 @@ vim.o.updatetime = 250
|
|||
vim.wo.signcolumn = 'yes'
|
||||
vim.opt.showmode = false
|
||||
|
||||
-- Set colorscheme
|
||||
-- vim.o.termguicolors = true
|
||||
|
||||
local map = vim.api.nvim_set_keymap
|
||||
local opts = { noremap = true, silent = true }
|
||||
local os = vim.loop.os_uname().sysname
|
||||
|
@ -45,7 +42,6 @@ local os = vim.loop.os_uname().sysname
|
|||
vim.keymap.set("n", "<bs>", ":edit #<cr>", { silent = true })
|
||||
-- Blink cursor:
|
||||
vim.cmd([[set guicursor+=a:-blinkwait175-blinkoff150-blinkon175]])
|
||||
-- vim.cmd([[let g:vim_markdown_conceal = 2]])
|
||||
vim.cmd([[hi Normal guibg=NONE ctermbg=NONE]])
|
||||
vim.opt.scrolloff = 5
|
||||
vim.opt.splitbelow = true
|
||||
|
@ -55,9 +51,6 @@ vim.opt.clipboard = "unnamedplus"
|
|||
vim.opt.autochdir = true
|
||||
vim.opt.showtabline = 1
|
||||
vim.opt.conceallevel = 2
|
||||
-- vim.opt.syntax = "on"
|
||||
-- vim.opt.concealcursor = 'nc'
|
||||
-- vim.cmd(':hi CursorLineNr gui=None ctermfg=11 guifg=foreground')
|
||||
vim.opt.cursorline = false
|
||||
-- Do not load tohtml.vim
|
||||
vim.g.loaded_2html_plugin = 1
|
||||
|
|
Loading…
Reference in New Issue