Odin

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2026-05-22 11:40:07 +0200
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2026-05-22 11:40:07 +0200
Commit 0d368a9553a4dc074e290174d033cee5f0e5a675 (patch)
-rw-r--r-- .config/nvim/init.lua 16
-rw-r--r-- .feeds.txt 1
-rwxr-xr-x .shenanigans.sh 6
3 files changed, 19 insertions, 4 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
...
9
vim.opt.undofile = true
9
vim.opt.undofile = true
10
vim.opt.number = true
10
vim.opt.number = true
11
vim.opt.cursorline = true
11
vim.opt.cursorline = true
  
12
vim.opt.foldmethod = "syntax"
  
13
vim.opt.foldlevel = 99
  
14
vim.opt.scrolloff = 10
12
vim.opt.mouse = ""
15
vim.opt.mouse = ""
13
vim.opt.guicursor = ""
16
vim.opt.guicursor = ""
14
vim.opt.clipboard = "unnamedplus"
17
vim.opt.clipboard = "unnamedplus"
  
18
vim.opt.wildmode = { "longest:full", "full" }
  
19
vim.opt.wildignore:append({ "node_modules", ".git" })
15
vim.opt.completeopt = { "menu", "menuone", "popup", "noselect", "noinsert" }
20
vim.opt.completeopt = { "menu", "menuone", "popup", "noselect", "noinsert" }
16
  
21
  
17
vim.keymap.set("n", "<C-Left>",  ":bprevious<CR>")
22
vim.keymap.set("n", "<C-Left>",  ":bprevious<CR>")
...
46
  
51
  
47
vim.lsp.config("gopls", {
52
vim.lsp.config("gopls", {
48
	cmd = { "gopls" },
53
	cmd = { "gopls" },
49
	filetypes = { "go", "gomod", "gowork", "gotmpl" },
54
	filetypes = { "go", "gomod", "gowork" },
  
55
	root_markers = { "go.mod", ".git", },
  
56
})
  
57
  
  
58
vim.lsp.config("c3lsp", {
  
59
	cmd = { "c3lsp" },
  
60
	filetypes = { "c3", "c3i" },
  
61
	root_markers = { ".git", },
50
})
62
})
51
  
63
  
52
vim.lsp.enable({ "clangd", "gopls" })
64
vim.lsp.enable({ "clangd", "gopls", "c3lsp" })
53
  
65
  
54
vim.api.nvim_create_autocmd("LspAttach", {
66
vim.api.nvim_create_autocmd("LspAttach", {
55
	callback = function(event)
67
	callback = function(event)
...
diff --git a/.feeds.txt b/.feeds.txt
...
11
https://susam.net/feed.xml
11
https://susam.net/feed.xml
12
https://www.gingerbill.org/article/index.xml
12
https://www.gingerbill.org/article/index.xml
13
https://mmk2410.org/blog.rss
13
https://mmk2410.org/blog.rss
  
14
https://tonsky.me/atom.xml
14
  
15
  
15
https://github.com/srevinsaju/Brave-AppImage/releases.atom
16
https://github.com/srevinsaju/Brave-AppImage/releases.atom
16
  
17
  
...
diff --git a/.shenanigans.sh b/.shenanigans.sh
...
10
	export LC_ALL=en_US.UTF-8
10
	export LC_ALL=en_US.UTF-8
11
	export COLORTERM=truecolor
11
	export COLORTERM=truecolor
12
	export TERM=xterm-256color
12
	export TERM=xterm-256color
13
	export VISUAL=vim
13
	export VISUAL=nvim
14
	export EDITOR=vim
14
	export EDITOR=nvim
15
  
15
  
16
	# Customized Bash prompt.
16
	# Customized Bash prompt.
17
	SYMBOL='\[\e[38;5;214m\]\$\[\e[0m\]'
17
	SYMBOL='\[\e[38;5;214m\]\$\[\e[0m\]'
...
26
	alias gg='lazygit'
26
	alias gg='lazygit'
27
	alias less='less -R'
27
	alias less='less -R'
28
	alias tmux='tmux -T 256 -u'
28
	alias tmux='tmux -T 256 -u'
  
29
	alias vim='nvim'
29
	alias server='python3 -m http.server 6969'
30
	alias server='python3 -m http.server 6969'
30
	alias newsboat='newsboat -r -u ~/.feeds.txt'
31
	alias newsboat='newsboat -r -u ~/.feeds.txt'
31
	alias emptytrash='gio trash --empty'
32
	alias emptytrash='gio trash --empty'
...
54
	export PATH="$PATH:$HOME/Applications"
55
	export PATH="$PATH:$HOME/Applications"
55
	export PATH="$PATH:$HOME/.local/bin/zig"
56
	export PATH="$PATH:$HOME/.local/bin/zig"
56
	export PATH="$PATH:$HOME/.local/bin/c3"
57
	export PATH="$PATH:$HOME/.local/bin/c3"
  
58
	export PATH="$PATH:$HOME/.local/bin/odin"
57
fi
59
fi
58
  
60
  
59
backup() {
61
backup() {
...