improvements and font change
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
|
- alacritty
|
||||||
- zsh
|
- zsh
|
||||||
- homebrew/linuxbrew
|
- homebrew/linuxbrew
|
||||||
- stow
|
- stow
|
||||||
|
|||||||
@@ -3,17 +3,17 @@ import = ["/home/ink/.config/alacritty/dracula.toml"]
|
|||||||
size = 12.0
|
size = 12.0
|
||||||
|
|
||||||
[font.bold]
|
[font.bold]
|
||||||
family = "PragmataPro Mono Liga"
|
family = "jetbrainsmono nerd font"
|
||||||
style = "Bold"
|
style = "Bold"
|
||||||
|
|
||||||
[font.bold_italic]
|
[font.bold_italic]
|
||||||
family = "PragmataPro Mono Liga"
|
family = "jetbrainsmono nerd font"
|
||||||
style = "Bold Italic"
|
style = "Bold Italic"
|
||||||
|
|
||||||
[font.italic]
|
[font.italic]
|
||||||
family = "PragmataPro Mono Liga"
|
family = "jetbrainsmono nerd font"
|
||||||
style = "Italic"
|
style = "Italic"
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "PragmataPro Mono Liga"
|
family = "jetbrainsmono nerd font"
|
||||||
style = "Regular"
|
style = "Regular"
|
||||||
|
|||||||
8
curl/.curl-format.txt
Normal file
8
curl/.curl-format.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
time_namelookup: %{time_namelookup}s\n
|
||||||
|
time_connect: %{time_connect}s\n
|
||||||
|
time_appconnect: %{time_appconnect}s\n
|
||||||
|
time_pretransfer: %{time_pretransfer}s\n
|
||||||
|
time_redirect: %{time_redirect}s\n
|
||||||
|
time_starttransfer: %{time_starttransfer}s\n
|
||||||
|
----------\n
|
||||||
|
time_total: %{time_total}s\n
|
||||||
21
nvim/.config/nvim/after/ftplugin/rust.lua
Normal file
21
nvim/.config/nvim/after/ftplugin/rust.lua
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
local bufnr = vim.api.nvim_get_current_buf()
|
||||||
|
vim.keymap.set("n", "<leader>a", function()
|
||||||
|
vim.cmd.RustLsp("codeAction") -- supports rust-analyzer's grouping
|
||||||
|
-- or vim.lsp.buf.codeAction() if you don't want grouping.
|
||||||
|
end, { silent = true, buffer = bufnr })
|
||||||
|
vim.keymap.set(
|
||||||
|
"n",
|
||||||
|
"K", -- Override Neovim's built-in hover keymap with rustaceanvim's hover actions
|
||||||
|
function()
|
||||||
|
vim.cmd.RustLsp({ "hover", "actions" })
|
||||||
|
end,
|
||||||
|
{ silent = true, buffer = bufnr }
|
||||||
|
)
|
||||||
|
vim.keymap.set(
|
||||||
|
"n",
|
||||||
|
"<leader>?", -- Override Neovim's built-in hover keymap with rustaceanvim's hover actions
|
||||||
|
function()
|
||||||
|
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
|
||||||
|
end,
|
||||||
|
{ buffer = bufnr }
|
||||||
|
)
|
||||||
@@ -37,7 +37,7 @@ return {
|
|||||||
-- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept
|
-- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept
|
||||||
-- See the full "keymap" documentation for information on defining your own keymap.
|
-- See the full "keymap" documentation for information on defining your own keymap.
|
||||||
keymap = {
|
keymap = {
|
||||||
preset = "enter",
|
preset = "super-tab",
|
||||||
},
|
},
|
||||||
|
|
||||||
completion = {
|
completion = {
|
||||||
@@ -223,11 +223,11 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
servers = {
|
servers = {
|
||||||
-- brew install rust-analyzer
|
-- brew install rust-analyzer
|
||||||
rust_analyzer = {
|
-- rust_analyzer = {
|
||||||
settings = {
|
-- settings = {
|
||||||
["rust-analyzer"] = {},
|
-- ["rust-analyzer"] = {},
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
-- brew install bash-language-server
|
-- brew install bash-language-server
|
||||||
bashls = {},
|
bashls = {},
|
||||||
-- lua_ls = {
|
-- lua_ls = {
|
||||||
@@ -257,4 +257,30 @@ return {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mrcjkb/rustaceanvim",
|
||||||
|
version = "^5", -- Recommended
|
||||||
|
lazy = false, -- This plugin is already lazy
|
||||||
|
config = function()
|
||||||
|
vim.g.rustaceanvim = {
|
||||||
|
tools = {
|
||||||
|
float_win_config = {
|
||||||
|
border = {
|
||||||
|
{ "╭", "FloatBorder" },
|
||||||
|
{ "─", "FloatBorder" },
|
||||||
|
{ "╮", "FloatBorder" },
|
||||||
|
{ "│", "FloatBorder" },
|
||||||
|
{ "╯", "FloatBorder" },
|
||||||
|
{ "─", "FloatBorder" },
|
||||||
|
{ "╰", "FloatBorder" },
|
||||||
|
{ "│", "FloatBorder" },
|
||||||
|
},
|
||||||
|
max_width = nil,
|
||||||
|
max_height = nil,
|
||||||
|
auto_focus = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ for index ({1..9}) alias "c$index"="cd +${index}"; unset index
|
|||||||
# alias tgg="aws-vault exec feedzai-main -d 8h -- terragrunt graph-dependencies"
|
# alias tgg="aws-vault exec feedzai-main -d 8h -- terragrunt graph-dependencies"
|
||||||
|
|
||||||
alias idot='dot -Tsvg -Goverlap=scale -Grankdir=RL -Gbgcolor="#282a36" -Ncolor="#f8f8f2" -Ecolor="#f8f8f2" -Nfontcolor="#f8f8f2" -Gfontname="PragmataPro Mono Liga Regular" -Gfontsize=13 -Nfontname="PragmataPro" -Nfontsize=13 -Nshape=box -Earrowhead=normal'
|
alias idot='dot -Tsvg -Goverlap=scale -Grankdir=RL -Gbgcolor="#282a36" -Ncolor="#f8f8f2" -Ecolor="#f8f8f2" -Nfontcolor="#f8f8f2" -Gfontname="PragmataPro Mono Liga Regular" -Gfontsize=13 -Nfontname="PragmataPro" -Nfontsize=13 -Nshape=box -Earrowhead=normal'
|
||||||
alias icat="kitty +kitten icat"
|
|
||||||
|
|
||||||
alias curltime="curl -w \"@$HOME/.curl-format.txt\" -o /dev/null -s "
|
alias curltime="curl -w \"@$HOME/.curl-format.txt\" -o /dev/null -s "
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user