Latest config changes

This commit is contained in:
Alex Selimov 2026-07-17 10:54:11 -04:00
parent 846e47b931
commit a3c3abdf89
12 changed files with 110 additions and 10 deletions

2
ftplugin/cpp.lua Normal file
View file

@ -0,0 +1,2 @@
vim.keymap.set({ "v", "n", "i" }, "<C-b>", ": CMakeBuild<CR>")
vim.keymap.set({ "v", "n", "i" }, "<C-t>", ": CMakeTest<CR>")

2
ftplugin/cuda.lua Normal file
View file

@ -0,0 +1,2 @@
vim.keymap.set({ "v", "n", "i" }, "<C-b>", ": CMakeBuild<CR>")
vim.keymap.set({ "v", "n", "i" }, "<C-t>", ": CMakeTest<CR>")

2
ftplugin/haskell.lua Normal file
View file

@ -0,0 +1,2 @@
vim.opt.sw = 2
vim.opt.ts = 2

2
ftplugin/javascript.lua Normal file
View file

@ -0,0 +1,2 @@
vim.opt_local.shiftwidth = 2
vim.opt_local.tabstop = 2

View file

@ -1,6 +1,7 @@
set spell spellfile="~/.config/nvim/spell/wordlist"
setlocal conceallevel=0
setlocal concealcursor=
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'fortran']
set conceallevel=2
let g:vim_markdown_math = 1
let g:tex_conceal = "abdmg"
let g:tex_superscripts= "[]"
@ -17,4 +18,3 @@ command Stab Tabularize /\s\+\zs\s/l1c0
nnoremap ;t :Tabularize /\s\+\zs\s/l1c0<CR>
set tw=1000
set colorcolumn=

4
ftplugin/python.lua Normal file
View file

@ -0,0 +1,4 @@
vim.opt_local.colorcolumn = "88"
vim.opt_local.textwidth = 1000
vim.keymap.set("n", "<leader>x", "[hv]h]hk$;sc", { buffer = true })
vim.keymap.set("n", "<leader>r", ":!python3 %<CR>", { buffer = true })

2
ftplugin/typescript.lua Normal file
View file

@ -0,0 +1,2 @@
vim.opt_local.shiftwidth = 2
vim.opt_local.tabstop = 2