Compare commits
No commits in common. "992788786d805db0b7fa870b5e45e479cab36406" and "c42b27a81a10b843da8d45803560239cb92524b6" have entirely different histories.
992788786d
...
c42b27a81a
@ -5,8 +5,7 @@ Xft.dpi: 192
|
|||||||
! .alpha: 0.2
|
! .alpha: 0.2
|
||||||
|
|
||||||
font: monospace:12
|
font: monospace:12
|
||||||
Sxiv.font: "Cascadia Code"
|
//*font: "Cascadia Code"
|
||||||
! Sxiv.font: "Olympe Mono Hacked"
|
|
||||||
!! Dracula Xresources palette
|
!! Dracula Xresources palette
|
||||||
!/* *.foreground: #F8F8F2 */
|
!/* *.foreground: #F8F8F2 */
|
||||||
!/* *.background: #282A36 */
|
!/* *.background: #282A36 */
|
||||||
|
@ -1,2 +1 @@
|
|||||||
St
|
St
|
||||||
st
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
function colors(color, theme)
|
function colors(color, theme)
|
||||||
color = os.getenv("BASE16_THEME")
|
color = os.getenv("BASE16_THEME")
|
||||||
alt_color = 'everforest' or color
|
alt_color = 'rose-pine' or color
|
||||||
-- Available values: `'hard'`, `'medium'`, `'soft'`
|
-- Available values: `'hard'`, `'medium'`, `'soft'`
|
||||||
vim.g.gruvbox_material_background = 'medium'
|
vim.g.gruvbox_material_background = 'medium'
|
||||||
-- Available values: `'material'`, `'mix'`, `'original'`
|
-- Available values: `'material'`, `'mix'`, `'original'`
|
||||||
@ -15,13 +15,10 @@ function colors(color, theme)
|
|||||||
elseif color == 'gruvbox-dark-soft' then
|
elseif color == 'gruvbox-dark-soft' then
|
||||||
color = 'gruvbox-material'
|
color = 'gruvbox-material'
|
||||||
vim.g.gruvbox_material_background = 'soft'
|
vim.g.gruvbox_material_background = 'soft'
|
||||||
elseif color == 'everforest-dark-hard' then
|
|
||||||
vim.g.everforest_background = 'hard'
|
|
||||||
color = 'everforest'
|
|
||||||
end
|
end
|
||||||
if theme then
|
if theme then
|
||||||
vim.cmd.colorscheme(alt_color)
|
vim.cmd.colorscheme(alt_color)
|
||||||
elseif not pcall(vim.cmd.colorscheme, color) or color == nil then
|
elseif not pcall(vim.cmd.colorscheme, color) then
|
||||||
vim.cmd.colorscheme(alt_color)
|
vim.cmd.colorscheme(alt_color)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -29,8 +29,6 @@ lsp_config.nim_langserver.setup{
|
|||||||
|
|
||||||
lsp_config.hls.setup{}
|
lsp_config.hls.setup{}
|
||||||
|
|
||||||
lsp_config.clojure_lsp.setup{}
|
|
||||||
|
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
local cmp_select = {behavior = cmp.SelectBehavior.Select}
|
local cmp_select = {behavior = cmp.SelectBehavior.Select}
|
||||||
local cmp_mappings = lsp.defaults.cmp_mappings({
|
local cmp_mappings = lsp.defaults.cmp_mappings({
|
||||||
@ -42,7 +40,7 @@ local cmp_mappings = lsp.defaults.cmp_mappings({
|
|||||||
|
|
||||||
cmp.setup {
|
cmp.setup {
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'conjure' },
|
-- { name = 'conjure' },
|
||||||
{ name = 'nvim_lsp_signature_help' },
|
{ name = 'nvim_lsp_signature_help' },
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
{ name = 'luasnip' },
|
{ name = 'luasnip' },
|
||||||
@ -57,12 +55,6 @@ lsp.setup_nvim_cmp({
|
|||||||
mapping = cmp_mappings
|
mapping = cmp_mappings
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('User', {
|
|
||||||
pattern = 'LspAttached',
|
|
||||||
once = true,
|
|
||||||
callback = vim.lsp.codelens.refresh,
|
|
||||||
})
|
|
||||||
|
|
||||||
lsp.on_attach(function(client, bufnr)
|
lsp.on_attach(function(client, bufnr)
|
||||||
local opts = {buffer = bufnr, remap = false}
|
local opts = {buffer = bufnr, remap = false}
|
||||||
|
|
||||||
@ -74,14 +66,6 @@ lsp.on_attach(function(client, bufnr)
|
|||||||
capabilities = capabilities
|
capabilities = capabilities
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd({ 'TextChanged', 'InsertLeave' }, {
|
|
||||||
buffer = bufnr,
|
|
||||||
callback = vim.lsp.codelens.refresh,
|
|
||||||
})
|
|
||||||
-- trigger codelens refresh
|
|
||||||
vim.api.nvim_exec_autocmds('User', { pattern = 'LspAttached' })
|
|
||||||
|
|
||||||
|
|
||||||
vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
|
vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
|
||||||
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
|
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
|
||||||
vim.keymap.set("n", "<leader>vws", vim.lsp.buf.workspace_symbol, opts)
|
vim.keymap.set("n", "<leader>vws", vim.lsp.buf.workspace_symbol, opts)
|
||||||
|
@ -1 +1 @@
|
|||||||
config = require("config")
|
require("config")
|
||||||
|
@ -33,14 +33,6 @@ return require('packer').startup(function(use)
|
|||||||
-- end
|
-- end
|
||||||
})
|
})
|
||||||
|
|
||||||
use {
|
|
||||||
"mireq/large_file",
|
|
||||||
config = function()
|
|
||||||
require("large_file").setup()
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
use 'tanvirtin/monokai.nvim'
|
use 'tanvirtin/monokai.nvim'
|
||||||
|
|
||||||
use 'arzg/vim-colors-xcode'
|
use 'arzg/vim-colors-xcode'
|
||||||
@ -85,7 +77,7 @@ return require('packer').startup(function(use)
|
|||||||
|
|
||||||
use "lewpoly/sherbet.nvim"
|
use "lewpoly/sherbet.nvim"
|
||||||
|
|
||||||
-- use 'xiyaowong/transparent.nvim'
|
use 'xiyaowong/transparent.nvim'
|
||||||
|
|
||||||
use {
|
use {
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
|
@ -40,8 +40,6 @@ vim.opt.splitbelow = true
|
|||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
vim.g.neovide_scale_factor = 1.0
|
vim.g.neovide_scale_factor = 1.0
|
||||||
vim.g.neovide_theme = 'auto'
|
|
||||||
vim.g.neovide_transparency = 1.0
|
|
||||||
function ChangeScaleFactor(delta)
|
function ChangeScaleFactor(delta)
|
||||||
vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * delta
|
vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * delta
|
||||||
end
|
end
|
||||||
@ -53,7 +51,6 @@ vim.keymap.set("n", "<C-->", function()
|
|||||||
ChangeScaleFactor(1 / 1.25)
|
ChangeScaleFactor(1 / 1.25)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
vim.opt.guifont = { "Olympe Mono Hacked", ":h12" }
|
vim.opt.guifont = { "Cascadia Code", ":h12" }
|
||||||
vim.opt.termguicolors = true
|
|
||||||
|
|
||||||
vim.g.netrw_keepdir = 0
|
vim.g.netrw_keepdir = 0
|
||||||
|
@ -162,8 +162,8 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
|||||||
|
|
||||||
|
|
||||||
# Parameters for background blurring, see the *BLUR* section for more information.
|
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||||
blur-method = "dual_kawase"
|
# blur-method = "dual_kawase"
|
||||||
# blur-method = "none"
|
blur-method = "none"
|
||||||
blur-size = 10;
|
blur-size = 10;
|
||||||
blur-strength = 12;
|
blur-strength = 12;
|
||||||
#
|
#
|
||||||
|
@ -31,7 +31,7 @@ super + p
|
|||||||
dmenu_run
|
dmenu_run
|
||||||
# Terminal
|
# Terminal
|
||||||
super + Return
|
super + Return
|
||||||
neovide +term
|
st
|
||||||
# Screenshot
|
# Screenshot
|
||||||
super + shift + s
|
super + shift + s
|
||||||
scrot -s -e 'xclip -selection clipboard -t image/png -i $f' ~/Pictures/screenshots/%Y-%m-%d-%T-screenshot.png
|
scrot -s -e 'xclip -selection clipboard -t image/png -i $f' ~/Pictures/screenshots/%Y-%m-%d-%T-screenshot.png
|
||||||
|
@ -54,4 +54,3 @@
|
|||||||
:pre-build ("make" "install")))
|
:pre-build ("make" "install")))
|
||||||
(package! dylan)
|
(package! dylan)
|
||||||
(package! dime)
|
(package! dime)
|
||||||
(package! vlf)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user