Compare commits

..

No commits in common. "6cbdc19a1b7646b94e493a2d67bf994d96e1a18e" and "8f6f3aa6a6e53170dfd1550de6ef01a9b77ce1d7" have entirely different histories.

6 changed files with 25 additions and 10 deletions

View File

@ -7,11 +7,11 @@
#: characters. #: characters.
# font_family Source Code Pro # font_family Source Code Pro
font_family BrutalistMono Nerd Font Regular font_family BrutalistMono Nerd Font
# font_family Fira Code Medium # font_family Fira Code Medium
# font_family Fira Code # font_family Fira Code
# font_family Hack Regular # font_family Hack Regular
bold_font BrutalistMono Nerd Font Regular # bold_font auto
# italic_font auto # italic_font auto
# bold_italic_font auto # bold_italic_font auto
@ -26,7 +26,7 @@ bold_font BrutalistMono Nerd Font Regular
#: italic_font Operator Mono Book Italic #: italic_font Operator Mono Book Italic
#: bold_italic_font Operator Mono Medium Italic #: bold_italic_font Operator Mono Medium Italic
font_size 16.0 font_size 18.0
#: Font size (in pts) #: Font size (in pts)

View File

@ -15,7 +15,6 @@ require('mason-lspconfig').setup({
'clangd', 'clangd',
'gopls', 'gopls',
'ltex', 'ltex',
'marksman',
'svelte', 'svelte',
'tsserver', 'tsserver',
'eslint', 'eslint',
@ -194,10 +193,7 @@ lsp.gopls.setup {
on_attach = on_attach on_attach = on_attach
} }
lsp.clangd.setup { on_attach = on_attach } lsp.clangd.setup { on_attach = on_attach }
lsp.ltex.setup { lsp.ltex.setup { on_attach = on_attach }
on_attach = on_attach,
filetypes = { "latex", "tex", "bib", "mkd", "gitcommit", "text" },
}
lsp.svelte.setup { on_attach = on_attach } lsp.svelte.setup { on_attach = on_attach }
lsp.tsserver.setup { on_attach = on_attach } lsp.tsserver.setup { on_attach = on_attach }
lsp.lua_ls.setup { lsp.lua_ls.setup {

View File

@ -73,6 +73,24 @@ treesitter.setup {
goto_previous_end = { goto_previous_end = {
["[]"] = "@function.outer", ["[]"] = "@function.outer",
["[C"] = "@class.outer", ["[C"] = "@class.outer",
},
-- Below will go to either the start or the end, whichever is closer.
-- Use if you want more granular movements
-- Make it even more gradual by adding multiple queries and regex.
goto_next = {
["]d"] = "@conditional.outer",
},
goto_previous = {
["[d"] = "@conditional.outer",
}
},
swap = {
enable = true,
swap_next = {
["<leader>a"] = "@parameter.inner"
},
swap_previous = {
["<leader>A"] = "@parameter.inner"
} }
} }
}, },

View File

@ -234,7 +234,7 @@ o.wildignore =
'deps,.svn,CVS,.git,.hg,*.o,*.a,*.class,*.mo,*.la,*.so,*.obj,*.swp,*.jpg,*.png,*.xpm,*.gif,.DS_Store,*.aux,*.out,*.toc' 'deps,.svn,CVS,.git,.hg,*.o,*.a,*.class,*.mo,*.la,*.so,*.obj,*.swp,*.jpg,*.png,*.xpm,*.gif,.DS_Store,*.aux,*.out,*.toc'
vim.cmd([[ vim.cmd([[
au BufRead,BufNewFile *.md set tw=80 syntax=markdown au BufRead,BufNewFile *.md set ft=mkd tw=80 syntax=markdown
]]) ]])
vim.api.nvim_create_user_command('ReloadConfig', 'source $MYVIMRC', {}) vim.api.nvim_create_user_command('ReloadConfig', 'source $MYVIMRC', {})

View File

@ -39,7 +39,7 @@ ProxyJump cshpc
Host monitoring Host monitoring
Hostname monitoring.nhr.fau.de Hostname monitoring.nhr.fau.de
ForwardAgent no ForwardAgent no
User jan User unrz254
ProxyJump cshpc ProxyJump cshpc
Host gondor Host gondor

View File

@ -80,6 +80,7 @@ export PATH=/opt/homebrew/bin:$PATH
export PATH=/usr/local/opt/sqlite/bin:/usr/local/opt/ruby/bin:/usr/local/opt/mariadb@10.4/bin:$PATH export PATH=/usr/local/opt/sqlite/bin:/usr/local/opt/ruby/bin:/usr/local/opt/mariadb@10.4/bin:$PATH
{{- end }} {{- end }}
{{- end }} {{- end }}
alias vim=nvim
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh