mirror of
https://github.com/don-philipe/dotfiles.git
synced 2026-03-31 02:33:11 +02:00
Compare commits
7 Commits
434df00be3
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97e16f6273 | ||
|
|
16d1175f21 | ||
|
|
5ede1b3b47 | ||
|
|
6033bd016e | ||
|
|
4f6b390ba6 | ||
|
|
1b6cad45f5 | ||
|
|
b648f0a936 |
@@ -4,7 +4,7 @@ URxvt.foreground: white
|
||||
!URxvt.borderColor: dark grey
|
||||
URxvt.scrollBar: false
|
||||
URxvt.cursorColor: green
|
||||
URxvt.font: xft:monospace:size=9,xft:Noto Color Emoji
|
||||
URxvt.font: xft:Jet Brains Mono Nerd Font:size=9,xft:monospace:size=9,xft:Noto Color Emoji
|
||||
URxvt.perl-ext-common: default,matcher
|
||||
URxvt.url-launcher: /usr/bin/xdg-open
|
||||
URxvt.matcher.button: 1
|
||||
|
||||
@@ -5,6 +5,7 @@ text = "#000000"
|
||||
[env]
|
||||
# set this to have true color when using nvim etc. in remote tmux session
|
||||
TERM = "xterm-256color"
|
||||
WINIT_X11_SCALE_FACTOR = "1.0"
|
||||
|
||||
[font]
|
||||
size = 9
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- utilities functions
|
||||
require("utils")
|
||||
--require("utils")
|
||||
|
||||
require("config.remap")
|
||||
require("config.set")
|
||||
@@ -22,10 +22,11 @@ require("config.gitsigns")
|
||||
require("config.lualine")
|
||||
require("config.telescope")
|
||||
require("config.indentline")
|
||||
require("config.redmine")
|
||||
--require("config.redmine")
|
||||
require("config.diffview")
|
||||
require("config.dap")
|
||||
require("config.parrot")
|
||||
--require("config.gitea")
|
||||
|
||||
-- for some reason this must be placed in init.lua file
|
||||
-- it doesn't work in any lua/config/*.lua files
|
||||
|
||||
@@ -25,6 +25,7 @@ cmp.setup({
|
||||
end,
|
||||
},
|
||||
-- switch on rounded borders in floating completion windows
|
||||
-- additionally vim.o.winborder = 'rounded' must be set (set.lua)
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
-- return {
|
||||
-- model = "llama3.2",
|
||||
-- host = "jupiter",
|
||||
-- port = "11434",
|
||||
-- }
|
||||
return {
|
||||
model = "llama3.2",
|
||||
host = "foo",
|
||||
port = "11343",
|
||||
model = "llama3.3",
|
||||
host = "owu-zegv-api.med.tu-dresden.de",
|
||||
port = "443",
|
||||
https = true,
|
||||
}
|
||||
|
||||
@@ -2,7 +2,10 @@ require('gitsigns').setup()
|
||||
local gitsigns = require('gitsigns')
|
||||
vim.keymap.set('n', '<leader>gm', gitsigns.blame_line, { desc = 'Show git message for current line' })
|
||||
vim.keymap.set('n', '<leader>gd', ':Gitsigns diffthis ~ vertical=true<CR>:wincmd w<CR>', { desc = 'Show diff for current line' })
|
||||
vim.keymap.set('n', '<leader>gs', gitsigns.stage_hunk, { desc = 'Stage current hunk' })
|
||||
vim.keymap.set('n', '<leader>gS', gitsigns.stage_buffer, { desc = 'Stage current buffer' })
|
||||
vim.keymap.set('n', '<leader>gr', gitsigns.reset_hunk, { desc = 'Reset current hunk' })
|
||||
vim.keymap.set('n', '<leader>gR', gitsigns.reset_buffer, { desc = 'Reset current buffer' })
|
||||
vim.keymap.set('n', '<leader>h', gitsigns.next_hunk, { desc = 'Move to next hunk' })
|
||||
vim.keymap.set('n', '<leader>H', gitsigns.prev_hunk, { desc = 'Move to previous hunk' })
|
||||
vim.keymap.set('n', '<leader>ph', gitsigns.preview_hunk, { desc = 'Preview hunk in popup' })
|
||||
|
||||
@@ -33,6 +33,7 @@ require("lazy").setup({
|
||||
install = { colorscheme = { "habamax" } },
|
||||
-- automatically check for plugin updates
|
||||
checker = { enabled = true },
|
||||
change_detection = { enabled = false }, -- active change detection seems to eat up memory over time https://github.com/folke/lazy.nvim/issues/1008
|
||||
ui = {
|
||||
border = "rounded",
|
||||
},
|
||||
|
||||
@@ -18,3 +18,5 @@ vim.diagnostic.config({
|
||||
})
|
||||
|
||||
vim.opt.undofile = true
|
||||
|
||||
vim.o.winborder = 'rounded'
|
||||
|
||||
@@ -21,6 +21,10 @@ checkcert()
|
||||
{
|
||||
openssl s_client -connect "$1":443 2>/dev/null
|
||||
}
|
||||
pem2crt()
|
||||
{
|
||||
openssl x509 -inform PEM -in "$1" -out "${1%.*}.crt"
|
||||
}
|
||||
|
||||
# works only without tex-ending
|
||||
tex2pdf()
|
||||
|
||||
5
.zshrc
5
.zshrc
@@ -106,7 +106,7 @@ autoload -U promptinit
|
||||
promptinit
|
||||
|
||||
export XDG_CONFIG_HOME=$HOME/.config/
|
||||
export EDITOR=vim
|
||||
export EDITOR=nvim
|
||||
|
||||
alias ls='ls --color=always'
|
||||
alias grep='grep --color=always'
|
||||
@@ -114,6 +114,7 @@ alias less='less -R'
|
||||
alias dd='dd status=progress oflag=direct'
|
||||
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
||||
alias hibernate='sudo systemctl hibernate'
|
||||
alias ssh="TERM=linux ssh" # for not complaining urxvt about terminals without TERM set
|
||||
#alias ssh="TERM=linux ssh" # for not complaining urxvt about terminals without TERM set
|
||||
alias cpup="cp -T $0 ../$0"
|
||||
alias pythonweb="python -m SimpleHTTPServer 8090"
|
||||
alias sayhi="echo hi"
|
||||
|
||||
Reference in New Issue
Block a user